Hash Bruter ^ ^

View previous topic View next topic Go down

Hash Bruter ^ ^

Post by r3m1ck on Mon Mar 08, 2010 6:31 am

ini tool untuk nge brute hash...menggunakan phyton,, so sebelum memakainya anda harus menginstall phyton dulu yak

http://www.python.org/ftp/python/2.6.2/python-2.6.2.msi

Code:
#!/usr/bin/python
# hash-spit.py v1.1
#                      ,              .
#                _.._ -+-*  * _. __ _.;_/ _ ._ _
#                (_][ ) | |  |(_]_) (_]| \(_)[ | )
#                          ._|
#  .      .      _,  .            .              .      _,  .
#  _| _.._.;_/ _.|.|  _| _        _| _ ._ ._. _  _| _. _.|.|  _| _
# (_](_][  | \(_.|_| (_](/,  and  (_](/,[_)[  (/,(_](_](_.|_| (_](/,
#                                      |
# hash bruteforcer (use string generator & dict list)
# (md5, sha1, sha224, sha256, sha384, sha512)
#
# [Crochemore-Perrin algorithm]
# bidirection generate string ex:
# [0,1,2,3,4,5,6,7,8,9]
# ---------> <---------
# start    end    start
#
# i use this technique to increase the probability and effectiveness
# discover string searching.
#
# Author: 5ynL0rd <http://5ynl0rd.depredac0de.net>
# thanks to community: antijasakom.org, darkc0de.com & depredac0de.net
# thanks to person: d3hydr8, gat3w4y, shamus, cyberchrome, renzo,
#                  pyfla, si_pemula, g4pt3k, acayz, tr4c3r, dbuqr,
#                  boys_rvn1609.
#                                                          03 March 2010
#------------------------------------------------------------------------
 
import string, os, time, sys, hashlib
from itertools import product
 
def banner():
   if os.name == "posix":
      os.system("clear")
   else:
      os.system("cls")
   header = '''
    ___________
  |.---------.|
  ||        ||
  ||HASH-SPIT||    hash-spit.py v1.0a
  ||        ||    ``````````````````
  |'---------'|    hash bruteforcer using string generator
    `)__ ____('      (md5,sha1,sha224,sha256,sha384,sha512)
    [=== -- o ]--.
  __'---------'__ \      http://5ynl0rd.depredac0de.net
 [::::::::::: :::] )
 `""'"""""'""""`/T\\
                \\_/                          Author: 5ynL0rd
+-------------------------------------------------------------+\n'''
   for i in header:
      print "\b%s"%i,
      sys.stdout.flush()
      time.sleep(0.005)
 
def synL0rd_perm(s,n):
   x = (s,)*n
   return product(*x)
 
def format():
   print '''[+] Select generator:
    0) a-z (abcdefghijklmnopqrstuvwxyz)
    1) 0-9 (0123456789)
    2) A-Z (ABCDEFGHIJKLMNOPQRSTUVWXYZ)
    3) !-~ (!"#$%&\\\'()*+,-./:;<=>?@[\\\\]^_`{|}~)
    4) a-z and 0-9
    5) a-z and A-Z
    6) a-z and !-~
    7) a-z and A-Z and 0-9
    8) a-z and A-Z and !-~
    9) all'''

