Skip to content
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

Masscan not working. #2150

Closed
megapro17 opened this issue May 24, 2017 · 6 comments
Closed

Masscan not working. #2150

megapro17 opened this issue May 24, 2017 · 6 comments

Comments

@megapro17
Copy link

Microsoft Windows [Version 10.0.15063]

sudo apt-get install masscan
masscan -p80 192.168.1.0/24

mega@DESKTOP:/$ sudo masscan -p80 192.168.1.0/24
FAIL: eth0: socket: Invalid argument
adapter[eth0].init: failed

Strace log:
https://gist.github.com/megapro17/5f6b1c37ebc43a2436416ad050377e28

@sunjoong
Copy link

sunjoong commented May 24, 2017

@megapro17 - I saw this line in your log;

socket(PF_INET, SOCK_PACKET, 0x300 /* IPPROTO_??? */) = -1 EINVAL (Invalid argument)

In #1515 (comment),

Yeah, unfortunately, we don't support SOCK_PACKET yet either.

@sunilmut
Copy link
Member

sunilmut commented Jun 6, 2017

@megapro17 - Thanks for your post. Here is the user voice ticket for AF_PACKET. If you would like us to prioritize this, please up vote the ticket.

@sunjoong - Thanks for the diagnosis.

@megapro17
Copy link
Author

I guess this would work in 2004 build. Three years, time passes so fast

@billswearingen
Copy link

I just tried in the 2004 build, no go :(

@megapro17
Copy link
Author

megapro17 commented Apr 21, 2020

I just tried in the 2004 build, no go :(

Follow these instructions, it worked for me
https://docs.microsoft.com/ru-ru/windows/wsl/wsl2-install
https://docs.microsoft.com/ru-ru/windows/wsl/wsl2-kernel

@billswearingen
Copy link

English Links (Thank you @megapro17 !!)
https://docs.microsoft.com/en-us/windows/wsl/wsl2-install
https://docs.microsoft.com/en-us/windows/wsl/wsl2-kernel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants