-
Notifications
You must be signed in to change notification settings - Fork 844
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nmap not working #2039
Comments
Thanks for reporting the issue. WSL currently has limited support for raw sockets. Please give us feedback on UserVoice so we can prioritize the work - https://wpdev.uservoice.com/forums/266908-command-prompt-console-bash-on-ubuntu-on-windo |
+1 |
+1 same behavior |
+1 |
4 similar comments
+1 |
+1 |
+1 |
+1 |
Marking this duplicate of #1349 |
+1 |
9 similar comments
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
+100 |
+1 |
For everyone upvoting here, thanks, we understand that this is an important ask. I would also recommend heading down to the user voice and upvoting there as well. We use that to prioritize. |
+1 |
This would be great. |
I think even better way to use nmap on windows is to just launch docker container with nmap. You don't even need to switch to linux containers if you use windows ones. Advantages:
Command is
|
Why not just download the nmap binary installer to windows, install it and run it in either Powershell or command prompt? Works fine... It's obvious that Kali and other WSL apps will not work using nmap. Hoping for next updates will fix this issue. |
Mainly because nmap is a (one of many) precursor for many distributed
systems which won't run on WSL without proper network support. If we just
wanted nmap, as you suggest, then wouldn't bother running WSL :-)
…On Wed, Aug 15, 2018 at 1:31 PM SecInfo007 ***@***.***> wrote:
Why not just download the nmap binary installer to windows, install it and
run it in either Powershell or command prompt? Works fine... It's obvious
that Kali and other WSL apps will not work using nmap. Hoping for next
updates will fix this issue.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2039 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAIre57-wieuo7-2Y2IsMOG0ykti85xCks5uRBSZgaJpZM4NMvac>
.
|
+86 |
Why ppl like Linux because Linux has fewer restrictions, people can do more what they want to do. Soo,when could be the problem soloved? that has 1426 votes now ? |
You don't understand. Our votes do not really count. The uservoice website is just a simulation so you think your opinion matters, but in fact it doesn't. They blatantly use the name Linux but in fact they don't really want a full blown Linux distro, and instead they just needed a dev environment beucause they realized linux has everything and setting up a dev env on powershell is a painful experience. |
more than one year passed without solution :/ |
This super sucks. WSL has a large number of socket issues. |
+1 |
2 similar comments
+1 |
+1 |
So the problem hasn't been solved yet? |
2 Years and still nothing |
Waiting for the solution... |
+1 |
1 similar comment
+1 |
@Moderators, please lock the comments. it's annoying to receive notifications with "+1", when everyone could instead subscribe. |
:-/ +1 |
Still waiting ... |
just tried on the latest windows 10 insider fast ring and wsl 2 and this now seems to work. |
+1 |
1 similar comment
+1 |
Still no fix? Any other ways around the problem? |
I think not
…On Fri, Jul 12, 2019, 8:56 PM IandI187 ***@***.***> wrote:
Still no fix?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2039?email_source=notifications&email_token=AEGUWRK6JJME4M4IYCHXI73P7ER5HA5CNFSM4DJS62OKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZ3FZFQ#issuecomment-511073430>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEGUWROQFIN5QZLIA6IIX33P7ER5HANCNFSM4DJS62OA>
.
|
Just came here to say that I'm suffering with this issue right now while troubleshooting my currently limited internet connection. |
I'm also experiencing it. Happens even if using the workaround provided by @kartio What does seem to work is modifying the alias slightly to edit: For whatever reason this stopped working the morning after I posted this, but You may need to specify the full path of nmap.exe if running |
+1 |
1 similar comment
+1 |
-After installing nmap, when I try running
sudo nmap -v -sn 192.168.0.0/16
to scan my network for devices I get the error:Couldn't open a raw socket. Error: Permission Denied (13)
-When running
nmap -v -sn 192.168.0.0/16
without using sudo I get the error:Problem binding to interface , errno: 92
socket_bindtodevice : protocol not available
Initiating Ping Scan at 20:14
Scanning 4096 hosts [2 ports/host]
Completed Ping Scan at 20:14, 33.00s elapsed (4096 total hosts)
Initiating Parallel DNS resolution of 4096 hosts. at 20:14
Completed Parallel DNS resolution of 4096 hosts. at 20:14, 0.01s elapsed
Nmap scan report for amazon-3c5740640.home (192.168.1.13)
Host is up (0.095s latency).
The text was updated successfully, but these errors were encountered: