Horas..!!


Archive

wpacrack.py.txt

Sensitive Directory File-1 Sensitive Directory File-2 Shell Dork Advisories and Vulnerabilities-1 Advisories and Vulnerabilities-2 Vectors in C++ Visual Basic Irc Bot Make a Basic Batch Viruses How To Hack a Website (SUPER noobified) PHP Injection - Access Server Modifying Paypal Values on Lowlevel Web's Wireless Hacking Tracking Down a Botnet File of Password Page of Network Data Various Online Devices Vulnerable Servers Error Messages File of Important Information Page of Login Portals Analyzing a Trac SPAM Attempt Knock, Knock, Knockin' on EnGarde's Door (with FWKNOP) RPM and a perl.req Heredoc Bug HowTo: Secure your Ubuntu Apache Web Server :)~~~ Automatically Report all SSH Brute Force Attacks to ISPs <-- ???? :( Website Editing from the Perl Command Line <--wooowww ...... :) SSH Tunnel; HowTo <-- great job's :D Mitigating DNS Cache Poisoning Attacks with iptables Single Packet Authorization with Port Randomization How to write a port scanner in C Server Security <-- hehehehe..... :P Xss (Cross site scripting)  PuttyHijack V1.0 - Hijack SSH/PuTTY Connections on Windows  Pass-The-Hash Toolkit v1.4 Released for Download  SIPcrack - SIP Login Dumper & Hash/Password Cracker  Angry IP Scanner - Cross Platform Port Scanner Advanced SPA with fwknop Profiling psad with Devel::DProf Connecting to Mysql - PHP <-- jo2 Free Software Mapper and Cracker Tools Bot Search by Lateral Exploit from NewOrder and SecurityVulns ru

wpacrack.py.txt

--start here--

#!/usr/bin/python
#Cracks a 256-bit WPA-PSK hash (64 char) using wpa_passphrase
#and a wordlist.

#This uses the linux tool wpa_passphrase to generate a 256-bit PSK.
#Make sure you have this tool prier to using this cracker.

#d3hydr8@linuxbox:~$ man wpa_passphrase
#d3hydr8@linuxbox:~$ wpa_passphrase

#Check the /etc/network/interfaces file for this hash. It will look something like this.

#auto lo
#iface lo inet loopback

#iface eth1 inet dhcp
#wpa-psk 11f3833adac3ed17ad05031c18170597ae0f911eed618927513c5d40a800b9d8
#wpa-driver wext
#wpa-key-mgmt WPA-PSK
#wpa-proto WPA
#wpa-ssid darkc0de

#auto eth1

#Hash: 11f3833adac3ed17ad05031c18170597ae0f911eed618927513c5d40a800b9d8

#http://www.darkc0de.com
#d3hydr8[at]gmail[dot]com

import md5, sys, commands, getopt, StringIO, re

def gethash(word):
cmd = "wpa_passphrase "+sys.argv[2]+" "+word
out = StringIO.StringIO(commands.getstatusoutput(cmd)[1]).read()
hash = re.findall("[a-f0-9]"*64,out)
if len(hash) > 0:
return hash[0]

if len(sys.argv) != 4:
print "Usage: ./wpacrack.py "
sys.exit(1)

if len(sys.argv[1]) != 64:
print "
Error: Hash length incorrect (64 char)
"
sys.exit(1)

try:
words = open(sys.argv[3], "r").readlines()
except(IOError):
print "
Error: Check your wordlist path
"
sys.exit(1)

print "
",len(words),"words loaded..."
for word in words:
hash = gethash(word.replace("
",""))
if sys.argv[1] == hash:
print "Password is:",word
--end here--