Welcome to the RaGEZONE - MMORPG development forums.

Crypto R63, Tutorials, Packetlogger and Packet scout

This is a discussion on Crypto R63, Tutorials, Packetlogger and Packet scout within the Habbo Releases forums, part of the Habbo Hotel category; Hello guys, a lot of people hate me those days, so I want to give you something, I offer here: ...

LyncusMU
Page 1 of 3 123 LastLast
Results 1 to 15 of 40
  1. #1
    Working in private usage.
    Rank
    Member +
    Join Date
    Jul 2011
    Location
    On FrostEmu
    Posts
    902
    Liked
    133

    Crypto R63, Tutorials, Packetlogger and Packet scout

    Tabo Hotel
    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.

  2. HostKey.com: Unmetered Dedicated servers in the Netherlands
  3. #2
    Web Application Developer
    Rank
    Moderator
    Join Date
    Apr 2010
    Posts
    2,982
    Liked
    1000

    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.

  4. #3
    Member
    Rank
    Newbie
    Join Date
    Feb 2011
    Location
    Belgium
    Posts
    44
    Liked
    5

    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

  5. #4
    Working in private usage.
    Rank
    Member +
    Join Date
    Jul 2011
    Location
    On FrostEmu
    Posts
    902
    Liked
    133

    Re: Crypto R63, Tutorials, Packetlogger and Packet scout

    Quote Originally Posted by Superbomm View Post
    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

  6. #5
    TopHabbo.com Best Topsite
    Rank
    Alpha Member
    Join Date
    Oct 2007
    Posts
    2,423
    Liked
    497

    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.

  7. #6
    AWA
    asdfghjkløæ'
    Rank
    Member +
    Join Date
    Feb 2008
    Location
    Aperture Labs.
    Posts
    1,116
    Liked
    321

    Re: Crypto R63, Tutorials, Packetlogger and Packet scout

    Quote Originally Posted by Zak© View Post
    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

  8. #7
    i didnt do this.
    Rank
    Moderator
    Join Date
    Jul 2007
    Posts
    4,814
    Liked
    556
    Quote Originally Posted by Zak© View Post
    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

  9. #8
    Newbie
    Rank
    Newbie
    Join Date
    Dec 2011
    Posts
    6
    Liked
    0

    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.

  10. #9
    C# | C++
    Rank
    Member +
    Join Date
    Oct 2010
    Location
    Germany
    Posts
    457
    Liked
    88

    Re: Crypto R63, Tutorials, Packetlogger and Packet scout

    Quote Originally Posted by Airframe View Post
    @ 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.

    -Emerica

  11. #10
    Newbie
    Rank
    Newbie
    Join Date
    Dec 2011
    Posts
    6
    Liked
    0

    Re: Crypto R63, Tutorials, Packetlogger and Packet scout

    Quote Originally Posted by Emerica View Post
    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.

    -Emerica
    I already had the hosts thingy good, but using game-us etc wont work.. I get an error with fill both textboxes in

    Thanks already.

  12. #11
    C# | C++
    Rank
    Member +
    Join Date
    Oct 2010
    Location
    Germany
    Posts
    457
    Liked
    88

    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
    Last edited by Emerica; 07-12-11 at 05:07 PM.

  13. #12
    C-images website soon
    Rank
    Member +
    Join Date
    May 2010
    Location
    England, UK
    Posts
    1,284
    Liked
    166

    Re: Crypto R63, Tutorials, Packetlogger and Packet scout

    Quote Originally Posted by Emerica View Post
    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

  14. #13
    Newbie
    Rank
    Newbie
    Join Date
    Dec 2011
    Posts
    6
    Liked
    0

    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

  15. #14
    C-images website soon
    Rank
    Member +
    Join Date
    May 2010
    Location
    England, UK
    Posts
    1,284
    Liked
    166

    Re: Crypto R63, Tutorials, Packetlogger and Packet scout

    I dont get this anymore.

  16. #15
    Newbie
    Rank
    Newbie
    Join Date
    Dec 2011
    Posts
    6
    Liked
    0

    Re: Crypto R63, Tutorials, Packetlogger and Packet scout

    I've debugged in visual c# and it gives me this error:


 

 
Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •