Register for your free account! | Forgot your password?

You last visited: Today at 07:45

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



VB6 ftw

Discussion on VB6 ftw within the CO2 Programming forum part of the Conquer Online 2 category.

Reply
 
Old 05/14/2009, 01:40   #31
 
elite*gold: 0
Join Date: Mar 2009
Posts: 427
Received Thanks: 479
Quote:
Originally Posted by bugaboo View Post
that's better than all jumping as a massive bunch, but still looks like a choo choo train... not something you normally see in game.
then try...

a -> c -> e
b -> c
d -> e

all at different delays... or something like that, ne thing to make it look random
ookamocka is offline  
Old 05/14/2009, 15:28   #32
 
elite*gold: 0
Join Date: Apr 2006
Posts: 19
Received Thanks: 6
If you watch the archers plvl in BI, you almost always see one noob on follow. why not make one of them imitate the normal follow by running to the location instead of jumping, unless you are simply after speed. If you are going for realisitic this would go far.
lazlo is offline  
Old 05/18/2009, 18:00   #33
 
Real~Death's Avatar
 
elite*gold: 0
Join Date: Jun 2007
Posts: 1,272
Received Thanks: 246
this a trojan or what?avg free says so(avg gives a lot of false positives i know)but why hasswnt anyone said anything or cllosed the thread.if you actualy did get asm to work in vb6 id love to see the source
Real~Death is offline  
Old 05/18/2009, 18:32   #34
 
elite*gold: 0
Join Date: Mar 2009
Posts: 427
Received Thanks: 479
Quote:
Originally Posted by Real~Death View Post
this a trojan or what?avg free says so(avg gives a lot of false positives i know)but why hasswnt anyone said anything or cllosed the thread.if you actualy did get asm to work in vb6 id love to see the source
because this is legit and those are false positives, i've seen the source code myself AND i've seen it done in AutoIt, i know cuz i'm using it for AutoIt for a bot i've already made right now :-P . . .
ookamocka is offline  
Old 05/18/2009, 18:48   #35
 
Real~Death's Avatar
 
elite*gold: 0
Join Date: Jun 2007
Posts: 1,272
Received Thanks: 246
vb6 usaualy dossent dive false pos.maby its the packer giving it?
"Trojan horse BackDoor.Hupigon5.FVI";"Infected"

btw-nothin aginst IAmHawtness i just find it suspious
Real~Death is offline  
Old 05/18/2009, 20:00   #36
 
elite*gold: 0
Join Date: Mar 2009
Posts: 427
Received Thanks: 479
Quote:
Originally Posted by Real~Death View Post
vb6 usaualy dossent dive false pos.maby its the packer giving it?
"Trojan horse BackDoor.Hupigon5.FVI";"Infected"

btw-nothin aginst IAmHawtness i just find it suspious
vb6 usually doesn't play around w/ asm either... maybe that brought up the false positive? :-P
ookamocka is offline  
Thanks
1 User
Old 05/18/2009, 20:04   #37
 
Real~Death's Avatar
 
elite*gold: 0
Join Date: Jun 2007
Posts: 1,272
Received Thanks: 246
Quote:
Originally Posted by ookamocka View Post
vb6 usually doesn't play around w/ asm either... maybe that brought up the false positive? :-P
well i take back what i said,i just reinstalled vb6 and made a few simple apps and seems all came up as trojans.....sorry for the mistake
Real~Death is offline  
Old 05/18/2009, 21:15   #38
 
elite*gold: 20
Join Date: Aug 2007
Posts: 1,749
Received Thanks: 2,199
Quote:
Originally Posted by Real~Death View Post
well i take back what i said,i just reinstalled vb6 and made a few simple apps and seems all came up as trojans.....sorry for the mistake
Yeah, I don't really know what's causing the backdoor, but it's safe. I'll send the source code to you if you want.
IAmHawtness is offline  
Thanks
1 User
Old 05/18/2009, 23:45   #39
 
elite*gold: 0
Join Date: Jun 2006
Posts: 965
Received Thanks: 576
Btw, that clsASM class is extremely unsafe.

RThwnd = CreateRemoteThread(h, ByVal 0&, 0, ByVal tmp_Addr, ByVal 0&, ByVal 0&, ByVal 0&)
VirtualFreeEx h, tmp_Addr, UBound(AsmCode) + 1, MEM_RELEASE

You are executing the code and then right away trying to free it.
high6 is offline  
Thanks
1 User
Old 05/19/2009, 10:09   #40
 
elite*gold: 20
Join Date: Aug 2007
Posts: 1,749
Received Thanks: 2,199
Quote:
Originally Posted by high6 View Post
Btw, that clsASM class is extremely unsafe.

