mirror of
https://github.com/carlospolop/PEASS-ng
synced 2024-11-20 12:39:21 +01:00
Update winPEAS.ps1
Remove extra code in search for files.
This commit is contained in:
parent
9f75cc824c
commit
11d93c42e7
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user