whoareyou Posted June 24, 2021 Share Posted June 24, 2021 I m new to KALI and I have problems using NMAP on my VirtualBox. When I ifconfig I get the following result: https://prnt.sc/16n7gnk The eth0 has inet address: 10.0.2.15 so when I nmap the IP, I get the following: https://prnt.sc/16n7wog Also, when I find my IP for my device the IPV4 is: 192.168.100.86. https://prnt.sc/16n8742 So when I nmap the above IP: sudo nmap -sn 192.168.100.1/24, I get that all the 256 IPs are up. https://prnt.sc/16n8tgl My confusion is, In order to scan my newtwork what IP address I should be exactly using. Also, when i use both the wifi and eth0 IP the scan result is not proper. Any insight to my problem will be highly appreciated. Thankyou! Link to comment Share on other sites More sharing options...
Irukandji Posted June 24, 2021 Share Posted June 24, 2021 https://forums.kali.org/ Is there forum. And helps to google it. Link to comment Share on other sites More sharing options...
NoExecute Posted June 27, 2021 Share Posted June 27, 2021 Hey 🙂 Okay, first off, you need to be in the same network segment, and have your vm's set up right. So, on your HOST machine, the machines that running VBox, run ifconfig, and get it's IP, Note down the IP and mac. Ping the router, and note down it's IP and MAC. Set your vm to bridged mode, and MAKE SURE it get's an ip in the same subnet as your router and host system. So if your routers 192.168.87.1, your kali box should be in 192.168.87.x, and verify you can ping from the Kali box to the router. First test, run an nmap scan against the router, and test the first 5000 ports. nmap -A -T4 -p1-5000 If that works, and you get a result, try against the host you're running VBox on nmap -A -T4 -p1-5000 For ALL ports, try nmap -A -T4 -p- to scan all possibles machines, eg in 192.168.87-1 --> 192.168.87-255 nmap -A -T4 -p1-5000 192.168.87.1-255 I really would recommend you get the networks basics down, and try out what the different modes in VirtualBox do, and how they work before going any further, or else it's gonna be a long road ahead 😉 NOTE : Virtualbox sets up different network cards in your host, depending on what network mode you set, some times that's the problem, so try out the different modes, pay attention to what cards they set up, and verify who can ping who. When you get traffic flowing, time to play with NMAP :) /NX Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.