RThwnd = CreateRemoteThread(h, ByVal 0&, 0, ByVal tmp_Addr, ByVal 0&, ByVal 0&, ByVal 0&)
VirtualFreeEx h, tmp_Addr, UBound(AsmCode) + 1, MEM_RELEASE

You are executing the code and then right away trying to free it.
Every single example I've seen with code injection, be it C#, Visual Basic, C++, etc., have all done it in a similar way. I don't see what's so bad about releasing the memory after it's been executed. It's not needed anymore anyways? :s
IAmHawtness is offline  
Old 05/19/2009, 10:13   #41
 
elite*gold: 0
Join Date: Jun 2006
Posts: 965
Received Thanks: 576
Quote:
Originally Posted by IAmHawtness View Post
Every single example I've seen with code injection, be it C#, Visual Basic, C++, etc., have all done it in a similar way. I don't see what's so bad about releasing the memory after it's been executed. It's not needed anymore anyways? :s
I am not arguing that. I am saying, you are trying to free it while it is executing...

Google WaitForSingleObject.

Not sure exactly what happens but I am guessing it doesn't free the memory because it is in use. Try calling GetLastError and see what it gives.
high6 is offline  
Thanks
1 User
Old 05/19/2009, 10:48   #42
 
elite*gold: 20
Join Date: Aug 2007
Posts: 1,749
Received Thanks: 2,199
Quote:
Originally Posted by high6 View Post
I am not arguing that. I am saying, you are trying to free it while it is executing...

Google WaitForSingleObject.

Not sure exactly what happens but I am guessing it doesn't free the memory because it is in use. Try calling GetLastError and see what it gives.
Okay, I can see that you're right now. It returns error 87.

However, if I use this:

Code:
VirtualFreeEx h, tmp_Addr, UBound(AsmCode) + 1, MEM_DECOMMIT
VirtualFreeEx h, tmp_Addr, UBound(AsmCode) + 1, MEM_RELEASE
Instead of MEM_RELEASE only, it doesn't return any error at all.
IAmHawtness is offline  
Old 05/19/2009, 11:53   #43
 
elite*gold: 0
Join Date: Jun 2006
Posts: 965
Received Thanks: 576
Quote:
Originally Posted by IAmHawtness View Post
Okay, I can see that you're right now. It returns error 87.

However, if I use this:

Code:
VirtualFreeEx h, tmp_Addr, UBound(AsmCode) + 1, MEM_DECOMMIT
VirtualFreeEx h, tmp_Addr, UBound(AsmCode) + 1, MEM_RELEASE
Instead of MEM_RELEASE only, it doesn't return any error at all.


Says to not use them together.

Either way, not returning an error doesn't mean it is safe...
high6 is offline  
Old 05/19/2009, 12:11   #44
 
elite*gold: 20
Join Date: Aug 2007
Posts: 1,749
Received Thanks: 2,199
Quote:
Originally Posted by high6 View Post


Says to not use them together.

Either way, not returning an error doesn't mean it is safe...
Okay, weird 'cause it works just fine.

This works, too, though:

Code:
Do
Ret = WaitForSingleObject(RThwnd, 100)
DoEvents
Loop Until Ret <> WAIT_TIMEOUT

VirtualFreeEx h, ByVal tmp_Addr, 0, ByVal MEM_RELEASE
So since the msdn says not to use MEM_DECOMMIT and MEM_RELEASE together, I guess I should stick to the above code.
IAmHawtness is offline  
Old 05/19/2009, 12:42   #45
 
clintonselke's Avatar
 
elite*gold: 0
Join Date: Feb 2007
Posts: 348
Received Thanks: 2,175
Quote:
Originally Posted by IAmHawtness View Post
Okay, weird 'cause it works just fine.

This works, too, though:

Code:
Do
Ret = WaitForSingleObject(RThwnd, 100)
DoEvents
Loop Until Ret <> WAIT_TIMEOUT

VirtualFreeEx h, ByVal tmp_Addr, 0, ByVal MEM_RELEASE
So since the msdn says not to use MEM_DECOMMIT and MEM_RELEASE together, I guess I should stick to the above code.
I wouldn't use WAIT_TIMEOUT, i would use WAIT_OBJECT_0, bcuz timeout is just ur 100 ms (even though i would dout it would take longer than 100ms to execute the code).

Also i'd just use the following by itself as u have
VirtualFreeEx h, ByVal tmp_Addr, 0, ByVal MEM_RELEASE

in my code i use 1000 ms, and doesn't delay for that long. Just delays for the time it takes for ur remote thread to terminate.
clintonselke is offline  
Thanks
1 User
Reply




All times are GMT +1. The time now is 07:45.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.