Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions wifite.py
Original file line number Diff line number Diff line change
Expand Up @@ -2459,7 +2459,11 @@ def strip_handshake(self, capfile):
'stripLive']
call(cmd, stdout=DN, stderr=DN)
if os.path.exists(capfile + '.temp'):
rename(capfile + '.temp', output_file)

###robsouth84 update###
###orig###rename(capfile + '.temp', output_file)
copy(output_file, capfile + '.temp')


elif program_exists('tshark'):
# strip results with tshark
Expand All @@ -2470,7 +2474,9 @@ def strip_handshake(self, capfile):
'-w', capfile + '.temp'] # output file
proc_strip = call(cmd, stdout=DN, stderr=DN)

rename(capfile + '.temp', output_file)
###robsouth84 update###
###orig###rename(capfile + '.temp', output_file)
copy(output_file, capfile + '.temp')

else:
print R + " [!]" + O + " unable to strip .cap file: neither pyrit nor tshark were found" + W
Expand Down