Update Export-ReconData.ps1

This commit is contained in:
Mariusz 2019-01-22 00:20:32 +01:00 committed by GitHub
parent 9e468a6e63
commit 949e2fd9db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -121,12 +121,12 @@ function Get-ReconData
Set-Location -Path $path Set-Location -Path $path
} }
Try #Try
{ #{
# You need to be in PowerSploit\Recon directory # You need to be in PowerSploit\Recon directory
Import-Module .\Recon.psm1 #Import-Module .\Recon.psm1
} #}
Catch [System.Exception] #Catch [System.Exception]
{ #{
Write-Host "[!] BEFORE USING THIS SCRIPT MAKE SURE YOU'VE IMPORTED Recon.psm1 !" #Write-Host "[!] BEFORE USING THIS SCRIPT MAKE SURE YOU'VE IMPORTED Recon.psm1 !"
} #}