메뉴 건너뛰기

app

[PHPASS] python을 이용한 password 크래킹

lispro062014.10.29 21:21조회 수 3281댓글 0

    • 글자 크기
소스코드 : 원래 페이지는 삭제되어, 저장된 페이지로 확인

http://webcache.googleusercontent.com/search?q=cache:m0yhNee1pN0J:pastebin.com/VapSdza6+&cd=1&hl=ko&ct=clnk&gl=kr

python phpass 라이브러리

https://github.com/exavolt/python-phpass

답은 5자리라고 했으니, Round 5만 하면 된다.

#!/usr/bin/env python

import phpass
 
tbl = "abcdefghijklmnopqrstuvwxyz~!@#$%^&*()-_+"
hx = '$P$B2qyPsMZtoyA5U4A.fvlaTQrF/ptnk.'
 
print 'Hash: %r' % hx
t_hasher = phpass.PasswordHash(8, False)
  
print "Rount 5"
correct = ''
for i1 in tbl:
    for i2 in tbl:
        for i3 in tbl:
            for i4 in tbl:
                for i5 in tbl:
                        correct = i1+i2+i3+i4+i5
                        check = t_hasher.check_password(correct, hx)
                        if check:
                            print check
lispro06 (비회원)
    • 글자 크기
[톰캣] 한글 사용 및 mysql 연동 (by lispro06) [XE] widget 짧은 팁 (by lispro06)

댓글 달기

lispro06
2015.05.15 조회 1705
lispro06
2015.05.15 조회 1676
lispro06
2015.05.15 조회 2574
lispro06
2014.08.16 조회 1814
lispro06
2014.02.08 조회 4113
lispro06
2013.12.11 조회 1743
lispro06
2013.12.10 조회 3056
suritam9
2013.12.06 조회 2328
suritam9
2013.12.02 조회 3526
suritam9
2013.11.30 조회 2204
suritam9
2013.11.26 조회 1710
suritam9
2013.08.23 조회 7384
suritam9
2013.08.23 조회 1917
suritam9
2013.06.28 조회 2404
첨부 (0)
위로