Pennyw0rth / NetExec

The Network Execution Tool
https://netexec.wiki/
BSD 2-Clause "Simplified" License
2.91k stars 310 forks source link

Fix: module spider_plus with filtered folders #391

Closed glefait closed 2 months ago

glefait commented 2 months ago

With option to filter folders is set and a folder matches the filter, there is a typo in the incremented counter.

The counter should be self.stats[f"num_{result_type}s_filtered"] and not self.stats[f"{result_type}s_filtered"].

The latter does not exists and trigger the following error:

KeyError: 'folders_filtered'