mirror of
https://github.com/carlospolop/privilege-escalation-awesome-scripts-suite.git
synced 2025-12-06 09:01:29 +00:00
Update winPEAS.ps1
Remove extra code in search for files.
This commit is contained in:
@@ -1515,9 +1515,6 @@ $Drives.Root | ForEach-Object {
|
||||
Search-Excel -Source $Path.FullName -SearchText "user"
|
||||
Search-Excel -Source $Path.FullName -SearchText "pass"
|
||||
}
|
||||
else{
|
||||
$Path.FullName | Select-String ".*\.xls",".*\.xlsm",".*\.xlsx"
|
||||
}
|
||||
}
|
||||
else {
|
||||
if ($path.Length -gt 0) {
|
||||
|
||||
Reference in New Issue
Block a user