Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/python
- import urllib2
- import re
- import os
- import random
- import string
- import itertools
- from urlparse import urlparse
- logo = """
- ##########################################################
- # ___ ___ _____ _____ _ _ _ #
- # / _ \ / _ \___ | /__ \___ ___ | | /\ /(_) |_ #
- # | | | | | | | / /____ / /\/ _ \ / _ \| |/ //_/ | __| #
- # | |_| | |_| |/ /_____/ / | (_) | (_) | / __ \| | |_ #
- # \___/ \___//_/ \/ \___/ \___/|_\/ \/|_|\__| #
- # #
- # [-] Developed & Coded by Bond Benz #
- # #
- ##########################################################
- """
- menu = """
- [1] - Website Server Extractor
- [2] - Simple Dorker
- [3] - Password Generator
- [4] - Wordlist Generator
- [5] - About me
- [6] - Exit
- """
- def aboutme():
- print '''
- ##########################################################
- # ____ _____ _ _ ____ ____ ____ _ _ ____ #
- # ( _ \( _ )( \( )( _ \( _ \( ___)( \( )(_ ) #
- # ) _ < )(_)( ) ( )(_) )) _ < )__) ) ( / /_ #
- # (____/(_____)(_)\_)(____/(____/(____)(_)\_)(____) #
- # #
- # E-mail : s0-z.x@hotmail.com #
- # Facebook : https://www.facebook.com/0x55547987 #
- # Team : 1337Day Algeria #
- # #
- # #
- ##########################################################
- '''
- def Dorker():
- print "[+] Rule N1 : Don't Put inurl: or intext: or something like that"
- print "[+] Rule N2 : Don't Use Space In The Dork or the script wont work"
- dork = raw_input('Dork : ')
- print "[~] Result : "
- page = 1
- sites = list()
- while page <= 150:
- url = "http://www.bing.com/search?q="+dork+"+node&go=Valider&qs=ds&form=QBRE&first=" + str(page)
- req = urllib2.Request(url)
- read = urllib2.urlopen(req).read()
- extract = re.findall('<div class="b_title"><h2><a href="(.*?)" h=', read)
- page += 1
- for url in extract:
- split = urlparse(url)
- site = split.netloc
- if site not in sites:
- print site
- sites.append(site)
Add Comment
Please, Sign In to add comment