Advertisement
Guest User

Spotifi

a guest
Jun 16th, 2019
17,776
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.67 KB | None | 0 0
  1. Ghostbin is now read-only.
  2. If you'd like an archive of your pastes, go here.
  3. <?php
  4. error_reporting(0);
  5. $headers = array();
  6. $headers[] = 'User-Agent: Spotify/8.4.98 Android/25 (ASUS_X00HD)';
  7. $headers[] = 'Content-Type: application/x-www-form-urlencoded';
  8. $headers[] = 'Connection: Keep-Alive';
  9.  
  10. // CURL Register Spotify
  11. echo "===========================\n";
  12. echo "Auto Create Spotify Account\n";
  13. echo " By : Gunawanden11_";
  14. echo "===========================\n";
  15. while (1)
  16. {
  17. for ($i=0; $i <= 999 ; $i++) {
  18. $mail = "gunawan01".$i."@cools.com";
  19. $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=gunawan01&key=142b583129b2df829de3656f9eb484e6&birth_year=2000&email='.$mail.'&gender=male&app_version=849800892&birth_month=12&password_repeat=gunawan01', $headers);
  20. $data = json_decode($send[0]);
  21. if ($data->status == 1) {
  22. echo "\nSukses | Email : ".$mail;
  23. $file = "spotify.html";
  24. $handle = fopen($file, 'a');
  25. fwrite($handle, $mail."<br>");
  26. fclose($handle);
  27. } else {
  28. echo $data->errors->email."\n";
  29. }
  30. }
  31. }
  32.  
  33. function random($length,$a)
  34. {
  35. $str = "";
  36. if ($a == 0) {
  37. $characters = array_merge(range('0','9'));
  38. }elseif ($a == 1) {
  39. $characters = array_merge(range('a','z'));
  40. }elseif ($a == 2) {
  41. $characters = array_merge(range('A','Z'));
  42. }elseif ($a == 3) {
  43. $characters = array_merge(range('0','9'),range('a','z'));
  44. }elseif ($a == 4) {
  45. $characters = array_merge(range('0','9'),range('A','Z'));
  46. }elseif ($a == 5) {
  47. $characters = array_merge(range('a','z'),range('A','Z'));
  48. }elseif ($a == 6) {
  49. $characters = array_merge(range('0','9'),range('a','z'),range('A','Z'));
  50. }
  51. $max = count($characters) - 1;
  52. for ($i = 0; $i < $length; $i++) {
  53. $rand = mt_rand(0, $max);
  54. $str .= $characters[$rand];
  55. }
  56. return $str;
  57. }
  58.  
  59. function curl($url, $fields = null, $headers = null)
  60. {
  61. $ch = curl_init();
  62. curl_setopt($ch, CURLOPT_URL, $url);
  63. curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
  64. curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
  65. curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
  66. if ($fields !== null) {
  67. curl_setopt($ch, CURLOPT_POST, 1);
  68. curl_setopt($ch, CURLOPT_POSTFIELDS, $fields);
  69. }
  70. if ($headers !== null) {
  71. curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
  72. }
  73. $result = curl_exec($ch);
  74. $httpcode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
  75. curl_close($ch);
  76.  
  77. return array(
  78. $result,
  79. $httpcode
  80. );
  81. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement