Jump to content

Recommended Posts

Posted

I have to read code from a .exe that is not visable to you.

This code is trying to be read by autoit.

Autoit only knows to show 0-9.

The code i need runs from 0-9 and a-f.

I am going to have to write the code all out myself.

But it will be usfull to lots.

The program im making is really cool and will open a dore in autoit. :D

Visit mEMy programs made.Iul - IulG-V Console - G-V Console_RandomLetter - _RandomLetter()Saftey Kill - Saftey Killcolorzone() = colorzone()
Posted

according to a PM he sent me, i think he's trying to make a 2 digit hex number out of a decimal number (so like 1=01, 9=09, 10=0A)...but he hasn't answered me yet how this is different than Hex($decimal,2)...

Posted (edited)

; String -> Hex
$hex = "0x" & Hex(BinaryString(FileRead($file)))
; Hex -> String
$unhex = BinaryString($hex)

It should only take around a minute. Just make sure you have that "0x" in front before unhexing it. :D

Edited by erifash

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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