Jump to content

Proteger los lib por MD5Hash


Croqueta

Recommended Posts

1. Abrien el Property.py (en el Root.eix &.epk)

2. Aggrega el codigo abajo del stringCommander


import dbg
import app
import md5
import string
import sha

def hexstr(s):
   h = string.hexdigits
   r = ''
   for c in s:
       i = ord(c)
       r = ((r + h[((i >> 4) & 15)]) + h[(i & 15)])

   return r

def GetMD5(filename):
   f = open(filename)
   data = f.read()
   f.close()
   m = md5.new()
   m.update(data)
   return hexstr(m.digest())

LIBMD5Hash1 = GetMD5('lib/__future__.pyc')
LIBMD5Hash3 = GetMD5('lib/copy_reg.pyc')
LIBMD5Hash4 = GetMD5('lib/linecache.pyc')
LIBMD5Hash5 = GetMD5('lib/ntpath.pyc')
LIBMD5Hash6 = GetMD5('lib/os.pyc')
LIBMD5Hash7 = GetMD5('lib/site.pyc')
LIBMD5Hash8 = GetMD5('lib/stat.pyc')
LIBMD5Hash9 = GetMD5('lib/string.pyc')
LIBMD5Hash10 = GetMD5('lib/traceback.pyc')
LIBMD5Hash11 = GetMD5('lib/types.pyc')
LIBMD5Hash12 = GetMD5('lib/UserDict.pyc')

if not ((LIBMD5Hash1 != '02466c5102c7297f86a35b80d42cd982') or (LIBMD5Hash3 != 'dd30745c8cade086fadb51b38ac23f6d') or (LIBMD5Hash4 != '267732ad69e101b0993959e3e881cb1d') or (LIBMD5Hash5 != 'e5d99efbf612906aa70335265b51282e') or (LIBMD5Hash6 != '2e34b81cabfe5d0a88d6cd8d8733a582') or (LIBMD5Hash7 != '15f7138e8288ba302ee63d371867a1d3') or (LIBMD5Hash8 != '48285790f4f34b75aca5092c4465a552') or (LIBMD5Hash9 != '09d8d9d8e2e4830a9de0d3a69f500a29') or (LIBMD5Hash10 != 'f653314ecbee3ec7be2507624d8ef964') or (LIBMD5Hash11 != 'c85f4be83dd4a287f04d5760cc1d713f') or (LIBMD5Hash12 != '751fce06804a850e5247f1d1ffcc567180118ea3')):
   dbg.LogBox('Versuchte Modifikation am Lib-Ordner festgestellt..nBitte patche noch einmal !!')
   app.Exit()

Link to comment
Share on other sites

Pues me encontre la guia de donde lo saco, y esta exactamente igual. Por cierto, Fuente: EPVP Creditos: .PaiNCAkE

Y En la guia original tiene un PD que por traductor quedo asi: " No se olvide de Ajustar los hashes MD5 "

xD

Lo siento, no hay pa mas

Link to comment
Share on other sites

en ninguna parte escribi que es mio, todo que ago post de .py no es mio por que no se escribir eso

jo ise el post para compartir con ustedes,pero aqi ai muchos malagradesidos que no vale la pena

ai muchoas cosas tambien que ustedes no lo conosen pero jo qiero tambien ajudar para que ustedes sepan para que se usa.

la technica de aqi es mui desaprovechado en contra los alemanes

 

€dit. casi todos son malagradesido

a lo mejor es dejarlos ustedes jugar con piedra y palo, vamos a ver

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...