Invalid Hostname running msfconsole in WSL2 #19001
Replies: 8 comments 1 reply
-
Same here, I tried with different distros(kali and ubuntu) but I get the same error. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Thanks @mikaelhelguson for the solution. While it works temporarily but someone needs to fix in repo as well for permanent fix. |
Beta Was this translation helpful? Give feedback.
-
yes @mikaelhelguson thanks for the solution although it be an odd one. Just comment out the error! |
Beta Was this translation helpful? Give feedback.
-
On kali install, the file to edit can be found on same line 84 (nano, Ctrl + /, line 84)
|
Beta Was this translation helpful? Give feedback.
-
Ref #19012 |
Beta Was this translation helpful? Give feedback.
-
this is actually a malformed |
Beta Was this translation helpful? Give feedback.
-
This should be fixed in #19012. |
Beta Was this translation helpful? Give feedback.
-
I get this error running msfconsole in any Linux distro on WSL2.
/usr/share/metasploit-framework/lib/rex/proto/dns/static_hostnames.rb:84:in `add': Invalid hostname: Red7en. (ArgumentError)
Note: Red7en is the name of my computer.
I do not get this message running msfconsole on a Linux virtual machine, only in WSL2.
Beta Was this translation helpful? Give feedback.
All reactions