dot11decryptprocess.py 文件源码

python
阅读 22 收藏 0 点赞 0 评论 0

项目:wifisniffer 作者: reiinakano 项目源码 文件源码
def start_dot11decrypt(self, interface, decryption_key): #starts and returns dot11decrypt subprocess and interface.
        print "Starting new dot11decrypt subprocess on " + interface + " with key " + decryption_key
        proc = subprocess32.Popen(['sudo', 'd11decrypt/build/dot11decrypt', interface, decryption_key], stdout=subprocess32.PIPE)
        read = proc.stdout.readline()
        if read[0:14] == "Using device: ":
            print "Currently decrypting packets and releasing to " + read[14:].rstrip()
            print "Process number is " + str(proc.pid)
            return proc, read[14:].rstrip()
        else:
            print read
            raise Exception
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号