From 9e468a6e63bc64a8ae9ed8027267004b74147c61 Mon Sep 17 00:00:00 2001 From: Mariusz Date: Tue, 22 Jan 2019 00:19:23 +0100 Subject: [PATCH 1/2] Update Export-ReconData.ps1 --- red-teaming/Export-ReconData.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/red-teaming/Export-ReconData.ps1 b/red-teaming/Export-ReconData.ps1 index 984db9a..a66aebc 100644 --- a/red-teaming/Export-ReconData.ps1 +++ b/red-teaming/Export-ReconData.ps1 @@ -34,6 +34,7 @@ function Export-ReconData $Commands += "Get-DomainForeignUser" $Commands += "Get-DomainForeignGroupMember" $Commands += "Find-InterestingDomainShareFile" + $Commands += "Invoke-Kerberoastable" $IdentityBased = @( "Get-DomainGroupMember", @@ -127,5 +128,5 @@ Try } Catch [System.Exception] { - exit + Write-Host "[!] BEFORE USING THIS SCRIPT MAKE SURE YOU'VE IMPORTED Recon.psm1 !" } From 949e2fd9dbb30768694d35ee36960423b607e422 Mon Sep 17 00:00:00 2001 From: Mariusz Date: Tue, 22 Jan 2019 00:20:32 +0100 Subject: [PATCH 2/2] Update Export-ReconData.ps1 --- red-teaming/Export-ReconData.ps1 | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/red-teaming/Export-ReconData.ps1 b/red-teaming/Export-ReconData.ps1 index a66aebc..b2790ac 100644 --- a/red-teaming/Export-ReconData.ps1 +++ b/red-teaming/Export-ReconData.ps1 @@ -121,12 +121,12 @@ function Get-ReconData Set-Location -Path $path } -Try -{ +#Try +#{ # You need to be in PowerSploit\Recon directory - Import-Module .\Recon.psm1 -} -Catch [System.Exception] -{ - Write-Host "[!] BEFORE USING THIS SCRIPT MAKE SURE YOU'VE IMPORTED Recon.psm1 !" -} + #Import-Module .\Recon.psm1 +#} +#Catch [System.Exception] +#{ + #Write-Host "[!] BEFORE USING THIS SCRIPT MAKE SURE YOU'VE IMPORTED Recon.psm1 !" +#}