This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#echo 'sleep 60s to begin...' | |
#sleep 60 | |
apikey='...virustotal_apikey...' | |
result_file='ip_vt_result.txt' | |
ip_file='ip_ext.txt' | |
ctr=0 | |
total=0 | |
for i in `cat $ip_file`;do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# __author__ = 'c4mx' | |
from pbkdf2 import PBKDF2 | |
from binascii import a2b_hex | |
import hmac, hashlib, binascii | |
# passphrase: WPA wifi password | |
def calc_pmk(passphrase, ssid): | |
return PBKDF2(passphrase, ssid, 4096).read(32) |
NewerOlder