@LegendarySpork said:
@opt1kz said:I wrote a script that waits for a connection and then just sends a shell command
nc -z works great as a “tcp ping”
Hm. That’s interesting. I never noticed that flag, to be honest. Googling and playing around with it a bit and you could probably use this too, you’re right. Neat.
For me it was easier/quicker to just whip out Python and do it that way (it was all of ten lines), but this netcat feature could be useful in the future, so thanks!