aboutsummaryrefslogtreecommitdiff
path: root/network/sqlninja/sqlninja.patch
blob: 24b726a73bc9e3284859785c185b60beda60572e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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";
>                 }