| View previous topic :: View next topic |
| Author |
Message |
92Garfield I'm a spammer
Reputation: 57
Joined: 20 Dec 2007 Posts: 5871 Location: Banana Republic Germany
|
Posted: Tue Mar 18, 2008 12:22 pm Post subject: brute forcing VB6 |
|
|
i know the variable is:
_root.null.instance22.battle.aBuilding.9.player.aResource[0]
the red number is changing everytime the game is started (between 1 and 9999) i currently think how do i make VB6 brute forcing for the right one?
_________________
|
|
| Back to top |
|
 |
Pseudo Xero I post too much
Reputation: 0
Joined: 16 Feb 2007 Posts: 2607
|
Posted: Tue Mar 18, 2008 3:47 pm Post subject: Re: brute forcing VB6 |
|
|
| 92Garfield wrote: | i know the variable is:
_root.null.instance22.battle.aBuilding.9.player.aResource[0]
the red number is changing everytime the game is started (between 1 and 9999) i currently think how do i make VB6 brute forcing for the right one? |
Use a loop to try each number between 1 and 9999.
_________________
| haxory' wrote: | can't VB do anything??
windows is programmed using VB right? correct me if im wrong.
so all things in windows you have like the start menu is a windows form too. |
|
|
| Back to top |
|
 |
92Garfield I'm a spammer
Reputation: 57
Joined: 20 Dec 2007 Posts: 5871 Location: Banana Republic Germany
|
Posted: Tue Mar 18, 2008 4:01 pm Post subject: |
|
|
sure, but how?
_________________
|
|
| Back to top |
|
 |
Pseudo Xero I post too much
Reputation: 0
Joined: 16 Feb 2007 Posts: 2607
|
Posted: Tue Mar 18, 2008 4:25 pm Post subject: |
|
|
| 92Garfield wrote: | | sure, but how? |
We already posted examples for you.
_________________
| haxory' wrote: | can't VB do anything??
windows is programmed using VB right? correct me if im wrong.
so all things in windows you have like the start menu is a windows form too. |
|
|
| Back to top |
|
 |
Labyrnth Moderator
Reputation: 10
Joined: 28 Nov 2006 Posts: 6300
|
Posted: Tue Mar 18, 2008 5:17 pm Post subject: |
|
|
| Cant you just have it return the string so you can see what it is, instead of trying to brute it ?
|
|
| Back to top |
|
 |
92Garfield I'm a spammer
Reputation: 57
Joined: 20 Dec 2007 Posts: 5871 Location: Banana Republic Germany
|
Posted: Wed Mar 19, 2008 6:21 am Post subject: |
|
|
| Labyrnth wrote: | | Cant you just have it return the string so you can see what it is, instead of trying to brute it ? |
i dont understand what u mean sry.. the number is changing everytime the game is started
_________________
|
|
| Back to top |
|
 |
Haxory' Grandmaster Cheater Supreme
Reputation: 92
Joined: 30 Jul 2007 Posts: 1900
|
Posted: Wed Mar 19, 2008 8:36 am Post subject: |
|
|
you said the var changes when the game starts....
so you need to retrieve the var evrytime the game starts
if you know what the var is by bruteforcing you can, in a diffrent button set the scanned var + the rest of the variable for score
| Code: |
for x = 1 to 9999
Call Flash.setvariable("_root.null.instance" & x & "rest of your variable", 999999)
next x |
this if fucky i know but he doesn't understand the other way -.-
| Code: | for x = 1 to 9999
Label1.caption = Flash.getvariable("_root.null.instance" & x)
next x |
to set a variable when you found the parent one:
| Code: | | call Flash.setvariable(Label1.caption & "rest of a variable") |
this way you don't need to scan each time
_________________
you and me baby ain't nothing but mammals so lets do it like they do on the discovery channel |
|
| Back to top |
|
 |
92Garfield I'm a spammer
Reputation: 57
Joined: 20 Dec 2007 Posts: 5871 Location: Banana Republic Germany
|
Posted: Wed Mar 19, 2008 12:13 pm Post subject: |
|
|
| haxory' wrote: | you said the var changes when the game starts....
so you need to retrieve the var evrytime the game starts
if you know what the var is by bruteforcing you can, in a diffrent button set the scanned var + the rest of the variable for score
| Code: |
for x = 1 to 9999
Call Flash.setvariable("_root.null.instance" & x & "rest of your variable", 999999)
next x |
this if fucky i know but he doesn't understand the other way -.-
| Code: | for x = 1 to 9999
Label1.caption = Flash.getvariable("_root.null.instance" & x)
next x |
to set a variable when you found the parent one:
| Code: | | call Flash.setvariable(Label1.caption & "rest of a variable") |
this way you don't need to scan each time |
tis aint works i tried:
| Code: | on error rsume next
for i = 1 to 9999
label1.caption = SchockWaveFlash1.getvariable ("_root.null.instance" & i & "rest of variable")
next i |
but then he just always said the variable is:
_root.null.instance9999.rest fo variable
but i will try it later.. i'm a bit busy currently
_________________
|
|
| Back to top |
|
 |
