I’m running while(TRUE) php script on my host,that I think it will be ended by closing browser, I run it on my Cpanel web hosting to learning DoS attack. Now I close browser but it continuing attack.
How can I kill it in Cpanel ,only with Cpanel permission?
I’m running while(TRUE) php script on my host,that I think it will be ended
Share
If you are just have a host or you are just a reseller, you can’t. You need to root permission to do this.
If you did run the script on browser, PHP or Apache should kill the process after the maximum execution time.
Default maximum execution time is 30 seconds for PHP and -I guess- 150 secons for Apache.