if "__main__" == __name__:
   banner()
   found = False
   lengthmin2 = 0
   format()
   try:
      gen = input("    choose number options [1,2,..10]: ")
   except:
      print "[-] Error input!"
      sys.exit(1)
   else:
      if gen > 9 or gen < 0:
         print "[-] Error input!"
         sys.exit(1)
   lengthmin1 = input("[+] length min: ")
   lengthmin2 = lengthmin1
   lengthmax = input("[+] length max: ")
   if lengthmin1 > lengthmax:
      print "[-] Error input!"
      sys.exit(1)
   cipher = raw_input("[+] insert hash: ")
   if len(cipher) == 32:
      hashtype = "MD5 HASH"
   if len(cipher) == 40:
      hashtype = "SHA1 HASH"
   if len(cipher) == 56:
      hashtype = "SHA224 HASH"
   if len(cipher) == 64:
      hashtype = "SHA256 HASH"
   if len(cipher) == 96:
      hashtype = "SHA384 HASH"
   if len(cipher) == 128:
      hashtype = "SHA512 HASH"
   num0 = list(string.ascii_lowercase)
   num1 = list(string.digits)
   num2 = list(string.ascii_uppercase)
   num3 = list(string.punctuation)
   num4 = num0+num1
   num5 = num0+num2
   num6 = num0+num3
   num7 = num0+num2+num1
   num8 = num0+num2+num3
   full = num0+num2+num1+num3
   listnum = [num0,num1,num2,num3,num4,num5,num6,num7,num8,full]
   print "[o] CRACKING %s! Please wait...\n"%hashtype
   while lengthmin1 <= lengthmax or lengthmin2 <= lengthmax:
      ch3cksum = synL0rd_perm(listnum[gen],lengthmin2)
      center2 = (listnum[gen])[len(listnum[gen])/2]*lengthmin2
      listnum[gen].reverse()
      gat3w4y = synL0rd_perm(listnum[gen],lengthmin1)
      center1 = (listnum[gen])[len(listnum[gen])/2]*lengthmin1
      print "\r",
      while found == False:
         resgen1 = string.join(gat3w4y.next(),"")
         resgen2 = string.join(ch3cksum.next(),"")
         if len(cipher) == 32:
            spit1 = hashlib.md5(resgen1).hexdigest()
            spit2 = hashlib.md5(resgen2).hexdigest()
         if len(cipher) == 40:
            spit1 = hashlib.sha1(resgen1).hexdigest()
            spit2 = hashlib.sha1(resgen2).hexdigest()
         if len(cipher) == 56:
            spit1 = hashlib.sha224(resgen1).hexdigest()
            spit2 = hashlib.sha224(resgen2).hexdigest()
         if len(cipher) == 64:
            spit1 = hashlib.sha256(resgen1).hexdigest()
            spit2 = hashlib.sha256(resgen2).hexdigest()
         if len(cipher) == 96:
            spit1 = hashlib.sha384(resgen1).hexdigest()
            spit2 = hashlib.sha384(resgen2).hexdigest()
         if len(cipher) == 128:
            spit1 = hashlib.sha512(resgen1).hexdigest()
            spit2 = hashlib.sha512(resgen2).hexdigest()
         print "\r    %s | %s"%(resgen1,resgen2),
         sys.stdout.flush
         if cipher == spit1:
            print "\n\n[+] PASSWORD CRACKED! = %s\n"%resgen1
            found = True
            sys.exit(0)
         if cipher == spit2:
            print "\n\n[+] PASSWORD CRACKED! = %s\n"%resgen2
            found = True
            sys.exit(0)
         if center1 == resgen1 and center2 == resgen2:
            lengthmin2 += 1
            lengthmin1 += 1
   print "\n\n[-] PASSWORD NOT FOUND... Try again later\n"


save dengan nama hash-spit.py

cara menjalankannya
--windows--
hash-spit.py

--linux--
./hash-spit.py

trus ikutin aja instruksinya
Spoiler:

credit:darkc0de
http://www.darkc0de.com/others/hash-spit.py

_________________
--==[ Nothing secure....Nothing is impossible ]==--

r3m1ck
Founder u3d
Founder u3d

Posts : 111
Reputation : -1
Join date : 2010-03-06
Location : r00t

View user profile http://r3m1ck.uni.cc/

Back to top Go down

Re: Hash Bruter ^ ^

Post by x-j4ncvk on Tue Mar 09, 2010 12:00 pm

keren umz . .
akhirnya ilmunya master muncul jugah . . Cool

x-j4ncvk
V.I.P Member
V.I.P Member

Posts : 10
Reputation : 0
Join date : 2010-03-07
Location : localhost@pwd

View user profile http://x-jancvk.co.cc

Back to top Go down

Re: Hash Bruter ^ ^

Post by r3m1ck on Tue Mar 09, 2010 12:07 pm

kwkwkwk bisa ajah ni om ^ ^ , just share dan cuma ingin memajukan IT indonesia om... :iluvindo: :iluvindo: :iluvindo:

_________________
--==[ Nothing secure....Nothing is impossible ]==--

r3m1ck
Founder u3d
Founder u3d

Posts : 111
Reputation : -1
Join date : 2010-03-06
Location : r00t

View user profile http://r3m1ck.uni.cc/

Back to top Go down

Re: Hash Bruter ^ ^

Post by bumble_be on Sat Mar 20, 2010 9:56 pm

om itu pk python 2.6 yah

bumble_be
V.I.P Member
V.I.P Member

Posts : 4
Reputation : 0
Join date : 2010-03-20

View user profile

Back to top Go down

Re: Hash Bruter ^ ^

Post by r3m1ck on Sat Mar 20, 2010 10:49 pm

iya kenapa om bumble?? di tempat om g jalan po? Very Happy

_________________
--==[ Nothing secure....Nothing is impossible ]==--

r3m1ck
Founder u3d
Founder u3d

Posts : 111
Reputation : -1
Join date : 2010-03-06
Location : r00t

View user profile http://r3m1ck.uni.cc/

Back to top Go down

Re: Hash Bruter ^ ^

Post by RxN on Mon Mar 22, 2010 4:55 pm

makasih code nya ^^

...
thread 'perl'
dimana yah?

blom ada yah kk r3m1ck?

RxN
junior
junior

Posts : 6
Reputation : 0
Join date : 2010-03-22

View user profile http://grayhatcode.99k.org

Back to top Go down

Re: Hash Bruter ^ ^

Post by banditc0de on Sun Apr 18, 2010 6:22 am

yihaaaaaaaaaaaaaa.....mantep nich, ga pake list ..cuma pake logika.. lumayan buat kleksi bang..

banditc0de
V.I.P Member
V.I.P Member

Posts : 19
Reputation : 0
Join date : 2010-03-26
Age : 26
Location : ../../../../

View user profile http://vir0e5.blogspot.com

Back to top Go down

Re: Hash Bruter ^ ^

Post by Sponsored content Today at 1:44 pm


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum