From 01b0a607435ab90727d8356a7195b9a5fecbbc9a Mon Sep 17 00:00:00 2001
From: RD42 <42702181+dashr9230@users.noreply.github.com>
Date: Wed, 1 Nov 2023 21:01:00 +0800
Subject: [PATCH] [saco] Add exported public and TEA keys
---
archive/pkey.h | 32 ++++++++++++++++++++++++++++++++
archive/skey.h | 16 ++++++++++++++++
saco/mod.h | 3 +++
saco/saco.vcproj | 3 +++
4 files changed, 54 insertions(+)
create mode 100644 archive/pkey.h
create mode 100644 archive/skey.h
create mode 100644 saco/mod.h
diff --git a/archive/pkey.h b/archive/pkey.h
new file mode 100644
index 0000000..30b4295
--- /dev/null
+++ b/archive/pkey.h
@@ -0,0 +1,32 @@
+//-----------------------------------------
+// SAMP Archive 2 Tool - Public Keys
+//
+// This file was automatically generated.
+// Do not modify this file!
+//-----------------------------------------
+
+#pragma once
+
+#define RSA_XOR_KEY 170
+
+#define RSA_PUB_KEY_SIZE 148
+const BYTE RSA_PUB_KEY[] =
+ {0xac, 0xa8, 0xaa, 0xaa, 0xaa, 0x8e, 0xaa, 0xaa,
+ 0xf8, 0xf9, 0xeb, 0x9b, 0xaa, 0xae, 0xaa, 0xaa,
+ 0xab, 0xaa, 0xab, 0xaa, 0x45, 0x7f, 0xed, 0xcd,
+ 0x3, 0xa, 0x2a, 0x39, 0xf8, 0xc1, 0xce, 0xb1,
+ 0x9c, 0xc5, 0x86, 0x5a, 0xa2, 0x1d, 0xb, 0xbe,
+ 0xe4, 0xf5, 0xf4, 0xa6, 0xe2, 0x44, 0x12, 0x6,
+ 0xee, 0x4c, 0xc7, 0x4a, 0x76, 0xb9, 0xec, 0xec,
+ 0x70, 0xc6, 0x22, 0x6a, 0x3c, 0x9f, 0x30, 0x42,
+ 0x15, 0xcb, 0x97, 0x88, 0xa9, 0x9, 0x1a, 0xa2,
+ 0xe2, 0xa, 0x70, 0x5d, 0xdf, 0x71, 0x2e, 0x1e,
+ 0xff, 0x73, 0x13, 0xb1, 0xe8, 0xe5, 0x93, 0x9f,
+ 0x74, 0xf3, 0x4c, 0xe9, 0x98, 0xa4, 0x38, 0xd7,
+ 0x3, 0xc5, 0x88, 0x14, 0x8a, 0x59, 0x30, 0x55,
+ 0xeb, 0x21, 0x4f, 0xdb, 0xb5, 0xfe, 0x11, 0xea,
+ 0x7a, 0xbb, 0x2c, 0x94, 0x30, 0x9c, 0x7d, 0xd8,
+ 0x40, 0x29, 0x6d, 0x4e, 0x1e, 0x1d, 0x35, 0xbe,
+ 0xa0, 0x5c, 0x33, 0x79, 0xec, 0xac, 0x4c, 0x2d,
+ 0x8c, 0x7c, 0x3, 0x2, 0xaa, 0x2f, 0x12, 0x33,
+ 0x3, 0x5e, 0xc6, 0x17};
\ No newline at end of file
diff --git a/archive/skey.h b/archive/skey.h
new file mode 100644
index 0000000..0c83751
--- /dev/null
+++ b/archive/skey.h
@@ -0,0 +1,16 @@
+//-----------------------------------------
+// SAMP Archive 2 Tool - TEA Keys
+//
+// This file was automatically generated.
+// Do not modify this file!
+//-----------------------------------------
+
+#pragma once
+
+#define TEA_XOR_KEY 170
+
+#define TEA_KEY_SIZE 16
+const BYTE TEA_KEY[] =
+ {0xb9, 0xea, 0x40, 0xa, 0xa3, 0x1f, 0x1, 0x23,
+ 0xb0, 0xea, 0x46, 0x64, 0x78, 0xaf, 0x50, 0x80};
+
\ No newline at end of file
diff --git a/saco/mod.h b/saco/mod.h
new file mode 100644
index 0000000..48353de
--- /dev/null
+++ b/saco/mod.h
@@ -0,0 +1,3 @@
+
+#include "../archive/pkey.h"
+#include "../archive/skey.h"
diff --git a/saco/saco.vcproj b/saco/saco.vcproj
index 5656ca9..92b6bfa 100644
--- a/saco/saco.vcproj
+++ b/saco/saco.vcproj
@@ -153,6 +153,9 @@
+
+