dnsi0 I post too much
Reputation: 0
Joined: 04 Jan 2007 Posts: 2674
|
Posted: Wed Mar 19, 2008 8:04 pm Post subject: |
|
|
| modify it a bit. Be smart...
|
|
| Back to top |
|
 |
Pseudo Xero I post too much
Reputation: 0
Joined: 16 Feb 2007 Posts: 2607
|
Posted: Wed Mar 19, 2008 8:51 pm Post subject: |
|
|
| 92Garfield wrote: | | haxory' wrote: | you said the var changes when the game starts....
so you need to retrieve the var evrytime the game starts
if you know what the var is by bruteforcing you can, in a diffrent button set the scanned var + the rest of the variable for score
| Code: |
for x = 1 to 9999
Call Flash.setvariable("_root.null.instance" & x & "rest of your variable", 999999)
next x |
this if fucky i know but he doesn't understand the other way -.-
| Code: | for x = 1 to 9999
Label1.caption = Flash.getvariable("_root.null.instance" & x)
next x |
to set a variable when you found the parent one:
| Code: | | call Flash.setvariable(Label1.caption & "rest of a variable") |
this way you don't need to scan each time |
tis aint works i tried:
| Code: | on error rsume next
for i = 1 to 9999
label1.caption = SchockWaveFlash1.getvariable ("_root.null.instance" & i & "rest of variable")
next i |
but then he just always said the variable is:
_root.null.instance9999.rest fo variable
but i will try it later.. i'm a bit busy currently |
It's because he didn't add any checks to see if the variable exists.
_________________
| haxory' wrote: | can't VB do anything??
windows is programmed using VB right? correct me if im wrong.
so all things in windows you have like the start menu is a windows form too. |
|
|
| Back to top |
|
 |
Haxory' Grandmaster Cheater Supreme
Reputation: 92
Joined: 30 Jul 2007 Posts: 1900
|
Posted: Thu Mar 20, 2008 12:39 am Post subject: |
|
|
stop the quote chain!
and with boxhead the simple method worked
_________________
you and me baby ain't nothing but mammals so lets do it like they do on the discovery channel |
|
| Back to top |
|
 |
92Garfield I'm a spammer
Reputation: 57
Joined: 20 Dec 2007 Posts: 5871 Location: Banana Republic Germany
|
Posted: Thu Mar 20, 2008 8:31 am Post subject: |
|
|
i tried this:
| Code: | On Error Resume Next
For i = 1 To 9999
Call Form1.Flash.SetVariable("_root.null.instance" & i & ".battle.aBuilding.9.player.aResource[0]", 999999999)
Next i |
nothing happens
| dnsi0 wrote: | | modify it a bit. Be smart... |
if it's so simply just tell me the code lol or the missing part
_________________
|
|
| Back to top |
|
 |
MaximuS I post too much
Reputation: 3
Joined: 05 Apr 2007 Posts: 3212 Location: ......
|
Posted: Thu Mar 20, 2008 12:00 pm Post subject: |
|
|
try this and what game is it?
1 label and 1 command to get the instance first
| Code: | On Error Resume Next
For x = 1000 To 9999
Label1.Caption = Flash.GetVariable("_root.null.instance" & x)
Next x |
then 1 textbox or just put value and 1 command
| Code: | | Call Flash.SetVariable(Label1.Caption & ".battle.aBuilding.9.player.aResource(Note:: Remember to put the . in front of the var)", Text1.Text) |
+rep appreciated
|
|
| Back to top |
|
 |
92Garfield I'm a spammer
Reputation: 57
Joined: 20 Dec 2007 Posts: 5871 Location: Banana Republic Germany
|
Posted: Thu Mar 20, 2008 1:31 pm Post subject: |
|
|
| genson0 wrote: | try this and what game is it?
1 label and 1 command to get the instance first
| Code: | On Error Resume Next
For x = 1000 To 9999
Label1.Caption = Flash.GetVariable("_root.null.instance" & x)
Next x |
then 1 textbox or just put value and 1 command
| Code: | | Call Flash.SetVariable(Label1.Caption & ".battle.aBuilding.9.player.aResource(Note:: Remember to put the . in front of the var)", Text1.Text) |
+rep appreciated |
i will +rep the who get it working
tried this altought ive known it wont work
the variables begin alle like that...
the game is:
The leon wars
_________________
|
|
| Back to top |
|
 |
Pseudo Xero I post too much
Reputation: 0
Joined: 16 Feb 2007 Posts: 2607
|
Posted: Thu Mar 20, 2008 2:39 pm Post subject: |
|
|
| 92Garfield wrote: | i tried this:
| Code: | On Error Resume Next
For i = 1 To 9999
Call Form1.Flash.SetVariable("_root.null.instance" & i & ".battle.aBuilding.9.player.aResource[0]", 999999999)
Next i |
nothing happens
| dnsi0 wrote: | | modify it a bit. Be smart... |
if it's so simply just tell me the code lol or the missing part  |
It is simple. You're not willing to try it yourself though.
_________________
| haxory' wrote: | can't VB do anything??
windows is programmed using VB right? correct me if im wrong.
so all things in windows you have like the start menu is a windows form too. |
|
|
| Back to top |
|
 |
|