How to check where the data come from by using NetCat?

0

I just need a way to check where the data come from ( what is the source ip address ). I used this command:

nc localhost 12345

But I only get the data and not the sourse ip address. Any idea?

xRobot

Posted 2019-11-11T16:45:05.850

Reputation: 361

Why not tcpdump? – Tom Yan – 2019-11-11T17:08:12.117

No answers