Skip to content

Commit 11c1350

Browse files
author
m-1-k-3
committed
small fix
1 parent 62ff522 commit 11c1350

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/auxiliary/admin/http/linksys_wrt54gl_exec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def run
6767

6868
# using the RHOST for the correct lan IP settings
6969
# WARNING: Attacks via the WAN IP are breaking the LAN configuration of the device!
70-
if datastore['LANIP'] =~ /<RHOST>/
70+
if datastore['LANIP'] !~ /<RHOST>/
7171
ip = datastore['LANIP'].split('.')
7272
else
7373
ip = rhost.split('.')

0 commit comments

Comments
 (0)