SHOW:
|
|
- or go back to the newest paste.
1 | #!/usr/bin/python | |
2 | ||
3 | # >>>>>>>>> bismallah <<<<<<<<<< | |
4 | # Coded by MatriX Coder | [email protected] | |
5 | # You are free to edit my code and to remove my rights :D | |
6 | # But it won't make you the coder | |
7 | # Greetz to fallega team | www.dev-tun.tn | |
8 | # Idea from here http://www.madleets.com/Thread-Get-The-IP-Behind-Cloudflare | |
9 | ||
10 | ''' | |
11 | this is simple script that | |
12 | 'should' bypass cloudflare | |
13 | with really simple methods | |
14 | ''' | |
15 | ||
16 | import sys , os , socket | |
17 | from platform import system | |
18 | ||
19 | if system() == 'Linux': | |
20 | os.system('clear') | |
21 | if system() == 'Windows': | |
22 | os.system('cls') | |
23 | ||
24 | logo = ''' | |
25 | ________ ________ | |
26 | / ____/ /___ __ ______/ / __/ /___ _________ | ---| Cloudflare Bypasser |--- | |
27 | / / / / __ \/ / / / __ / /_/ / __ `/ ___/ _ \ | Author : MatriX Coder | |
28 | / /___/ / /_/ / /_/ / /_/ / __/ / /_/ / / / __/ | FB : www.fb.com/matrixcoder2 | |
29 | \____/_/\____/\__,_/\__,_/_/ /_/\__,_/_/ \___/ | Blog : www.matrixcoder.co.vu | |
30 | ||
31 | ||
32 | ''' | |
33 | ||
34 | print logo | |
35 | ||
36 | try: | |
37 | subdoms = ['webmail' , 'ftp' , 'direct' , 'cpanel'] # really simple :D | |
38 | site = sys.argv[1] | |
39 | # Cleaning the sh*t | |
40 | if 'http://' in site: | |
41 | site = site.replace('http://' , '') | |
42 | if 'www' in site : | |
43 | site = site.replace('www' ,'') | |
44 | if site[-1] == '/': | |
45 | site[-1] = '' | |
46 | ||
47 | ip = socket.gethostbyname(site) | |
48 | ||
49 | for subdom in subdoms: | |
50 | doo = subdom + '.' + site | |
51 | try: | |
52 | ddd = socket.gethostbyname(doo) | |
53 | if ip != ddd: | |
54 | print '\n' + site + ' : Found ---> ' + ddd + '\n' | |
55 | else : | |
56 | print 'Not found :(' | |
57 | except: | |
58 | pass | |
59 | ||
60 | ||
61 | ||
62 | except IndexError: | |
63 | print "[*] Usage : python "+sys.argv[0]+" domain.com" |