summaryrefslogtreecommitdiff
path: root/network/sqlninja/sqlninja.patch
diff options
context:
space:
mode:
authorMarco Bonetti <sid77@slackware.it>2010-05-13 01:00:22 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 01:00:22 +0200
commit70696b7acf8911f58e6bce1d69c694c3bb233336 (patch)
treed61eced89f89c63ca8bf0b9c5dc0481a32f73664 /network/sqlninja/sqlninja.patch
parentab1d59ca5d1f0e84c2689b272068b2097b2746ff (diff)
downloadslackbuilds-70696b7acf8911f58e6bce1d69c694c3bb233336.tar.gz
network/sqlninja: Added to 13.0 repository
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";
+> }