def unpackAll(self, data):
     try:
         in_data = data
         sPattern = '(eval\\(function\\(p,a,c,k.*)'
         enc_data = re.compile(sPattern).findall(in_data)
         for enc_val in enc_data:
             unpack_val = unpack95High.unpack(enc_val)
             in_data = in_data.replace(enc_val, unpack_val)
             in_data = in_data.replace('\\\'', '\'')
         return in_data
     except:
         traceback.print_exc(file=sys.stdout)
         return in_data
Esempio n. 2
0
 def unpackAll(self, data):
     try:
         in_data=data
         sPattern = '(eval\\(function\\(p,a,c,k.*)'
         enc_data=re.compile(sPattern).findall(in_data)
         for enc_val in enc_data:
             unpack_val=unpack95High.unpack(enc_val)
             in_data=in_data.replace(enc_val,unpack_val)
             in_data=in_data.replace('\\\'','\'')
         return in_data
     except: 
         traceback.print_exc(file=sys.stdout)
         return in_data
Esempio n. 3
0
    def unpackAll(self, data):
        try:
            in_data = data
            sPattern = "(eval\\(function\\(p,a,c,k,e,d.*)"
            enc_data = re.compile(sPattern).findall(in_data)
            if len(enc_data) == 0:
                sPattern = "(eval\\(function\\(p,a,c,k,e,r.*)"
                enc_data = re.compile(sPattern).findall(in_data)

            for enc_val in enc_data:
                unpack_val = unpack95High.unpack(enc_val)
                in_data = in_data.replace(enc_val, unpack_val)
                in_data = in_data.replace("\\'", "'")
            return in_data
        except:
            traceback.print_exc(file=sys.stdout)
            return data