메뉴 건너뛰기

app

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

lispro062014.10.29 21:21조회 수 3228댓글 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 조회 1636
lispro06
2015.05.15 조회 1604
lispro06
2015.05.15 조회 2500
lispro06
2014.08.16 조회 1745
lispro06
2014.02.08 조회 3992
lispro06
2013.12.11 조회 1652
lispro06
2013.12.10 조회 2963
suritam9
2013.12.06 조회 2254
suritam9
2013.12.02 조회 3438
suritam9
2013.11.30 조회 2142
suritam9
2013.11.26 조회 1628
suritam9
2013.08.23 조회 7294
suritam9
2013.08.23 조회 1829
suritam9
2013.06.28 조회 2319
첨부 (0)
위로