Hi all, I am trying to inject udp scan packets from Kali box to target machine using following command. [email protected]#nc -unvv -w 1 -z <ip address=""> <port> nc:<ip address=""> <port> is open nc:using datagram socket The scan is successful but i am not able to see the packets on Wireshark running on Kali. Whereas able to see TCP connectscan packets. asked 08 May '14, 11:23 krishnayeddula |
One Answer:
As you did not mention the important things, I'm going to guess.... 1.) Did you send the traffic to the same system (localhost)? If so, you won't see that traffic on eth0/eth1/ethx. Instead you should capture on the loopback interface: lo 2.) Did you send the traffic to another system, via the LAN interface? If so: Where and how exactly did you try to capture the traffic? 3.) Do you see the traffic, if you capture with tcpdump?
Please replace 8888 with whatever port you are using in your test. Regards answered 09 May '14, 11:23 Kurt Knochner ♦ edited 09 May '14, 11:34 Thanks for the reply Kurt. I will perform the test as suggested but why i am seeing tcp packets but not udp? BTW both Initiator and target are virtual machine instances and interface is eth0. (11 May '14, 11:09) krishnayeddula
Same VM host or different one? Bridged interface or other? (11 May '14, 16:05) Kurt Knochner ♦ |
No bridging. Same Host.
On tgt [[email protected] ~]# ifconfig
**eth0 Link encap:Ethernet HWaddr**
On Kali initiator
[[email protected] ~]# ifconfig
eth0 Link encap:Ethernet HWaddr