Skip to content

Commit 2713991

Browse files
author
m-1-k-3
committed
timeout and HTTP_Delay
1 parent 59045f9 commit 2713991

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/exploits/linux/http/netgear_dgn2200b_pppoe_exec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def initialize(info = {})
7171
OptString.new('PASSWORD', [ true, 'The password for the specified username', 'password' ]),
7272
OptAddress.new('DOWNHOST', [ false, 'An alternative host to request the MIPS payload from' ]),
7373
OptString.new('DOWNFILE', [ false, 'Filename to download, (default: random)' ]),
74-
OptInt.new('HTTP_DELAY', [true, 'Time that the HTTP Server will wait for the ELF payload request', 60])
74+
OptInt.new('HTTP_DELAY', [true, 'Time that the HTTP Server will wait for the ELF payload request', 45])
7575
], self.class)
7676
end
7777

@@ -222,7 +222,7 @@ def exploit
222222
uri = '/pppoe.cgi'
223223
user = datastore['USERNAME']
224224
pass = datastore['PASSWORD']
225-
@timeout = 45
225+
@timeout = datastore['HTTP_DELAY']
226226

227227
#
228228
# testing Login

0 commit comments

Comments
 (0)