peass-ng / PEASS-ng

PEASS - Privilege Escalation Awesome Scripts SUITE (with colors)
https://book.hacktricks.xyz
Other
15.73k stars 3.05k forks source link

Option to skip "find" on network shares #77

Closed SQ-SEN closed 3 years ago

SQ-SEN commented 3 years ago

An option to exclude network shares from all find commands would be useful as those can be extremely time consuming. Yes, it will miss potentially dangerous files but it'll be a lot faster and a lot less discussion with the storage guys.

carlospolop commented 3 years ago

Do you mean the check from Winpeas where it lists the network shares of the current machine?

carlospolop commented 3 years ago

Closed due to inactivity. Please, feel free and give a more details description of the suggested change.

Wouterkoorn commented 2 months ago

I'd like to reopen this, as I'm having the same issues. In my case linpeas, but I guess it also applies to winpeas.

I'm running linpeas on hosts with gigantic network shares mounted, which would take forever and cause a lot of traffic.

Ideally we add an argument to exclude one or multiple folders.