Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What does it do?


The name of the program as it was invoked is stored in `argv[0]`. The perl script overwrites the value before continuing on.


Hides the startup command line of the program by masking it with another value. In this example you wouldn't see that the perl program was started, you'll see this httpd thing.

It's not completely reliable but most people wouldn't look that deep anyway.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: