Toggle navigation
Home
Latest pastes
FAQ
Random
BitBin is shutting down!
Register
Login
hacker's code
SUBMITTED BY:
james82
DATE:
Oct. 9, 2016, 6:48 p.m.
FORMAT:
Text only
SIZE:
696 Bytes
Raw
Download
Tweet
HITS:
1823
Go to comments
Report
#!/usr/bin/env python
import sys
import os
import httplib
if len(sys.argv) < 2:
print """
Coded by NetBoy511
[ python t4_dir.py site.com ] <<--- Only
"""
exit()
t4team = sys.argv[1]
list = open('dir.txt','r').readlines()
for num in list :
dd = num.replace('\n','')
dir1 = "/"+dd+""
site1 = t4team
web = httplib.HTTPConnection(site1)
web.request("GET", dir1)
r1 = web.getresponse()
if (r1.status == 200):
print "[+] www."+site1+dir1+" [ "+str(r1.status)+" ] Founed\n"
file = open('found.txt','a')
file.write("[+] www."+site1+dir1+" [ "+str(r1.status)+" ] -------\n")
file.close()
else :
print "[-] www."+site1+dir1+" [ "+str(r1.status)+" ]"
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus