Pandora Botnet (WebPanel resolver)

Download | Vote Up (3) | Vote Down (0)
#!/usr/bin/python
# -*- coding = utf-8 -*-
 
import os
import sys
import string
 
 
#------------------------------- Shitty function
 
def fuckthisshit(url_enc):
    buf = ""
    j = 1
    k = 0
     
    for item in url_enc:
        if ((j % 4) == 0):
            j = 1
        if ((k % 2) != 0):
            buf += chr(ord(item) + j)
        if ((k % 2) == 0):
            buf += chr(ord(item) - j)
        k += 1
        j += 1
 
    return buf[::-1]
 
#------------------------------Start here   
 
if (len(sys.argv) < 2):
    print "Give me a binary bro ..."
    sys.exit()
 
f = open(sys.argv[1], "rb")
content = f.read()
f.close()
try:
    content = content.split("\\system32\\antivar.exe")[1].split("\x00\x00\x00\x00")[0]
    content = filter(lambda x: x in string.printable, content)
except:
    print "Error : maybe that sample isn't Pandora bot ?"
else:
    print "Pandora panel Resolver [HWC 2k13]\n\nFound : " + str(fuckthisshit(content))

fr0g


Be the first to give feedback !

Please login to comment !