replaced with os.remove()
This commit is contained in:
parent
b46f751e7d
commit
0cccfef14e
@ -13,6 +13,7 @@ import logging
|
||||
import subprocess
|
||||
import string
|
||||
import re
|
||||
import os
|
||||
|
||||
OPTIONS = dict()
|
||||
|
||||
@ -39,7 +40,7 @@ def on_handshake(agent, filename, access_point, client_station):
|
||||
todetele = 1
|
||||
|
||||
if todelete == 1:
|
||||
subprocess.run(('rm '+filename),shell=True,stdout=subpocess.PIPE)
|
||||
os.remove(filename)
|
||||
set_text("uncrackable pcap")
|
||||
display.update(force=True)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user