summaryrefslogtreecommitdiff
path: root/network/sqlninja/sqlninja.patch
diff options
context:
space:
mode:
Diffstat (limited to 'network/sqlninja/sqlninja.patch')
-rw-r--r--network/sqlninja/sqlninja.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/network/sqlninja/sqlninja.patch b/network/sqlninja/sqlninja.patch
new file mode 100644
index 0000000000..24b726a73b
--- /dev/null
+++ b/network/sqlninja/sqlninja.patch
@@ -0,0 +1,26 @@
+35c35
+< my $RELEASE = "0.2.3-r1";
+---
+> my $RELEASE = "0.2.3-r1p";
+70a71,73
+> # Sqlninja & Metasploit integration timeouts (Raul Siles)
+> my $client_delay = 30;
+> my $server_delay = 5;
+3302,3304c3305,3313
+< $delaycli = 5;
+< } else {
+< $delaydb = 5;
+---
+> # Metasploit remote payload must start prior to local msfcli handler
+> # bind_tcp: local msfi handler connects to remote payload
+> $delaycli = $client_delay;
+> $delaydb = $server_delay;
+> } else {
+> # Metasploit local msfcli handler must start prior to remote payload
+> # reverse_tcp: remote payload connects to local msfi handler
+> $delaycli = $server_delay;
+> $delaydb = $client_delay;
+3313a3323,3325
+> if ($verbose == 1) {
+> print "[v] Executing remote payload on target: ".$cmd."\n";
+> }