Skip to content

Commit c1e9d9a

Browse files
committed
Release Version 3.0
add menu Create an account [mass]
1 parent f2bf2d9 commit c1e9d9a

2 files changed

Lines changed: 119 additions & 6 deletions

File tree

run.php

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
/**
77
* Author : Wahyu Arif Purnomo
8-
* Update : 3 September 2019
8+
* Update : 5 September 2019
99
* Please don't edit, respect me, if you want to be appreciated.
1010
*/
1111

@@ -21,9 +21,9 @@ function progress($progress){
2121
......00000000000...... ||
2222
....000000000000000.... ||
2323
...000........000000... || Author : Wahyu Arif Purnomo
24-
..000..000000.....000.. || Version : 2.0
24+
..000..000000.....000.. || Version : 3.0
2525
..00000......00000000.. || Create : 01 September 2019
26-
..00000000000,...0000.. || Update : 03 September 2019
26+
..00000000000,...0000.. || Update : 05 September 2019
2727
..00000.......0000000.. || Name : Spotify Toolkit
2828
...00000000000..0000... || ## Spotify - Music For Everyone
2929
....000000000000000.... ||
@@ -61,7 +61,8 @@ function progress($progress){
6161
[1] Check all accounts
6262
[2] Check account email
6363
[3] Create an account
64-
[4] Music or Playlist Downloader [Maintenance]
64+
[4] Create an account [mass]
65+
[5] Music or Playlist Downloader [Maintenance]
6566
";
6667
print $menulist;
6768
} else if ($lihatmenu == "n") {
@@ -94,8 +95,11 @@ function progress($progress){
9495
$namatools = "\e[1;32mCheck account email\e[0m";
9596
}elseif($pilih==3){
9697
$type = "tools/createaccount/createaccount";
97-
$namatools = "\e[1;32mCreate an account [US]\e[0m";
98+
$namatools = "\e[1;32mCreate an account\e[0m";
9899
}elseif($pilih==4){
100+
$type = "tools/mass-createaccount/mass-createaccount";
101+
$namatools = "\e[1;32mCreate an account [mass]\e[0m";
102+
}elseif($pilih==5){
99103
$type = "tools/maintenance/maintenance";
100104
$namatools = "\e[1;32mMusic or Playlist Downloader\e[0m";
101105
}
@@ -112,6 +116,6 @@ function progress($progress){
112116

113117
/**
114118
* Author : Wahyu Arif Purnomo
115-
* Update : 3 September 2019
119+
* Update : 5 September 2019
116120
* Please don't edit, respect me, if you want to be appreciated.
117121
*/
Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
<?php
2+
error_reporting(0);
3+
4+
/**
5+
* Author : Wahyu Arif Purnomo
6+
* Update : 5 September 2019
7+
* Please don't edit, respect me, if you want to be appreciated.
8+
*/
9+
10+
$climate->br()->shout('The spotify country will be based on your IP when running this tool.');
11+
12+
$input_list = $climate->info()->input('List?');
13+
$list = $input_list->prompt();
14+
15+
$input_pass = $climate->info()->input('Default Password?');
16+
$pass = $input_pass->prompt();
17+
18+
$input_save = $climate->info()->input('Save success results?');
19+
$save_file = $input_save->prompt();
20+
21+
$file = file_get_contents("$list") or die("" . $climate->br()->error('File not found. Check the file name and try again.') . "");
22+
$data = explode("\n", str_replace("\r", "", $file));
23+
24+
$no = 0;
25+
for ($a = 0; $a < count($data); $a++) {
26+
$email = $data[$a];
27+
$no++;
28+
29+
$version_ua_phone = array(
30+
'ASUS_T00F',
31+
'ASUS_T00J',
32+
'ASUS_T00Q',
33+
'ASUS_Z007',
34+
'ASUS_Z00AD',
35+
'ASUS_X00HD'
36+
);
37+
38+
$ua_phone = $version_ua_phone[mt_rand(0, sizeof($version_ua_phone) - 1)];
39+
40+
$headers = array();
41+
$headers[] = 'User-Agent: Spotify/8.4.98 Android/25 (' . $ua_phone . ')';
42+
$headers[] = 'Content-Type: application/x-www-form-urlencoded';
43+
$headers[] = 'Connection: Keep-Alive';
44+
45+
$send = curl('https://spclient.wg.spotify.com:443/signup/public/v1/account/', 'iagree=true&birth_day=12&platform=Android-ARM&creation_point=client_mobile&password=' . $pass . '&key=142b583129b2df829de3656f9eb484e6&birth_year=1998&email=' . $email . '&gender=male&app_version=849800892&birth_month=12&password_repeat=' . $pass, $headers);
46+
$hasil = json_decode($send[0]);
47+
48+
$array = objectToArray($hasil);
49+
#var_dump($array);
50+
$berhasil = $array['status'];
51+
$gagal = $array['errors'];
52+
53+
if ($berhasil == 1) {
54+
$climate->br()->info($no . '. Success | Email : ' . $email . ' | Username : ' . $array['username'] . ' | Password : ' . $pass);
55+
56+
$save = fopen("result/" . $save_file, 'a');
57+
fwrite($save, $email . " | " . $pass . " | " . $array['username'] . "\n");
58+
} else {
59+
$climate->br()->error($no . '. Failed | Email : ' . $email . ' | Username : ' . $pass . ' | ' . $gagal['email'] . ' ' . $gagal['password']);
60+
}
61+
}
62+
63+
function objectToArray($d)
64+
{
65+
if (is_object($d)) {
66+
// Wahyu Arif Purnomo - System Spotify - Array Object
67+
$d = get_object_vars($d);
68+
}
69+
70+
if (is_array($d)) {
71+
/*
72+
* Wahyu Arif Purnomo - System Spotify - Array Function
73+
*/
74+
return array_map(__FUNCTION__, $d);
75+
} else {
76+
// Wahyu Arif Purnomo - System Spotify - Return array
77+
return $d;
78+
}
79+
}
80+
81+
function curl($url, $fields = null, $headers = null)
82+
{
83+
$ch = curl_init();
84+
curl_setopt($ch, CURLOPT_URL, $url);
85+
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
86+
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
87+
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
88+
if ($fields !== null) {
89+
curl_setopt($ch, CURLOPT_POST, 1);
90+
curl_setopt($ch, CURLOPT_POSTFIELDS, $fields);
91+
}
92+
if ($headers !== null) {
93+
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
94+
}
95+
$result = curl_exec($ch);
96+
$httpcode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
97+
curl_close($ch);
98+
99+
return array(
100+
$result,
101+
$httpcode
102+
);
103+
}
104+
105+
/**
106+
* Author : Wahyu Arif Purnomo
107+
* Update : 5 September 2019
108+
* Please don't edit, respect me, if you want to be appreciated.
109+
*/

0 commit comments

Comments
 (0)