Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Programming
You last visited: Today at 16:16

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

Advertisement



client port bypassing

Discussion on client port bypassing within the CO2 Programming forum part of the Conquer Online 2 category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2014
Posts: 11
Received Thanks: 0
client port bypassing

hi, guys

How to bypass my conquer client to redirect it on my localhost and specific port that i will define other than 9959, 9960 and 5816.

I know how to redirect it using the example on this site but but it never change the ports being used in co client

P.S:i know conquer loader available on the epvp but its detectable by co antibot so i want a sample code to add it to my own program

i got this code from someone here on forums it can easily bypass the ip ... but i also WANT TO bypass port ... can anyone give sample code for it?

code:
public static int connect(uint PID, string IPAdd)
{
IntPtr ws2Handle = native.LoadLibrary("WS2_32.dll");
if (ws2Handle == null)
{
native.FreeLibrary(ws2Handle);
return 1;
}
IntPtr cHandle = native.OpenProcess(enumProcessAccessFlags.VMOperat ion | enumProcessAccessFlags.VMRead | enumProcessAccessFlags.VMWrite | enumProcessAccessFlags.All, true, PID);
if (cHandle == null)
{
native.FreeLibrary(ws2Handle);
return 2;
}
IntPtr inet_addr = native.GetProcAddress(native.GetModuleHandle("WS2_ 32.dll"), "inet_addr");
if (inet_addr == null)
{
native.FreeLibrary(ws2Handle);
return 3;
}
byte[] buffer = { 0xb8, 0x0, 0x0, 0x0, 0x0, 0xc2, 0x4, 0x0, 0x90, 0x90 };
byte[] byteIPaddress = IPAddress.Parse(IPAdd).GetAddressBytes();
System.Buffer.BlockCopy(byteIPaddress, 0, buffer, 1, byteIPaddress.Length);

//Get the original value
if (firstflg)
{
int bytesRead = 0;
native.ReadProcessMemory(cHandle, inet_addr, bufferread, (uint)bufferread.Length, out bytesRead);
firstflg = false;
}
int bytesWritten = 0;
if (!native.WriteProcessMemory(cHandle, inet_addr, buffer, (uint)buffer.Length, out bytesWritten))
{
native.FreeLibrary(ws2Handle);
return 4;
}
native.CloseHandle(cHandle);
native.FreeLibrary(ws2Handle);
return 0;
}
PayUpSucka is offline  
Old 12/12/2015, 07:09   #2
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,191
You need to overload the function, not the function. The later has nothing to do with ports. Ports come in with the connect function's "name" parameter, which is composed of the address family, port, and address. Also, there's no way in hell I'm giving you "sample code" since I know you just ******* copy and pasted this ****. This should be more than enough for you to code the changes in. Know that C# really isn't the best for this either, not that you care.
Spirited is offline  
Thanks
1 User
Old 12/12/2015, 07:33   #3
 
elite*gold: 0
Join Date: Dec 2014
Posts: 11
Received Thanks: 0
Quote:
Originally Posted by Spirited View Post
You need to overload the function, not the function. The later has nothing to do with ports. Ports come in with the connect function's "name" parameter, which is composed of the address family, port, and address. Also, there's no way in hell I'm giving you "sample code" since I know you just ******* copy and pasted this ****. This should be more than enough for you to code the changes in. Know that C# really isn't the best for this either, not that you care.
just don't know whats the problem copying and pasting that ****... you already know im copied it from the previous thread... i don't see anything wrong with it .. my main question is the code because in a away or another i can always easily bypass the ip ... but the port ... im not expert with it
PayUpSucka is offline  
Old 12/12/2015, 07:44   #4
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,191
Quote:
Originally Posted by PayUpSucka View Post
just don't know whats the problem copying and pasting that ****... you already know im copied it from the previous thread... i don't see anything wrong with it .. my main question is the code because in a away or another i can always easily bypass the ip ... but the port ... im not expert with it
Well, it's a good thing you don't need to be an expert then. You have the example you desired, and I told you how to do it. I'm not going to hold your hand and do your work. In fact, if you're that lazy not to learn coding but then to demand that we help you, you could probably find a few articles for detouring the connect function.
Spirited is offline  
Old 12/12/2015, 12:07   #5
 
elite*gold: 0
Join Date: Dec 2014
Posts: 11
Received Thanks: 0
Quote:
Originally Posted by Spirited View Post
Well, it's a good thing you don't need to be an expert then. You have the example you desired, and I told you how to do it. I'm not going to hold your hand and do your work. In fact, if you're that lazy not to learn coding but then to demand that we help you, you could probably find a few articles for detouring the connect function.
well not to mention i tried every thing possible and everything failed ... if there is 1 pct i can know the codes myself i would never bother asking here..
PayUpSucka is offline  
Old 12/12/2015, 18:16   #6
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,191
Quote:
Originally Posted by PayUpSucka View Post
well not to mention i tried every thing possible and everything failed ... if there is 1 pct i can know the codes myself i would never bother asking here..
Demanding code isn't permitted in this section. If you don't know how to code, that's your problem, not ours. This is a programming community. You posted to a programming forum. See where I'm getting at? Demanding code is a rule violation here.
Spirited is offline  
Thanks
1 User
Closed Thread


Similar Threads Similar Threads
Client bypass by changing both ip and port
12/05/2015 - CO2 Programming - 7 Replies
How to bypass my conquer client to redirect it on my localhost and specific port that i will define other than 9959, 9960 and 5816. I know how to redirect it using the example on this site but but it never change the ports being used in co client.:confused:
Wo finde ich den Port auf den der Client zugreift :O
05/09/2012 - Flyff Private Server - 4 Replies
Hay liebe Leut, kurze frage unzwar wo finde ich den Port auf den der Client zugreift :O Ist das in der Neuz ( mit Resource hacker geöffnet unter String table unter 5400 der wert ? Danke im vorraus zwar nur eine Kleine frage aber will einen AH zum leufen bringen :)
Client Port!
04/27/2012 - Flyff Private Server - 23 Replies
Hallo Elitepvpers, Wo kann mann den denn Client port sehen habe es vergessen :confused:
V4a-Client,Server-Ip,Port,Exe etc.
01/16/2012 - Metin2 Private Server - 0 Replies
Hallo Leute, Ich habe eine Bitte und möchte euch fragen wie die ServerIP ChannelPort etc. heissen wir dort aufgeführt für Zephion... v4a-client.tk unter Update Section... Hier ist noch der Server... Bitte um Hilfe :** Zephion <--- Das ist noch der Server Lg Philipp P.s: Sorry bin 15 und noch ein wenig unerfahren.. Mit netstat -ano in cmd finde ich serverIp nicht ;(
[Metin2]Port im client einbauen
03/18/2011 - Metin2 Private Server - 1 Replies
Hi leute wie kann ich ein port im client einbauen ich will auf einem server connecten aber da kommt immer du wirsd mit dem server verbunden .... Ich muss im client port : 16001 irgendwo einfügen oder Pong einfügen das weiß ich nich genau :( hilft mir ma pls und wo kann man es tun :/ pls helfen THxxxxxxxxx MfG



All times are GMT +1. The time now is 16:18.


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.