View Single Post
  #2  
Old 11-02-2016, 00:13
Storm Shadow's Avatar
Storm Shadow Storm Shadow is offline
Family
 
Join Date: Jun 2014
Posts: 281
Rept. Given: 186
Rept. Rcvd 191 Times in 78 Posts
Thanks Given: 138
Thanks Rcvd at 245 Times in 97 Posts
Storm Shadow Reputation: 100-199 Storm Shadow Reputation: 100-199
Quote:
Originally Posted by g0em0n View Post
Hi,this is python script for HeavenTools_PE Explorer_v1.99_R6
Please wait make rdat script.
Sorry for my bad english.
thank you.
missing some code at line 22

Code:
def byteorder_ToLittleEndian(m):
    return int(binascii.b2a_hex(struct.pack("
also modded i get same serial
no matter how i mod it
-------Serial---------
9F2218371EE5C68E
and that dont work!


that dont work, maybe you can post the good code

Code:
import string
import os
import struct
import binascii

#global variables
name = ""

#sub function
def create_name_table():
    os.system('cls')

    print u"input your name :"
    global name
    name = raw_input()
    return (binascii.hexlify(name) + "02" + "65656565656565656565656565656565")[0:32]

def split_DWORD(s,x):
    length = len(s)
    return [s[i:i+8] for i in range(0, length, 8)][x]

def byteorder_ToLittleEndian(m):
    return int(binascii.b2a_hex(struct.pack("b", (1*8))))

def xor(s,v):
    return (int(s) ^ int(v)).upper()

#main function
mystr = create_name_table()
print mystr
print "-------Serial---------"
v1 = byteorder_ToLittleEndian(split_DWORD(mystr,0)) ^ 0x3617E419
v2 = byteorder_ToLittleEndian(split_DWORD(mystr,1)) ^ 0xA935FC2E
v3 = byteorder_ToLittleEndian(split_DWORD(mystr,2)) ^ 0x57D872B9
v4 = byteorder_ToLittleEndian(split_DWORD(mystr,3)) ^ 0x493DB437
v5 = v1 ^ v2
v6 = v3 ^ v4
print format(v5,'x').upper() + format(v6,'x').upper()
Maybe it is just me , but looks like it only calculate v1 to v6 so no matter what input you get same results ?
__________________
The devil whispered in my ear, "you're not strong enough to withstand the storm."

Today I whispered in the devils ear, "I am the storm."

Last edited by Storm Shadow; 11-02-2016 at 02:48.
Reply With Quote
The Following 4 Users Say Thank You to Storm Shadow For This Useful Post:
emo (02-19-2017), g0em0n (11-02-2016), ontryit (11-04-2016), tonyweb (11-02-2016)