📜  如何使用 python 代码示例破解 4 次握手

📅  最后修改于: 2022-03-11 14:46:50.007000             🧑  作者: Mango

代码示例1
#import hashlib
from pbkdf2 import PBKDF2
ssid = 'cyberpunk' 
pass= 'theone'

print "Pairwise Master Key (PMK): " + PBKDF2(phrase, ssid, 4096).read(32).encode("hex"))

# ALTERNATIVE
# pmk = hashlib.pbkdf2_hmac('sha1', passphrase, SSID.encode(), 4096, 32)