BrickEmulator [C#] Pooling Sockets + From Scratch

Page 28 of 38 FirstFirst ... 182021222324252627282930313233343536 ... LastLast
Results 406 to 420 of 558
  1. #406
    Live Ocottish Sverlord Joopie is offline
    LegendRank
    Jun 2010 Join Date
    The NetherlandsLocation
    2,773Posts

    Re: BrickEmulator [C#] Pooling Sockets + From Scratch

    Quote Originally Posted by Quackster View Post
    Can I... love you?
    5 euro

  2. #407
    C# | C++ Emerica is offline
    MemberRank
    Oct 2010 Join Date
    GermanyLocation
    437Posts

    Re: BrickEmulator [C#] Pooling Sockets + From Scratch

    Quote Originally Posted by wichard View Post
    Cracked Encryption



    Response:
    Code:
        class Response
        {
            public StringBuilder Builder = new StringBuilder();
            public int LenthBuilder = 0;
    
            private int HeaderId;
    
            public Response(int HeaderId)
            {
                this.HeaderId = HeaderId;
            }
    
            public void AppendInt32(int i)
            {
                Builder.Append('\x0');
                Builder.Append(Convert.ToChar(i));
    
                LenthBuilder += 2;
            }
    
            public void AppendBoolean(bool Bool)
            {
                AppendInt32((Bool) ? 1 : 0);
            }
    
            public void AppendStringWithBreak(string i)
            {
                AppendInt32(i.Length);
                Builder.Append(i);
    
                LenthBuilder += i.Length;
            }
    
            public byte[] GetBytes()
            {
                StringBuilder Merge = new StringBuilder();
    
                for (int i = 0; i < 2; i++)
                {
                    Merge.Append('\x0');
                }
    
                Merge.Append('\x0');
                Merge.Append(Convert.ToChar(LenthBuilder + 2));
                Merge.Append('\x0');
                Merge.Append(Convert.ToChar(HeaderId));
                Merge.Append(Builder.ToString());
    
                return Encoding.Default.GetBytes(Merge.ToString());
            }
        }
    Request:

    Code:
        class Request
        {
            private List<char> Body;
            public int PacketLength = 0;
            public int HeaderId = 0;
    
            private int Pointer = 0;
    
            public Request(char[] Bytes)
            {
                Body = Bytes.ToList();
    
                Clean();
            }
    
            public void Clean()
            {
                ReadBytes(2);
    
                PacketLength = PopWiredInt32();
                HeaderId = PopWiredInt32();
            }
    
            public int PopWiredInt32()
            {
                return Convert.ToByte(ReadBytes(2)[1]);
            }
    
            public Boolean PopWiredBoolean()
            {
                return PopWiredInt32() == 1;
            }
    
            public string PopFixedString()
            {
                string Builder = string.Empty;
    
                int Length = PopWiredInt32();
    
                for (int i = 0; i < Length;  i++)
                {
                    Builder += Convert.ToChar(ReadBytes(1));
                }
    
                return Builder;
            }
    
            public char[] ReadBytes(int Amount)
            {
                char[] Array = new char[Amount];
    
                for (int i = 0; i < Amount; i++)
                {
                    Array[i] = Body[Pointer];
    
                    Pointer++;
                }
    
                return Array;
            }
        }
    Wow, now retro Hotels have a Feature.
    Nice wichard. Great Update

  3. #408
    Demi-God tweeney is offline
    MemberRank
    Aug 2008 Join Date
    888Posts

    Re: BrickEmulator [C#] Pooling Sockets + From Scratch

    Except now it will probably be changed again/

  4. #409
    Account Upgraded | Title Enabled! DJAlexxstyle is offline
    MemberRank
    Feb 2008 Join Date
    341Posts

    Re: BrickEmulator [C#] Pooling Sockets + From Scratch

    Quote Originally Posted by wichard View Post
    Cracked Encryption

    This is not "encryption" etc... Is just packet obfuscation... The host protection problem is still here...

  5. #410
    Developer Quackster is offline
    DeveloperRank
    Dec 2010 Join Date
    AustraliaLocation
    3,476Posts

    Re: BrickEmulator [C#] Pooling Sockets + From Scratch

    Quote Originally Posted by DJAlexxstyle View Post
    This is not "encryption" etc... Is just packet obfuscation... The host protection problem is still here...
    Just get people to add in the hosts file...
    Code:
    <RETRO IP> <retroname>.habbo.com
    Problem solved :D

    ---------- Post added at 04:37 AM ---------- Previous post was at 04:25 AM ----------



    Why does it say Speed Emulator?

  6. #411
    The one and only! Hejula is offline
    MemberRank
    Nov 2008 Join Date
    4,128Posts

    Re: BrickEmulator [C#] Pooling Sockets + From Scratch

    Quote Originally Posted by Quackster View Post
    Just get people to add in the hosts file...
    Code:
    <RETRO IP> <retroname>.habbo.com
    Problem solved :D

    ---------- Post added at 04:37 AM ---------- Previous post was at 04:25 AM ----------



    Why does it say Speed Emulator?
    I wondered that :P Decided to think nothing of it though

  7. #412
    Live Ocottish Sverlord Joopie is offline
    LegendRank
    Jun 2010 Join Date
    The NetherlandsLocation
    2,773Posts

    Re: BrickEmulator [C#] Pooling Sockets + From Scratch

    Quote Originally Posted by Quackster View Post
    Just get people to add in the hosts file...
    Code:
    <RETRO IP> <retroname>.habbo.com
    Problem solved :D

    ---------- Post added at 04:37 AM ---------- Previous post was at 04:25 AM ----------



    Why does it say Speed Emulator?
    Because its made in like 10 min

  8. #413
    The one and only! Hejula is offline
    MemberRank
    Nov 2008 Join Date
    4,128Posts

    Re: BrickEmulator [C#] Pooling Sockets + From Scratch

    Quote Originally Posted by joopie View Post
    Because its made in like 10 min
    Lol, but why Speed Emulator and not Brick Something?? :P

  9. #414
    Account Upgraded | Title Enabled! wichard is offline
    MemberRank
    Jul 2009 Join Date
    The NetherlandsLocation
    649Posts

    Re: BrickEmulator [C#] Pooling Sockets + From Scratch

    Hmm, new headers ;D

    ---------- Post added at 07:00 PM ---------- Previous post was at 06:54 PM ----------

    Quote Originally Posted by Hejula View Post
    Lol, but why Speed Emulator and not Brick Something?? :P
    Just to configure the new classes ;D

    ---------- Post added at 07:14 PM ---------- Previous post was at 07:00 PM ----------

    Quote Originally Posted by DJAlexxstyle View Post
    This is not "encryption" etc... Is just packet obfuscation... The host protection problem is still here...
    Yea, but they changed more than that.

    Headers -> Packet structures etc.

  10. #415
    Account Upgraded | Title Enabled! AWA is offline
    MemberRank
    Feb 2008 Join Date
    1,320Posts

    Re: BrickEmulator [C#] Pooling Sockets + From Scratch

    Quote Originally Posted by wichard View Post
    I've cracked the new encryption ;D
    Several people have figured out the "new changes to the protocol" more than a week ago..

  11. #416
    Garry's Mod is addictive! Law is offline
    MemberRank
    Dec 2009 Join Date
    NorwayLocation
    993Posts

    Re: BrickEmulator [C#] Pooling Sockets + From Scratch

    Quote Originally Posted by AWA View Post
    Several people have figured out the "new changes to the protocol" more than a week ago..
    Maybe they started before wichard. Even tho he made that thread or posted in that thread doesn't mean he started to try "decrypting" it.

  12. #417
    Ultra Light Beam Makarov is offline
    MemberRank
    Apr 2010 Join Date
    GothamLocation
    3,622Posts

    Re: BrickEmulator [C#] Pooling Sockets + From Scratch

    Quote Originally Posted by Law View Post
    Maybe they started before wichard. Even tho he made that thread or posted in that thread doesn't mean he started to try "decrypting" it.
    Off-Topic: why are you replying to your own post..? Or am I missing something :/

  13. #418

    Re: BrickEmulator [C#] Pooling Sockets + From Scratch

    Encryptions forced now. gl guys.

  14. #419
    Iron like a Lion in Zion! vLife is offline
    Super ModRank
    Apr 2009 Join Date
    The BahamasLocation
    3,788Posts

    Re: BrickEmulator [C#] Pooling Sockets + From Scratch


  15. #420
    Lurking since '06 1ntel is offline
    MemberRank
    Jul 2006 Join Date
    401Posts

    Re: BrickEmulator [C#] Pooling Sockets + From Scratch

    Quote Originally Posted by Dominic A Gunn View Post
    Encryptions forced now. gl guys.
    But you could just edit the key in the swf to your own and have the server init the crypto using your own key? and you can do that via abc

    Encryption in RSA is good for others to not see YOUR key, but when you can edit the key to your own then its useless.

    Most people round here won't be able to figure out how to do any of that anyway. (http://code.google.com/p/apparat/)



Advertisement