forked from MHDILHAM/spotify-creator
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbot.php
More file actions
70 lines (53 loc) · 2.58 KB
/
bot.php
File metadata and controls
70 lines (53 loc) · 2.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<?php
require 'src/Class.php';
$curl = new curl;
touch("spotify.txt");
function post($curl, $init, $url, $data, $header, $ua, $email){
$curl->init_curl($init, $url);
$curl->set_header($init, $header);
$curl->curl_data($init, $data);
$curl->set_ua($init, $ua);
$start = $curl->start_curl($init);
$decStart = json_decode($start);
if(!empty($decStart->username)){
return ".[+] Generate Account Success\nEmail: ".$email."@gmail.com\nPassword: ".$email."\n\n";
}else{
return ".[-] Generate Account Failed\n";
}
}
$banner = "\e[36;1m
# ######
# #
###### # # ##########
# # # #
####### ##
########## # ##
# ##
[#] Spotify Accounts Creator [#]
Author : Revan AR
Team : IndoSec x Cilacap Security Cyber Team
Github : https//github.com/revan-ar/\n\n\e[0;1m";
sleep(3);
echo $banner;
sleep(2);
echo "Number Of Accounts : ";
$count = trim(fgets(STDIN));
$string = "AbCdEfFghHijJkklmnUtyahj0123456789";
$id = 1;
for($i=0; $i < $count; $i++){
$email = substr(str_shuffle($string), 0, 10);
$init = curl_init();
$url = "https://spclient.wg.spotify.com/signup/public/v1/account/";
$ua = "Spotify/8.5.47 Android/28 (vivo 1904)";
$header = ["spotify-app-version:8.5.47", "x-client-id:9a8d2f0ce77a4e248bb71fefcb557637", "app-platform:Android", "content-type:application/x-www-form-urlencoded"];
$data = "birth_month=3&email=".$email."@gmail.com&key=142b583129b2df829de3656f9eb484e6&name=".$email."&password=".$email."&platform=Android-ARM&iagree=true&gender=male&password_repeat=".$email."&creation_point=client_mobile&birth_year=1996&birth_day=3";
$result = $id++.post($curl, $init, $url, $data, $header, $ua, $email);
if(preg_match("|Success|", $result)){
echo $result;
$o = fopen("spotify.txt", 'a');
fwrite($o, $email."@gmail.com|".$email."\n");
fclose($o);
}else{
echo $result;
}
}