EvilZone
Programming and Scripting => Scripting Languages => : kiddies May 03, 2011, 08:39:00 PM
-
#!/usr/bin/python
#This tool just for crack your md5 password
#This application not stable in regex
#
#programmer : kiddies A.k.A peneter
#email : kecoak2004@yahoo.com
#blog : http://devilz-kiddies.blogspot.com
#
#thanks : mywisdom, gunslinger, jimmyromanticdevil, 5ynl0rd(my masta) and you
#community : devilzc0de, anti-jasakom, jasakom, echo, codecall, leetcoder and all
import urllib2, urllib, re, time
import sys, os
if sys.platform == 'linux-1386' or sys.platform == 'linux2' or sys.platform == 'darwin':
SysCls = 'clear'
else:
SysCls = 'cls'
os.system(SysCls)
print '''
######################################################################
# DDDDD iii lll 00000 dd #
# DD DD eee vv vv lll zzzzz cccc 00 00 dd eee #
# DD DD ee e vv vv iii lll zz cc 00 00 dddddd ee e #
# DD DD eeeee vvv iii lll zz cc 00 00 dd dd eeeee #
# DDDDDD eeeee v iii lll zzzzz ccccc 00000 dddddd eeeee #
# #
# #
# This Tool for cracking MD5 password #
# Programmer : kiddies A.k.A peneter Devilzc0de BlackHat Edition #
######################################################################\n\n'''
hash_crack = raw_input('input your hash : ')
url = 'http://hashchecker.de/hash.cgi?action=check&wert=1&hash=' + hash_crack
params = {'hash':hash_crack}
enc = urllib.urlencode(params)
opening = urllib2.urlopen(url, enc)
page = opening.read()
result = re.search(r'', page)
print result.group()
opening.close()
there is error in regex...
-
you don't need to "compile" it, just run it with python.
Linux: ./hashchecker.py OR python hashchecker.py
Winblowz: python hashchecker.py
and it doesn't work, as you said, though I don't think it is a regex error:
kulverstukas@kulverstukas-desktop:~$ ./hashchecker.py
File "./hashchecker.py", line 17
SysCls = 'clear'
^
IndentationError: expected an indented block
-
nice info..
but i cant compile it?could you show me the step?
Python isn't compiled (usually), you save it as .py and then you do:
python ./file.py
Python is a scripting language that will use the source-code and then pass it to an interpreter that will execute the source-code, it's not like C/C++ where you can compile it, make a .exe and runs everywhere, Python, although it can be compiled, it's usually distributed the source-code and you pass it to the interpreter.
EDIT:Warning - while you were typing a new reply has been posted. You may wish to review your post.
C'mon Kulverstukas >.<
Also may I ask what's your OS? Looks like an IF problem.
-
Also may I ask what's your OS? Looks like an IF problem.
Ubuntu 10.04 :)
-
Python is a scripting language that will use the source-code and then pass it to an interpreter that will execute the source-code, it's not like C/C++ where you can compile it, make a .exe and runs everywhere, Python, although it can be compiled, it's usually distributed the source-code and you pass it to the interpreter.
Actually python modules are compiled to Python byte-code (.pyc files). The compiled files doesn't run any faster than a normal .py file, but the difference is that the compiled files are loaded much faster.
Now, the reason that the above code doesn't work is that it's missing 4-spaced indentation on lines 17 and 19. This should work fine:
#!/usr/bin/python
#This tool just for crack your md5 password
#This application not stable in regex
#
#programmer : kiddies A.k.A peneter
#email : kecoak2004@yahoo.com
#blog : http://devilz-kiddies.blogspot.com
#
#thanks : mywisdom, gunslinger, jimmyromanticdevil, 5ynl0rd(my masta) and you
#community : devilzc0de, anti-jasakom, jasakom, echo, codecall, leetcoder and all
import urllib2, urllib, re, time
import sys, os
if sys.platform == 'linux-1386' or sys.platform == 'linux2' or sys.platform == 'darwin':
SysCls = 'clear'
else:
SysCls = 'cls'
os.system(SysCls)
print '''
######################################################################
# DDDDD iii lll 00000 dd #
# DD DD eee vv vv lll zzzzz cccc 00 00 dd eee #
# DD DD ee e vv vv iii lll zz cc 00 00 dddddd ee e #
# DD DD eeeee vvv iii lll zz cc 00 00 dd dd eeeee #
# DDDDDD eeeee v iii lll zzzzz ccccc 00000 dddddd eeeee #
# #
# #
# This Tool for cracking MD5 password #
# Programmer : kiddies A.k.A peneter Devilzc0de BlackHat Edition #
######################################################################\n\n'''
hash_crack = raw_input('input your hash : ')
url = 'http://hashchecker.de/hash.cgi?action=check&wert=1&hash=' + hash_crack
params = {'hash':hash_crack}
enc = urllib.urlencode(params)
opening = urllib2.urlopen(url, enc)
page = opening.read()
result = re.search(r'', page)
print result.group()
opening.close()