소스코드 : 원래 페이지는 삭제되어, 저장된 페이지로 확인
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
 
															 
									 
									 
									 
			 
			 
			 
			 
			
댓글 달기