Skip to content

Commit aabfc10

Browse files
committed
pmkid: decrease debug
1 parent c069acb commit aabfc10

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

wifite/attack/pmkid.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ def run_hashcat(self):
171171
self.view.add_log("Checking wpa-sec upload configuration...")
172172

173173
# Use the pcapng file if it exists, otherwise skip upload
174+
# Note: If only .22000 hash file exists, that's fine - wpa-sec doesn't accept hash files anyway
174175
if os.path.exists(self.pcapng_file):
175176
WpaSecUploader.upload_capture(
176177
self.pcapng_file,
@@ -179,10 +180,7 @@ def run_hashcat(self):
179180
capture_type='pmkid',
180181
view=self.view
181182
)
182-
else:
183-
Color.pl('{!} {O}wpa-sec upload skipped: pcapng file not found{W}')
184-
if self.view:
185-
self.view.add_log("wpa-sec upload skipped: pcapng file not found")
183+
# Silently skip if pcapng doesn't exist - this is normal when using existing hash files
186184

187185
# Check for the --skip-crack flag
188186
if Configuration.skip_crack:

0 commit comments

Comments
 (0)