-
Crypto R63, Tutorials, Packetlogger and Packet scout
Hello guys, a lot of people hate me those days, so I want to give you something, I offer here: All credits to ItachiKM and LittleJ
- #1.0 Crypto files, packet explaination.
- #2.0 Tutorials how to use this, and how to create your own Emu from scratch
- #3.0 Packetlogger (for logging the packets)
- #4.0 Packet scouter (for analyzing packets)
#1.0 Crypto files
- ServerMessage.cs
Code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace INSERTYOURNAMESPACEHERE
{
public class ServerMessage
{
private static StringBuilder s;
public ServerMessage(int Header)
{
s = new StringBuilder();
s.Append(HabboEncoding.cypherShort(Header));
}
public void AppendInt32(int i)
{
s.Append(HabboEncoding.cypherInt(i));
}
public void AppendString(string e)
{
s.Append(HabboEncoding.cypherShort(e.Length));
s.Append(e);
}
public void AppendMegaString(string e)
{
s.Append(HabboEncoding.cypherInt(e.Length));
s.Append(e);
}
public void AppendBoolean(bool b)
{
s.Append((char)(b ? 1 : 0));
}
public void AppendBreak()
{
s.Append((char)255 + (char)255 + (char)255 + (char)255);
}
public void Append(object e)
{
s.Append(HabboEncoding.cypherShort(e.ToString().Length));
s.Append(e.ToString());
}
public override string ToString()
{
StringBuilder u = new StringBuilder();
u.Append(HabboEncoding.cypherShort(0));
u.Append(HabboEncoding.cypherShort(s.Length));
u.Append(s);
return u.ToString();
}
}
// HabboEncoding by LittleJ
public static class HabboEncoding
{
public static string cypherShort(int v) // str len, packet len, packet header -- b64
{
string t = "";
t += (char)((v >> 8) & 0xFF);
t += (char)((v >> 0) & 0xFF);
return t;
}
public static string cypherInt(int v)
{
string t = "";
t += (char)((v >> 24) & 0xFF);
t += (char)((v >> 16) & 0xFF);
t += (char)((v >> 8) & 0xFF);
t += (char)((v >> 0) & 0xFF);
return t;
}
public static int decypherInt(string v)
{
if ((v[0] | v[1] | v[2] | v[3]) < 0)
return -1;
return ((v[0] << 24) + (v[1] << 16) + (v[2] << 8) + (v[3] << 0));
}
public static int decypherShort(string v)
{
if ((v[0] | v[1]) < 0)
return -1;
return ((v[0] << 8) + (v[1] << 0));
}
}
}
I hope I don't have to explain this, just the new serverMessage class, with the new HabboEncoding.
-Policy
Code:
<?xml version="1.0" encoding="UTF-8"?>
<cross-domain-policy xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLo cation="http://www.adobe.com/xml/schemas/PolicyFileSocket.xsd">
<allow-access-from domain="images.habbo.com" to-ports="993,25001-25010,38101,40001,40002,30000-30100"/>
<allow-access-from domain="*.sulake.com" to-ports="993,25001-25010,38101,40001,40002,30000-30100"/>
<allow-access-from domain="habbo.hs.llnwd.net" to-ports="993,25001-25010,38101,40001,40002,30000-30100"/>
</cross-domain-policy>
Example of packet:
[0][0][2][3]Ë
The 2 is the length, and the packet is 971, so the code will be:
ServerMessage Login = new ServerMessage(971);
SendMessage(Login);
More explaination soon :-)
#2 - Tutorials
How to create your own emulator:
- Sorry, made a mistake, thread will be too long, sorry, check the tutorial section in a few minutes I'll post a tutorial.
#3 - Packetlogger
Note: you must edit the host file yourself, program won't edit it for some reason.
http://www.mediafire.com/?9b5mifpmlf6fmf1
#4 - Packet scout
LittleJ Packet Scout R4 [JAVA]
The swf version (noted on thread):
RELEASE63-201111161159-434670831.
-
Re: Crypto R63, Tutorials, Packetlogger and Packet scout
Lets start over, Thanks for compiling all the needed resources together. Anyone who posts after this message that is off-topic, spam, or flame will receive an infraction.
-
Re: Crypto R63, Tutorials, Packetlogger and Packet scout
So the policy you placed in your post is for in the crossdomain.xml to bypass te host protection? Because my client doesn't load on my localhost :s
-
Re: Crypto R63, Tutorials, Packetlogger and Packet scout
Quote:
Originally Posted by
Superbomm
So the policy you placed in your post is for in the crossdomain.xml to bypass te host protection? Because my client doesn't load on my localhost :s
It's the policy I found on the thread, and it was logged so yeah, do we need some things before it work? Offcourse, so if you're good you can fix it all and make it working
-
Re: Crypto R63, Tutorials, Packetlogger and Packet scout
Nonono, the policy is just somthing that is required, the real problem is the RC4,Banner which visa4life is trying to crack.
-
Re: Crypto R63, Tutorials, Packetlogger and Packet scout
Quote:
Originally Posted by
Zak©
Nonono, the policy is just somthing that is required, the real problem is the RC4,Banner which visa4life is trying to crack.
I think the code for banner, and maybe RC4, is released on script-o-matic
-
Quote:
Originally Posted by
Zak©
Nonono, the policy is just somthing that is required, the real problem is the RC4,Banner which visa4life is trying to crack.
Yes that's right the policy is required by the swf as It is being loaded externally (via clients)
The banner etc has been uploads on SOM a while ago like AWA said
Vista is pretty good I'd just wait and see ^^
Posted via Mobile Device
-
Re: Crypto R63, Tutorials, Packetlogger and Packet scout
@ packetlogger, What info do you need to fill in for habbo.com
Hostname:
Port:
i've try'd some but I keep getting errors.. thanks.
-
Re: Crypto R63, Tutorials, Packetlogger and Packet scout
Quote:
Originally Posted by
Airframe
@ packetlogger, What info do you need to fill in for habbo.com
Hostname:
Port:
i've try'd some but I keep getting errors.. thanks.
Add this lines to your hosts file:
Code:
127.0.0.1 game-us.habbo.com
127.0.0.1 habbo.com/client
127.0.0.1 images.habbo.com/crossdomain.xml
You only need the game-us for the Packetlogger.
:closedeyes:
-Emerica
-
Re: Crypto R63, Tutorials, Packetlogger and Packet scout
Quote:
Originally Posted by
Emerica
Add this lines to your hosts file:
Code:
127.0.0.1 game-us.habbo.com
127.0.0.1 habbo.com/client
127.0.0.1 images.habbo.com/crossdomain.xml
You only need the game-us for the Packetlogger.
:closedeyes:
-Emerica
I already had the hosts thingy good, but using game-us etc wont work.. I get an error with fill both textboxes in :glare:
Thanks already.
-
Re: Crypto R63, Tutorials, Packetlogger and Packet scout
If you see the Window with two Boxes, fill in this Infos:
First Box (Host):
game-us.habbo.com
Second Box(Port):
38101
-Emerica
-
Re: Crypto R63, Tutorials, Packetlogger and Packet scout
Quote:
Originally Posted by
Emerica
If you see the Windows with two Boxes, fill in this Infos:
First Box (Host):
game-us.habbo.com
Second Box(Port):
38101
-Emerica
nvm, found it
-
Re: Crypto R63, Tutorials, Packetlogger and Packet scout
Nope.. Did everything, still getting an error:
Index was outside the bounds of the array.
blablabla :P
-
Re: Crypto R63, Tutorials, Packetlogger and Packet scout
-
Re: Crypto R63, Tutorials, Packetlogger and Packet scout
I've debugged in visual c# and it gives me this error:
http://oi43.tinypic.com/wbw41g.jpg
-
Re: Crypto R63, Tutorials, Packetlogger and Packet scout
Quote:
Originally Posted by
Airframe
Erm it's out of it's arrays meaning [1] does not exist in the array btw 1 = 2, try 0 as it's 1.
Quote:
Originally Posted by
AWA
I think the code for banner, and maybe RC4, is released on script-o-matic
Yes, it's something that you can work on [supports old rc4].
-
Re: Crypto R63, Tutorials, Packetlogger and Packet scout
Quote:
Originally Posted by
Zak©
Erm it's out of it's arrays meaning [1] does not exist in the array btw 1 = 2, try 0 as it's 1.
Yes, it's something that you can work on [supports old rc4].
Thanks man, it works now :thumbup:
-
Re: Crypto R63, Tutorials, Packetlogger and Packet scout
-
Re: Crypto R63, Tutorials, Packetlogger and Packet scout
Quote:
Originally Posted by
DominicGunn
Lemon.
-
Re: Crypto R63, Tutorials, Packetlogger and Packet scout
Quote:
Originally Posted by
DominicGunn
Blame it on the leeching and those awaitings that someone will do it :D
-
Re: Crypto R63, Tutorials, Packetlogger and Packet scout
Quote:
Originally Posted by
XenoX-Imadj
Blame it on the leeching and those awaitings that someone will do it :D
My friend is helping me now, we already got 70% of tcp working.
It's not that hard if you know it, just packetlogging and cyphering/decyphering. Even YOU can do it.
Also, nice Dominic :):
-
Re: Crypto R63, Tutorials, Packetlogger and Packet scout
Quote:
Originally Posted by
George2000
My friend is helping me now, we already got 70% of tcp working.
It's not that hard if you know it, just packetlogging and cyphering/decyphering. Even YOU can do it.
Also, nice Dominic :):
I do believe Imadj already got the newest encryption figured out? If I am right? and he can work with the newest swfs?
so I do believe you shouldn't say "Even YOU can do it." to him ...
(correct me if I am wrong, dunno which guy it was that could work with the newest swfs etc.)
-
Re: Crypto R63, Tutorials, Packetlogger and Packet scout
Quote:
Originally Posted by
DominicGunn
Check out my project at Devbest soon as i start the sso i'll be in the newest revision:ott1:
-
Re: Crypto R63, Tutorials, Packetlogger and Packet scout
Quote:
Originally Posted by
Zak©
Check out my project at Devbest soon as i start the sso i'll be in the newest revision:ott1:
i send you soon te banner files
-
Re: Crypto R63, Tutorials, Packetlogger and Packet scout
Quote:
Originally Posted by
DominicGunn
C'mon guys, you're falling behind!
I blame this shit on you, spoon feeding Sulake...