Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/python
- ########################
- # /*
- # Dwi Siswanto (c) 2015
- # --
- # Hey skiddie's,
- # Please don't disturb this script
- # */
- #
- # NB : Jika registrasi berhasil,
- # silahkan login di sini:
- # --
- # //welcome9.wifi.id/wifi.id-apt/freewifi/
- ########################
- import urllib, urllib2, json
- ndas = """
- #####################################
- # Auto Registration Free @wifi.id #
- # -- #
- # Dwi Siswanto (c) 2015 #
- #####################################
- """
- print ndas
- imel = raw_input("Email : ")
- paswot = raw_input("Password : ")
- dataAing = {
- 'email': imel,
- 'password': paswot,
- 're_password': paswot,
- 'no_hp': '08123456789',
- 'type': '1',
- 'tanggal': '15',
- 'bulan': 'Mei',
- 'tahun': '1999',
- 'persetujuan': 'setuju'
- }
- yuerel = "http://welcome9.wifi.id/wifi.id-apt/freewifi/login/regRequest.php"
- eks = urllib.urlencode(dataAing)
- hajar = urllib2.Request(yuerel, eks)
- hasil = urllib2.urlopen(hajar)
- piye = hasil.read()
- pesen = json.loads(piye)
- print ""
- if (pesen["code"] == "200"):
- print "Registrasi berhasil, cooyy. :-P"
- elif (pesen["code"] == "201"):
- print "Email anda sudah terdaftar, silahkan login."
- else:
- print "Gagal!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement