Skip to content

Commit

Permalink
Begin rework
Browse files Browse the repository at this point in the history
  • Loading branch information
dd01da0465b4542f8f8af4ecedc149ed committed Jun 22, 2020
1 parent 5f6b465 commit 7778fcc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 74 deletions.
2 changes: 1 addition & 1 deletion AuroraNative/build.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
#define ONLINE // Enables Online servers

#define DISABLE_PINNING // Disables SSL pinning
#define DISABLE_PROXY // Disables proxy
//#define DISABLE_PROXY // Disables proxy

//#define VERBOSE // Enables verbose logging
72 changes: 0 additions & 72 deletions AuroraServer/IO/BitReader.cs

This file was deleted.

9 changes: 8 additions & 1 deletion AuroraServer/Program.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
using Serilog;
using AuroraServer.IO;
using Serilog;
using Serilog.Core;
using System.Linq;

namespace AuroraServer
{
Expand All @@ -12,6 +14,11 @@ class Program
static void Main(string[] args)
{
_log.Information("AuroraServer by Cyuubi, do not redistribute!");

BitReader reader = new BitReader(new byte[] { 0x17, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80 });

_log.Information($"IsValid = {Enumerable.SequenceEqual(reader.ReadBits(4), new bool[] { true, true, true, false })}");
_log.Information($"IsHandshake = {reader.ReadBit()}");
}
}
}

0 comments on commit 7778fcc

Please sign in to comment.