Not a member yet? Register for your free account!


Go Back   elitepvpers > Conquer Online 2 > CO2 Main - Discussions / Questions > CO2 Programming
You last visited: Today at 10:32

  • Did you know? elitepvpers has its own image host, epvpimg.com.

 

[RELEASE][.NET] Hooking library, take two

This is a discussion on [RELEASE][.NET] Hooking library, take two within the CO2 Programming forum part of the CO2 Main - Discussions / Questions category; August 5th, 2012 update: Restrictions are fixed, meaning you will no longer get banned for using this library New hooking ...

Closed Thread
 
Thread Tools
Old 04-25-2012, 21:28   #1
Banned
 
Join Date: Aug 2007
Posts: 1,760
Received Thanks: 2,187
[RELEASE][.NET] Hooking library, take two


August 5th, 2012 update: Restrictions are fixed, meaning you will no longer get banned for using this library

New hooking library + sample + source. Enjoy.

It probably has bugs (I'm terrible at C#)
I might make a tutorial on how to use although the sample should be enough
Feel free to ask any questions in the thread

Belth's guide on how to find some important memory addresses (Remember to thank him):

Quote:
Originally Posted by Belth View Post
5609 Addresses:
SendPacketFunction = 0x6C8F56
ReceiveLoop = 0x6C9833

This is how I find the addresses:

Recv Loop
1. Search all referenced text strings for "catch error in process msg" without quotes.
2. Trace back until I find "TEST EAX, EAX" followed by "JNZ SHORT <ADDRESS>".

Send Packet Function
1. Search for the binary string "55 8D AC 24 FC DF FF FF B8 04 20 00 00".

Removing the "You can't jump that far." message
1. Search for the constant 186C0.
2. Trace back to the first "JLE <ADDRESS>" command.
3. Replace JLE (7E) with JMP (EB).
*Note: doing this also means that you can attempt to jump further than the server allows (which will disconnect you) so you should validate all jump packets from the client.

Lock client at 60 FPs
1. Search all intermodular calls for Kernel32.Sleep.
2. Trace back and find ADD ECX, 19.
3. Trace back and find LEA EDX, DWORD PTR DS:[ECX+19].
4. Change 19 to another value. The lower the value the higher the FPS and the reverse is true. I use a value of 10 for 60 FPS.


Yes it's very rudimentary as I am as much a noob at this as anyone.
Attached Files
File Type: rar HookingTest.rar (60.6 KB, 223 views)
File Type: rar ConquerTestBot.rar (199.9 KB, 335 views)
File Type: rar Hooking.rar (10.2 KB, 93 views)
__________________


Last edited by IAmHawtness; 08-05-2012 at 02:59.
IAmHawtness is offline  
Thanks
21 Users
-Sensei- (05-09-2012), -Shunsui- (04-25-2012), Belth (04-26-2012), Captivate (08-05-2012), ConquerServer (08-05-2012), dego4ever (05-18-2012), denominator (04-27-2012), DyjgK64J451Jhv0 (04-25-2012), I don't have a username (04-26-2012), itachi26 (04-25-2012), KraHen (05-01-2012), metallica556 (08-13-2012), pro4never (05-29-2012), Real~Death (04-26-2012), ruievmonteiro (04-26-2012), shitboi (08-21-2012), stickray (05-29-2012), trash (04-26-2012), XMasterrrr (04-25-2012), Zeroxelli (06-26-2012), { Angelius } (04-26-2012)
Old 04-25-2012, 21:41   #2
CodeMaster
 
Join Date: Jul 2011
Posts: 80
Received Thanks: 8
I take a look quicky!

EDIT :
Quote:
private const uint SendPacketAddress = 0x6BFD0C;
private const uint RecvPacketLoopAddress = 0x6C05E8;
How do you know that?

Last edited by itachi26; 04-25-2012 at 21:47.
itachi26 is offline  
Old 04-25-2012, 21:54   #3
Banned
 
Join Date: Aug 2007
Posts: 1,760
Received Thanks: 2,187
Quote:
Originally Posted by itachi26 View Post
I take a look quicky!

EDIT :

How do you know that?
Because I found the addresses using olly
IAmHawtness is offline  
Old 04-25-2012, 22:06   #4
CodeMaster
 
Join Date: Jul 2011
Posts: 80
Received Thanks: 8
Well, I've already tried to open up conquer.exe with olly, and it's just a mess... Is there any tutorial to learn or it is logical?
itachi26 is offline  
Old 04-25-2012, 22:16   #5
Banned
 
Join Date: Aug 2007
Posts: 1,760
Received Thanks: 2,187
Quote:
Originally Posted by itachi26 View Post
Well, I've already tried to open up conquer.exe with olly, and it's just a mess... Is there any tutorial to learn or it is logical?
There are plenty of olly tutorials around, just search for them
IAmHawtness is offline  
Old 04-25-2012, 22:23   #6
CodeMaster
 
Join Date: Jul 2011
Posts: 80
Received Thanks: 8
Okay, I will take a look later. At the moment, the most important thing is to learn how to code in C#, thanks for your advises!
itachi26 is offline  
Old 04-25-2012, 22:57   #7
ConquerAI Mod
 
-Shunsui-'s Avatar
 
Join Date: Apr 2008
Posts: 1,078
Received Thanks: 303
Changes?
-Shunsui- is offline  
Old 04-25-2012, 23:05   #8
Banned
 
Join Date: Aug 2007
Posts: 1,760
Received Thanks: 2,187
Quote:
Originally Posted by -Shunsui- View Post
Changes?
Uhm, it's a whole different library, the old one was in VB, this one is completely different.
IAmHawtness is offline  
Thanks
1 User
-Shunsui- (04-25-2012)
Old 04-25-2012, 23:11   #9
Sexy Moderator
 
pro4never's Avatar
 
Join Date: Jul 2005
Posts: 6,682
Received Thanks: 3,835
You make me so hot
pro4never is offline  
Old 04-26-2012, 15:35   #10
Junior Member
 
Join Date: Feb 2012
Posts: 16
Received Thanks: 2
Did you correct the cpu usage problems that sometimes happened with your old lib? Guess Angelius said those were solved after parsing the exceptions thrown at the debug loop
ruievmonteiro is offline  
Closed Thread

Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Demo-Release] Blackboard Library 2.1 AkiraSoul Coding Releases 11 08-17-2012 01:34
[Release] Advanced hooking IAmHawtness CO2 Programming 187 05-07-2012 12:39
Release Library RunzelEier Maestia 5 10-12-2011 18:29
[Release]Big Script Library tzuasd Private SRO Exploits/Hacks/Bots/Guides 0 07-25-2010 20:08
C++ D3D Hooking asdasd4568 C/C++ 12 08-24-2009 18:30




All times are GMT +2. The time now is 10:32.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.