| View previous topic :: View next topic |
| Author |
Message |
grostrich Newbie cheater
Reputation: 0
Joined: 13 May 2007 Posts: 11
|
Posted: Tue Jun 12, 2007 12:55 pm Post subject: How do I script? |
|
|
Ok I already knew about scanning to find hacks(which were mostly cs) and i already made sum hacks a long time ago wen i first learned about scanning. The thing I want to know is how to turn an address into a script.
I know basic assembly so I understand a few things but what do we have to have it to where it je (the address) & jne(the address for it to work). I truly have no idea about turning an address into a script. So that is what i need help on. But then again maybe I need to check more asm guides.
btw ive been looking for scripting guides for a while but i guess i suck at looking.
Well thanx for even reading this long ass post 0_0 and any help is appreciated.
|
|
| Back to top |
|
 |
assaf84 Expert Cheater
Reputation: 0
Joined: 03 Oct 2006 Posts: 238
|
Posted: Tue Jun 12, 2007 1:03 pm Post subject: |
|
|
When u have a JE, u should change it to a NOP or to a JMP usually, cause u want the CPU to go/not to go to the next line, so u make it an undependet jump or just "delete" this opcode by replacing it to a nop. in script it'll look like this:
| Code: |
[ENABLE]
address:
nop
nop
[DISABLE]
address:
je anotheraddress
|
You could find more explanations in the search function..
|
|
| Back to top |
|
 |
grostrich Newbie cheater
Reputation: 0
Joined: 13 May 2007 Posts: 11
|
Posted: Tue Jun 12, 2007 1:15 pm Post subject: |
|
|
in your post u said to nop it and the je another address, what would be the other address i would have to jump it to?
realized this might be the wrong section, is there a way I can move it?
|
|
| Back to top |
|
 |
assaf84 Expert Cheater
Reputation: 0
Joined: 03 Oct 2006 Posts: 238
|
Posted: Tue Jun 12, 2007 9:11 pm Post subject: |
|
|
the code before was:
this is the address i meant.
|
|
| Back to top |
|
 |
Renkokuken GO Moderator
Reputation: 4
Joined: 22 Oct 2006 Posts: 3249
|
Posted: Tue Jun 12, 2007 9:26 pm Post subject: |
|
|
| You know, Nopping and jump inversions aren't everything.
|
|
| Back to top |
|
 |
assaf84 Expert Cheater
Reputation: 0
Joined: 03 Oct 2006 Posts: 238
|
Posted: Wed Jun 13, 2007 4:04 am Post subject: |
|
|
| Try understanding the more complex hacks, with some code caving, this may help u understand how things going
|
|
| Back to top |
|
 |
grostrich Newbie cheater
Reputation: 0
Joined: 13 May 2007 Posts: 11
|
Posted: Sun Jun 17, 2007 5:30 pm Post subject: |
|
|
but I thought if u used je you would have to use jne Or maybe im learning this the wrong way
edit renkokuken I know I was just trying to make a basic script for an address there are probably many other ways but i only know the basics for now
|
|
| Back to top |
|
 |
Progression Grandmaster Cheater Supreme
Reputation: 1
Joined: 22 Mar 2007 Posts: 1541
|
Posted: Sun Jun 17, 2007 5:53 pm Post subject: |
|
|
| grostrich wrote: | but I thought if u used je you would have to use jne Or maybe im learning this the wrong way
edit renkokuken I know I was just trying to make a basic script for an address there are probably many other ways but i only know the basics for now  |
You have to use the opposed code
Meaning JE converts to JNE.
_________________
|
|
| Back to top |
|
 |
grostrich Newbie cheater
Reputation: 0
Joined: 13 May 2007 Posts: 11
|
Posted: Sun Jun 17, 2007 6:06 pm Post subject: |
|
|
| thats what i said so what i posted above would be correct then? im just making sure cause thats how i thought it was.(he said je inverts to jmp but i was confused and thinking wtf).
|
|
| Back to top |
|
 |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Sun Jun 17, 2007 6:54 pm Post subject: |
|
|
| grostrich wrote: | | thats what i said so what i posted above would be correct then? im just making sure cause thats how i thought it was.(he said je inverts to jmp but i was confused and thinking wtf). |
Hes a dumbfuck. Let's say you were trying to make godmode for v38 (yes I know its v39) you would scan. You should get the address 006803ec. If you go to that address in memory view its opcode will be je 0068113e. That is when it is enabled. And since jne is the opposite of je you would do this.
| Code: |
[enable]
006803ec:
je 0068113e
[disable]
006803ec
jne 0068113e //not the jne and not the je
|
Now if you were going to do a people scanner thing (i.e auto crash) you would do this. Mind this uses allocating because your not just using addies.
| Code: |
[enable]
alloc(Compare, 1024) //This is quite a bit of memory, you could shorten this quite a bit if you wanted it would be more efficient.
alloc(Crash, 4)
Compare:
mov edi, [7d822c] //moving the pointer address's value for people scanner into edi
cmp [edi+2C], 00 //compares the value of edi + the offset of poeple scanner to 00 or 0
e Compare //if its equals 0 jump to Compare which would restart the cycle
jne Crash //if it isn't equal jump to crash which will crash you
Crash:
jmp 0
[disable]
dealloc(Compare)
dealloc(Crash)
|
_________________
| 8D wrote: |
cigs dont make people high, which weed does, which causes them to do bad stuff. like killing |
|
|
| Back to top |
|
 |
DeltaFlyer Grandmaster Cheater
Reputation: 0
Joined: 22 Jul 2006 Posts: 666
|
Posted: Sun Jun 17, 2007 7:01 pm Post subject: |
|
|
Your post is, as usual, wrong.
_________________
Wow.... still working at 827... what's INCA thinking?
zomg l33t hax at this place (IE only). Over 150 people have used it, what are YOU waiting for? |
|
| Back to top |
|
 |
sponge I'm a spammer
Reputation: 1
Joined: 07 Nov 2006 Posts: 6009
|
Posted: Sun Jun 17, 2007 7:03 pm Post subject: |
|
|
| RaverRage wrote: | | grostrich wrote: | but I thought if u used je you would have to use jne Or maybe im learning this the wrong way
edit renkokuken I know I was just trying to make a basic script for an address there are probably many other ways but i only know the basics for now  |
You have to use the opposed code
Meaning JE converts to JNE. |
no you don't its better doing full jump or no jump.... nop or jmp.
_________________
|
|
| Back to top |
|
 |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Sun Jun 17, 2007 7:36 pm Post subject: |
|
|
Would you please explain that logic Mr.Sponge?
_________________
| 8D wrote: |
cigs dont make people high, which weed does, which causes them to do bad stuff. like killing |
|
|
| Back to top |
|
 |
Renkokuken GO Moderator
Reputation: 4
Joined: 22 Oct 2006 Posts: 3249
|
Posted: Sun Jun 17, 2007 7:46 pm Post subject: |
|
|
| oib111 wrote: | | Would you please explain that logic Mr.Sponge? | In that case, if the value that passes is a dynamic value, you'll always see the result of it jumping or not jumping.
Example:
cmp eax, 3824 (EAX is 12 this time)
JB 00001337 (jumped)
However, if the value that passes by is dynamic...
cmp eax, 3824 (EAX this time, is 453453)
JB 00001337 (Ho noes, didn't jump)
|
|
| Back to top |
|
 |
|