Cry Ant Crew
Would you like to react to this message? Create an account in a few clicks or log in to continue.


We are Just Computer Freaker
 
IndeksPencarianLatest imagesPendaftaranLogin
Login
Username:
Password:
Login otomatis: 
:: Lupa password?

 

 Belajaran python (brute hash)

Go down 
2 posters
PengirimMessage
xc0debatch
Senior
Senior



Jumlah posting : 3
Join date : 05.10.12

Belajaran python (brute hash) Empty
PostSubyek: Belajaran python (brute hash)   Belajaran python (brute hash) EmptyFri 5 Oct 2012 - 4:14

Code:
#! /usr/bin/python
# by Kimcilholic
import hashlib
from hashlib import *
# MD5
def F_md5():
    print "##################MD5#####################"
    input_hash=raw_input("Masukan Hash: ")
    input_dict=raw_input("Masukan List Password: ")
    f=open(input_dict,"r")
    for line in f.readlines():
        hash=hashlib.md5(line).hexdigest()
        if hash==input_hash:
            print "w000tttt Plaintext :" + line
# SHA1
def F_sha1():
    print "###################SHA1####################"
    input_hash=raw_input("Masukan Hash: ")
    input_dict=raw_input("Masukan List Password: ")
    f=open(input_dict,"r")
    for line in f.readlines():
        hash=hashlib.sha1(line).hexdigest()
        if hash==input_hash:
            print "w000tttt Plaintext :" + line
# SHA224
def F_sha224():
    print "##################SHA224###################"
    input_hash=raw_input("Masukan Hash: ")
    input_dict=raw_input("Masukan List Password: ")
    f=open(input_dict,"r")
    for line in f.readlines():
        hash=hashlib.sha224(line).hexdigest()
        if hash==input_hash:
            print "w000tttt Plaintext :" + line
# SHA256
def F_sha256():
    print "##################SHA256###################"
    input_hash=raw_input("Masukan Hash: ")
    input_dict=raw_input("Masukan List Password: ")
    f=open(input_dict,"r")
    for line in f.readlines():
        hash=hashlib.sha256(line).hexdigest()
        if hash==input_hash:
            print "w000tttt Plaintext :" + line
# SHA384
def F_sha384():
    print "##################SHA384###################"
    input_hash=raw_input("Masukan Hash: ")
    input_dict=raw_input("Masukan List Password: ")
    f=open(input_dict,"r")
    for line in f.readlines():
        hash=hashlib.sha384(line).hexdigest()
        if hash==input_hash:
            print "w000tttt Plaintext :" + line
# SHA512
def F_sha512():
    print "##################SHA512###################"
    input_hash=raw_input("Masukan Hash: ")
    input_dict=raw_input("Masukan List Password: ")
    f=open(input_dict,"r")
    for line in f.readlines():
        hash=hashlib.sha512(line).hexdigest()
        if hash==input_hash:
            print "w000tttt Plaintext :" + line
#Menu
def Menu():
    print "============================================="
    print "##################Devilzc0de#################"
    print "[1]md5 \n [2]sha1 \n [3]sha224 \n [4]sha256 \n [5]sha384 \n [6]sha512 \n"
    choice=input("Masukan Pilhan Password: ")
    if choice==1:
        F_md5()
    elif choice==2:
        F_sha1()
    elif choice==3:
        F_sha224()
    elif choice==4:
        F_sha256()
    elif choice==5:
        F_sha384()
    elif choice==6:
        F_sha512()
    else :
        print "Pilihan menu hanya 1,2,3,4,5,6"
Menu()


masih belajaran om Oops ane coba di 2.7 sh jalan :scratch:

Belajar
Kembali Ke Atas Go down
ditatompel
Senior
Senior



Jumlah posting : 2
Join date : 05.10.12

Belajaran python (brute hash) Empty
PostSubyek: Re: Belajaran python (brute hash)   Belajaran python (brute hash) EmptyFri 5 Oct 2012 - 4:17

Wuih.. Sampe keluarga sha dibawa-bawa Takut
Kembali Ke Atas Go down
 
Belajaran python (brute hash)
Kembali Ke Atas 
Halaman 1 dari 1

Permissions in this forum:Anda tidak dapat menjawab topik
Cry Ant Crew :: Information Technology :: Programming :: Phyton-
Navigasi: