Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


brute forcing VB6
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
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

PostPosted: Tue Mar 18, 2008 12:22 pm    Post subject: brute forcing VB6 Reply with quote

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
View user's profile Send private message
Pseudo Xero
I post too much
Reputation: 0

Joined: 16 Feb 2007
Posts: 2607

PostPosted: Tue Mar 18, 2008 3:47 pm    Post subject: Re: brute forcing VB6 Reply with quote

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
View user's profile Send private message
92Garfield
I'm a spammer
Reputation: 57

Joined: 20 Dec 2007
Posts: 5871
Location: Banana Republic Germany

PostPosted: Tue Mar 18, 2008 4:01 pm    Post subject: Reply with quote

sure, but how?
_________________
Back to top
View user's profile Send private message
Pseudo Xero
I post too much
Reputation: 0

Joined: 16 Feb 2007
Posts: 2607

PostPosted: Tue Mar 18, 2008 4:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6300

PostPosted: Tue Mar 18, 2008 5:17 pm    Post subject: Reply with quote

Cant you just have it return the string so you can see what it is, instead of trying to brute it ?
Back to top
View user's profile Send private message
92Garfield
I'm a spammer
Reputation: 57

Joined: 20 Dec 2007
Posts: 5871
Location: Banana Republic Germany

PostPosted: Wed Mar 19, 2008 6:21 am    Post subject: Reply with quote

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
View user's profile Send private message
Haxory'
Grandmaster Cheater Supreme
Reputation: 92

Joined: 30 Jul 2007
Posts: 1900

PostPosted: Wed Mar 19, 2008 8:36 am    Post subject: Reply with quote

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
View user's profile Send private message
92Garfield
I'm a spammer
Reputation: 57

Joined: 20 Dec 2007
Posts: 5871
Location: Banana Republic Germany

PostPosted: Wed Mar 19, 2008 12:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
dnsi0
I post too much
Reputation: 0

Joined: 04 Jan 2007
Posts: 2674

PostPosted: Wed Mar 19, 2008 8:04 pm    Post subject: Reply with quote

modify it a bit. Be smart...
Back to top
View user's profile Send private message
Pseudo Xero
I post too much
Reputation: 0

Joined: 16 Feb 2007
Posts: 2607

PostPosted: Wed Mar 19, 2008 8:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
Haxory'
Grandmaster Cheater Supreme
Reputation: 92

Joined: 30 Jul 2007
Posts: 1900

PostPosted: Thu Mar 20, 2008 12:39 am    Post subject: Reply with quote

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
View user's profile Send private message
92Garfield
I'm a spammer
Reputation: 57

Joined: 20 Dec 2007
Posts: 5871
Location: Banana Republic Germany

PostPosted: Thu Mar 20, 2008 8:31 am    Post subject: Reply with quote

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 Rolling Eyes

_________________
Back to top
View user's profile Send private message
MaximuS
I post too much
Reputation: 3

Joined: 05 Apr 2007
Posts: 3212
Location: ......

PostPosted: Thu Mar 20, 2008 12:00 pm    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
92Garfield
I'm a spammer
Reputation: 57

Joined: 20 Dec 2007
Posts: 5871
Location: Banana Republic Germany

PostPosted: Thu Mar 20, 2008 1:31 pm    Post subject: Reply with quote

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
View user's profile Send private message
Pseudo Xero
I post too much
Reputation: 0

Joined: 16 Feb 2007
Posts: 2607

PostPosted: Thu Mar 20, 2008 2:39 pm    Post subject: Reply with quote

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 Rolling Eyes

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites