How to build a ping server the hard way

I wanted to implement a simple server that would register source IPs which it was ping from and display it back to me. This way i wouldn’t have to spin up an instance each time I want to test a remote execution vulnerability on a box I’m testing.

Scenario: I’m testing a box with potential remote code execution and I want to quickly confirm it with making that box ping my server. In order to…