Skip to content

Commit 500d715

Browse files
committed
Use PAYLOAD instead of CMD
1 parent f37ac39 commit 500d715

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/linux/http/vap2500_tools_command_exec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def exploit
7979

8080
print_status("#{peer} - Exploiting...")
8181

82-
if datastore['CMD']
82+
if datastore['PAYLOAD'] == 'cmd/unix/generic'
8383
exploit_cmd
8484
else
8585
exploit_session

0 commit comments

Comments
 (0)