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

Nmap in wsl2 kali-linux can't featch MAC address #11441

Open
1 of 2 tasks
Mu-cream opened this issue Apr 9, 2024 · 3 comments
Open
1 of 2 tasks

Nmap in wsl2 kali-linux can't featch MAC address #11441

Mu-cream opened this issue Apr 9, 2024 · 3 comments

Comments

@Mu-cream
Copy link

Mu-cream commented Apr 9, 2024

WslLogs-2024-04-09_18-25-17.zip

Windows Version

版本 10.0.22621 版本 22621

WSL Version

2

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

5.15.146.1-microsoft-standard-WSL2

Distro Version

kali-linux

Other Software

No response

Repro Steps

Scaning host in VMWare kali-linux's nmap


┌──(root㉿w1sh)-[/usr/bin]
└─# nmap -V                    
Nmap version 7.94SVN ( https://nmap.org )
Platform: x86_64-pc-linux-gnu
Compiled with: liblua-5.4.6 openssl-3.1.4 libssh2-1.11.0 libz-1.2.13 libpcre2-10.42 libpcap-1.10.4 nmap-libdnet-1.12 ipv6
Compiled without:
Available nsock engines: epoll poll select

┌──(root㉿w1sh)-[/usr/bin]
└─# nmap -sn -PR 172.20.129.135
Starting Nmap 7.94SVN ( https://nmap.org ) at 2024-04-09 18:18 HKT
Nmap scan report for 172.20.129.135
Host is up (0.00028s latency).
MAC Address: B4:0E:DE:13:86:ED (Intel Corporate)
Nmap done: 1 IP address (1 host up) scanned in 0.08 seconds

scaning host in wsl-kali linux's nmap

┌──(root㉿W1sh)-[~/nmap]
└─# ./nmap -V
Nmap version 7.94SVN ( https://nmap.org )
Platform: x86_64-pc-linux-gnu
Compiled with: liblua-5.4.6 openssl-3.1.5 libssh2-1.11.0 libz-1.2.13 libpcre2-10.42 libpcap-1.10.4 nmap-libdnet-1.12 ipv6
Compiled without:
Available nsock engines: epoll poll select

┌──(root㉿W1sh)-[~/nmap]
└─# ./nmap -sn -PR 172.20.129.135
Starting Nmap 7.94SVN ( https://nmap.org ) at 2024-04-09 18:18 CST
Nmap scan report for W1sh (172.20.129.135)
Host is up (0.00025s latency).
Nmap done: 1 IP address (1 host up) scanned in 0.16 seconds

Expected Behavior

MAC Address: B4:0E:DE:13:86:ED (Intel Corporate)

Actual Behavior

Without line Mac Address:.....

Diagnostic Logs

No response

Copy link

github-actions bot commented Apr 9, 2024

Logs are required for review from WSL team

If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'.
Otherwise please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.

How to collect WSL logs

Download and execute collect-wsl-logs.ps1 in an administrative powershell prompt:

Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/collect-wsl-logs.ps1" -OutFile collect-wsl-logs.ps1
Set-ExecutionPolicy Bypass -Scope Process -Force
.\collect-wsl-logs.ps1

The scipt will output the path of the log file once done.

Once completed please upload the output files to this Github issue.

Click here for more info on logging
If you choose to email these logs instead of attaching to the bug, please send them to [email protected] with the number of the github issue in the subject, and in the message a link to your comment in the github issue and reply with '/emailed-logs'.

View similar issues

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@Mu-cream
Copy link
Author

Mu-cream commented Apr 9, 2024

Logs are required for review from WSL team

If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. Otherwise please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.

How to collect WSL logs

View similar issues

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

Uploading WslLogs-2024-04-09_18-25-17.zip…

Copy link

github-actions bot commented Apr 9, 2024

Diagnostic information
Found '/question', adding tag 'question'
Found '/feature', adding tag 'feature'

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

1 participant