|
You last visited: Today at 09:14
Advertisement
[Sharing] Kiss Rank Packets sniff.
Discussion on [Sharing] Kiss Rank Packets sniff. within the CO2 Private Server forum part of the Conquer Online 2 category.
05/10/2013, 18:26
|
#1
|
elite*gold: 0
Join Date: Jul 2008
Posts: 874
Received Thanks: 239
|
[Sharing] Kiss Rank Packets sniff.
Hey all.
somehow i handled to be in the Kiss rank (New Server ).
So i sniff the rank to try to make it and i decided to share my sniffing so it could help someone
PHP Code:
50 00 7F 04 02 00 00 00 12 C5 C9 01 00 00 00 00 01 00 00 00 00 00 00 00 37 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 CA 63 0F 00 CA 63 0F 00 41 62 64 F4 B5 4D 61 86 AE 69 78 00 00 00 00 00 41 62 64 F4 B5 4D 61 86 AE 69 78 00 00 00 00 00
PHP Code:
48 02 7F 04 01 00 00 00 12 C5 C9 01 37 00 00 00 0A 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 0C 00 00 00 00 00 00 00 F7 48 0F 00 F7 48 0F 00 7C B0 95 2E 5A E2 68 A5 6D EB AE 2E 95 B0 7C 00 7C B0 95 2E 5A E2 68 A5 6D EB AE 2E 95 B0 7C 00 02 00 00 00 00 00 00 00 0A 00 00 00 00 00 00 00 D1 52 0F 00 D1 52 0F 00 21 7E 2E A7 41 6E 54 6F A7 2E 7E 21 00 00 00 00 21 7E 2E A7 41 6E 54 6F A7 2E 7E 21 00 00 00 00 03 00 00 00 00 00 00 00 06 00 00 00 00 00 00 00 D0 5D 0F 00 D0 5D 0F 00 73 74 6F 70 2A 61 6E 61 2A 61 6C 2A 74 6F 70 00 73 74 6F 70 2A 61 6E 61 2A 61 6C 2A 74 6F 70 00 04 00 00 00 00 00 00 00 05 00 00 00 00 00 00 00 15 43 0F 00 15 43 0F 00 44 65 61 74 68 2E 61 6E 67 65 6C 00 00 00 00 00 44 65 61 74 68 2E 61 6E 67 65 6C 00 00 00 00 00 05 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 03 53 0F 00 03 53 0F 00 4F 72 6E 73 74 65 69 6E 00 00 00 00 00 00 00 00 4F 72 6E 73 74 65 69 6E 00 00 00 00 00 00 00 00 06 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 25 56 0F 00 25 56 0F 00 56 69 72 FC 73 00 00 00 00 00 00 00 00 00 00 00 56 69 72 FC 73 00 00 00 00 00 00 00 00 00 00 00 07 00 00 00 00 00 00 00 03 00 00 00 00 00 00 00 8F 42 0F 00 8F 42 0F 00 50 65 6E 67 61 72 6F 6F 00 00 00 00 00 00 00 00 50 65 6E 67 61 72 6F 6F 00 00 00 00 00 00 00 00 08 00 00 00 00 00 00 00 03 00 00 00 00 00 00 00 44 4B 0F 00 44 4B 0F 00 3E 53 63 F4 72 69 70 F4 6E EB 3C 00 00 00 00 00 3E 53 63 F4 72 69 70 F4 6E EB 3C 00 00 00 00 00 09 00 00 00 00 00 00 00 03 00 00 00 00 00 00 00 66 53 0F 00 66 53 0F 00 41 7C 65 58 00 00 00 00 00 00 00 00 00 00 00 00 41 7C 65 58 00 00 00 00 00 00 00 00 00 00 00 00 0A 00 00 00 00 00 00 00 02 00 00 00 00 00 00 00 B2 46 0F 00 B2 46 0F 00 79 6F 75 73 73 69 66 5F 24 24 99 24 00 00 00 00 79 6F 75 73 73 69 66 5F 24 24 99 24 00 00 00 00
PHP Code:
50 00 7F 04 04 00 00 00 32 71 CB 01 00 00 00 00 01 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 0F 00 00 00 00 00 00 00 C6 4F 0F 00 C6 4F 0F 00 41 73 74 72 61 65 61 00 00 00 00 00 00 00 00 00 41 73 74 72 61 65 61 00 00 00 00 00 00 00 00 00
i wish if it help someone.
|
|
|
05/11/2013, 18:50
|
#2
|
elite*gold: 0
Join Date: Apr 2012
Posts: 58
Received Thanks: 1
|
make analyse it and share to save our time
|
|
|
05/11/2013, 23:36
|
#3
|
elite*gold: 0
Join Date: Jul 2008
Posts: 874
Received Thanks: 239
|
Quote:
Originally Posted by Mero.El.Omda
make analyse it and share to save our time
|
i think it is the same just like chi rank.
put i think i missed another thing in my sturucture to be done.
i think this could be right.
PHP Code:
public static byte[] BuildPacketRankKiss(Client.GameState client, uint uid, ushort pagenumber) {
MemoryStream strm = new MemoryStream(); BinaryWriter wtr = new BinaryWriter(strm); wtr.Write((ushort)0); wtr.Write((ushort)1151); wtr.Write((uint)1); wtr.Write((uint)uid); wtr.Write((ushort)0x64); wtr.Write((ushort)pagenumber); if (uid == 30000402)//1c9c512 wtr.Write((uint)(Math.Min(xxChi.Dragonss.Count, 10))); if (uid == 30000502)//notsure wtr.Write((uint)(Math.Min(xxChi.Phnixss.Count, 10))); if (uid == 30000602)//notsure wtr.Write((uint)(Math.Min(xxChi.Tigerss.Count, 10))); if (uid == 30000702)//notsure wtr.Write((uint)(Math.Min(xxChi.Turtless.Count, 10))); wtr.Write((uint)0); #region Dragon if (uid == 30000402) { for (int b = (int)pagenumber * 10; b <= pagenumber * 10 + Math.Min(10, xxChi.Dragonss.Count) - 1; b++) { if (pagenumber == 1) { if (xxChi.Dragonss.Count < 11) { break; } } if (pagenumber == 2) { if (xxChi.Dragonss.Count < 21) { break; } } if (pagenumber == 3) { if (xxChi.Dragonss.Count < 31) { break; } } if (pagenumber == 4) { if (xxChi.Dragonss.Count < 41) { break; } } if (pagenumber == 5) { if (xxChi.Dragonss.Count < 51) { break; } } wtr.Write((uint)xxChi.Dragonss[b].rank); wtr.Write((uint)0); wtr.Write((uint)xxChi.Dragonss[b].dragons); // wtr.Write((uint)(client.Entity.hpdro + client.Entity.strikdro + client.Entity.pstrikdro + client.Entity.pattackdro)); wtr.Write((uint)0); // wtr.Write((uint)uid2); // wtr.Write((uint)uid2); wtr.Write((uint)client.UID); wtr.Write((uint)client.UID);
for (int s = 0; s < 16; s++) { if (s < xxChi.Dragonss[b].name.Length) { wtr.Write((byte)xxChi.Dragonss[b].name[s]); } else wtr.Write((byte)0); } for (int s = 0; s < 16; s++) { if (s < xxChi.Dragonss[b].name.Length) { wtr.Write((byte)xxChi.Dragonss[b].name[s]); } else wtr.Write((byte)0);
} } } #endregion Dragon int packetlength = (int)strm.Length; strm.Position = 0; wtr.Write((ushort)packetlength); strm.Position = strm.Length; wtr.Write(ASCIIEncoding.ASCII.GetBytes("TQServer")); strm.Position = 0; byte[] buf = new byte[strm.Length]; strm.Read(buf, 0, buf.Length); wtr.Close(); strm.Close(); return buf; }
|
|
|
05/12/2013, 08:50
|
#4
|
elite*gold: 0
Join Date: Mar 2013
Posts: 87
Received Thanks: 6
|
Quote:
Originally Posted by abdoumatrix
i think it is the same just like chi rank.
put i think i missed another thing in my sturucture to be done.
i think this could be right.
|
Gratz My bro To make it You know i like Rank Kiss and i tell you more To make It
|
|
|
05/12/2013, 12:49
|
#5
|
elite*gold: 0
Join Date: Jul 2008
Posts: 874
Received Thanks: 239
|
this is one the structure u have to code the first sniff
where offest 4 = 2.
|
|
|
05/12/2013, 15:28
|
#6
|
elite*gold: 0
Join Date: Apr 2008
Posts: 1,152
Received Thanks: 321
|
Packet is the same for Chi Ranking & Flower Ranking,
Code:
public class DynamicRankingPacket
{
private Byte[] mData;
private Int32 Offset = 24;
public static implicit operator Byte[](DynamicRankingPacket d) { return d.mData; }
public DynamicRankingPacket()
{
mData = new Byte[32];
PacketConstructor.Write((UInt16)mData.Length, 0, mData);
PacketConstructor.Write((UInt16)1151, 2, mData);
}
public DynamicRankingPacket(Byte[] d)
{
this.mData = new Byte[d.Length];
d.CopyTo(this.mData, 0);
}
public DynamicRankingType Type
{
get { return (DynamicRankingType)BitConverter.ToUInt32(mData, 4); }
set { PacketConstructor.Write((UInt32)value, 4, mData); }
}
public ChiGate ChiGate
{
get { return (ChiGate)mData[8]; }
set { mData[8] = (Byte)value; }
}
public DynamicRankingSType SecondaryType
{
get { return (DynamicRankingSType)BitConverter.ToUInt32(mData, 8); }
set { PacketConstructor.Write((UInt32)value, 8, mData); }
}
public UInt32 Max//Max?
{
get { return BitConverter.ToUInt32(mData, 12); }
set { PacketConstructor.Write((UInt32)value, 12, mData); }
}
public UInt32 Count
{
get { return BitConverter.ToUInt32(mData, 16); }
set { PacketConstructor.Write((UInt32)value, 16, mData); }
}
public void Append(UInt32 Ranking, UInt32 Amount, UInt32 Identifier, String Name)
{
Byte[] tmp = new Byte[mData.Length];
mData.CopyTo(tmp, 0);
mData = new Byte[tmp.Length + 56];
Buffer.BlockCopy(tmp, 0, mData, 0, tmp.Length);
PacketConstructor.Write((UInt16)mData.Length, 0, mData);
Count++;
PacketConstructor.Write((UInt32)Ranking, Offset, mData); Offset += 4;
PacketConstructor.Write((UInt32)0, Offset, mData); Offset += 4;
PacketConstructor.Write((UInt32)Amount, Offset, mData); Offset += 4;
PacketConstructor.Write((UInt32)0, Offset, mData); Offset += 4;
PacketConstructor.Write((UInt32)Identifier, Offset, mData); Offset += 4;
PacketConstructor.Write((UInt32)Identifier, Offset, mData); Offset += 4;
PacketConstructor.WriteNoLength(Name, Offset, mData); Offset += 16;
PacketConstructor.WriteNoLength(Name, Offset, mData); Offset += 16;
}
}
|
|
|
05/12/2013, 15:59
|
#7
|
elite*gold: 0
Join Date: Jul 2008
Posts: 874
Received Thanks: 239
|
Quote:
Originally Posted by -Shunsui-
Packet is the same for Chi Ranking & Flower Ranking,
Code:
public class DynamicRankingPacket
{
private Byte[] mData;
private Int32 Offset = 24;
public static implicit operator Byte[](DynamicRankingPacket d) { return d.mData; }
public DynamicRankingPacket()
{
mData = new Byte[32];
PacketConstructor.Write((UInt16)mData.Length, 0, mData);
PacketConstructor.Write((UInt16)1151, 2, mData);
}
public DynamicRankingPacket(Byte[] d)
{
this.mData = new Byte[d.Length];
d.CopyTo(this.mData, 0);
}
public DynamicRankingType Type
{
get { return (DynamicRankingType)BitConverter.ToUInt32(mData, 4); }
set { PacketConstructor.Write((UInt32)value, 4, mData); }
}
public ChiGate ChiGate
{
get { return (ChiGate)mData[8]; }
set { mData[8] = (Byte)value; }
}
public DynamicRankingSType SecondaryType
{
get { return (DynamicRankingSType)BitConverter.ToUInt32(mData, 8); }
set { PacketConstructor.Write((UInt32)value, 8, mData); }
}
public UInt32 Max//Max?
{
get { return BitConverter.ToUInt32(mData, 12); }
set { PacketConstructor.Write((UInt32)value, 12, mData); }
}
public UInt32 Count
{
get { return BitConverter.ToUInt32(mData, 16); }
set { PacketConstructor.Write((UInt32)value, 16, mData); }
}
public void Append(UInt32 Ranking, UInt32 Amount, UInt32 Identifier, String Name)
{
Byte[] tmp = new Byte[mData.Length];
mData.CopyTo(tmp, 0);
mData = new Byte[tmp.Length + 56];
Buffer.BlockCopy(tmp, 0, mData, 0, tmp.Length);
PacketConstructor.Write((UInt16)mData.Length, 0, mData);
Count++;
PacketConstructor.Write((UInt32)Ranking, Offset, mData); Offset += 4;
PacketConstructor.Write((UInt32)0, Offset, mData); Offset += 4;
PacketConstructor.Write((UInt32)Amount, Offset, mData); Offset += 4;
PacketConstructor.Write((UInt32)0, Offset, mData); Offset += 4;
PacketConstructor.Write((UInt32)Identifier, Offset, mData); Offset += 4;
PacketConstructor.Write((UInt32)Identifier, Offset, mData); Offset += 4;
PacketConstructor.WriteNoLength(Name, Offset, mData); Offset += 16;
PacketConstructor.WriteNoLength(Name, Offset, mData); Offset += 16;
}
}
|
aha i know
but what is the difference if i use somethin like this
PHP Code:
public DynamicRankingType Type { get { return (DynamicRankingType)BitConverter.ToUInt32(mData, 4); } set { PacketConstructor.Write((UInt32)value, 4, mData); } }
and something like my codes
|
|
|
|
Similar Threads
|
[Question]Sniff real send function / sent packets
04/02/2013 - Kal Online - 14 Replies
hello again ^^ , sorry for posting too much threads but i really need some help here xD , how can i hook real send function (where packets are still unencrypted) ?
thanks =]
|
I canīt sniff packets!!
01/10/2013 - DarkOrbit - 13 Replies
Hi!!
Iīm using Redox packet editor and I select the correct proces, start record and i donīt recibe any packets
|
[REQUEST] packets send list , or anyway to sniff send packets
08/10/2012 - Kal Online - 16 Replies
hey everyone , as mentioned , i wanna know if anyone got a complete send packets lists or anyway i can sniff send packets , thanks in advance
|
Looking for someone who can sniff packets!
11/16/2010 - SRO Coding Corner - 4 Replies
Hello, i'm currently looking for someone who would like to join my team as a packet sniffer.
What you'll have to do:
Sniff packets off iSRO (current client). Make basic documentation of everything you get.
How we'll reward you:
You'll get a fully working compiled java emulator with lifetime updates and your own requested modifications. (It's worth to join if you really want to have a good emulator (private server in my opinion) for your own.).
How to join:
Name:
|
Software that lets you sniff, modify and inject packets into a process
08/14/2008 - General Coding - 3 Replies
It has been around 5 years since I last did any packet hacking. I used to have a program that attached itself into a process. It then shows all network packets sent and received by the program. You can then create filters that will, for example, automatically send a packet once it sees a specific packet / pattern. It was using this software that I was able to crack a bunch of games and software. I was the one who discovered that Starcraft sent private data to Blizzard every time you logged into...
|
All times are GMT +1. The time now is 09:14.
|
|