Posted
Hello, folks! Today I'll be showing you how to Rebase Addresses so your Sploit can work again!
(This is the old style way, you can use C++ apps which I will make soon for you guys!)
This is my example address > 7C8040 (fresh from IDA)
Make sure to add 0x after the address.
This is my address result > 0x07C8040
Time to rebase! You can use a calculator doesn't really matter.
Step 1: Head over to Hexadecimal to Decimal Converter (binaryhexconverter.com)
Step 2: Paste your result into the Hex Value.
My result was 8159296 aka the decimal/integer value.
Hopefully you passed math because we're gonna do math.
Step 3: Subtract value 4194304 with 8159296.
https://cdn.discordapp.com/attachments/793599976789114931/978431881240531005/unknown.png
My result came back as 3964992 by subtraction.
Step 4: Convert back into hex Decimal to Hexadecimal Converter (rapidtables.com)
Step 5: Input your subtracted value into the decimal number box.
Step 6: Press 'Convert' and the Hex number is your result!
https://cdn.discordapp.com/attachments/793599976789114931/978432231062241280/unknown.png
Step 7: My final hex-rebased results came back as 3C8040!
Step 8: Add 0x in front of 3C8040 so our final result is 0x3C8040
To use your calculated-address:
int imstupid = 0;
#define ASLRH(AS) (AS + NULL + (DWORD)GetModuleHandleA(imstupid))
So I would use ASLRH(0x3C8040) and should work!
(Also should I have a discord account?)
Luau
Replied
i guess this was supposed to be helpful but i'm more confused than i was at the start of the post
- why are you adding null
- why don't you subtract 0x400000 in the aslr macro
- what's the point of the imstupid variable
can't you just
#define aslr(addy) (addy - 0x400000 + (DWORD)GetModuleHandle(0))
Cancel
Post
"Questionable intellegence, but I like the mystery" - CubeFaces
https://cdn.discordapp.com/attachments/1136067487847415848/1138948596679589898/sig.png
Replied
Uhhhh this is old 🫠schooll
Cancel
Post
Luau
Replied
or just go into ida, and rebase it to 0x000000 and be done with it? overcomplicated.
Cancel
Post
https://media.discordapp.net/attachments/1044764388546068510/1051935933836050482/Signature_4.png
Replied
Maybe I am not good at C++, but I am sure it is overcomplicated.
As you said, just try to make an app that will get an addy or just rebase it,
and just release it to the public.
Cancel
Post
Random quote here...
Replied
bruh fyi **old school**
Cancel
Post
Luau
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Cancel
Post