Added "NoPing" Switch

client_ports
rvrsh3ll 2015-10-10 00:28:52 -04:00
parent 5bd5cb4657
commit 3272d45b7d
1 changed files with 8 additions and 1 deletions

View File

@ -30,6 +30,9 @@ function Invoke-EgressAssess
.Parameter Password
The password for the ftp server
.Parameter NoPing
Disable the server ping check
.Parameter Datatype
The string containing the data you want to generate and exfil
May contain filepath to transfer file
@ -65,6 +68,8 @@ function Invoke-EgressAssess
[Parameter(Mandatory = $True, ValueFromPipeline = $True)]
[string]$Datatype,
[Parameter(Mandatory = $False)]
[switch]$NoPing,
[Parameter(Mandatory = $False)]
[string]$Username,
[Parameter(Mandatory = $False)]
[string]$Password,
@ -1044,7 +1049,9 @@ function Invoke-EgressAssess
}
process
{
Test-ServerConnection
if (!$NoPing) {
Test-ServerConnection
}
if ($client -eq "http" -or $client -eq "https")
{