diff --git a/Cargo.toml b/Cargo.toml deleted file mode 100644 index 87e4645..0000000 --- a/Cargo.toml +++ /dev/null @@ -1,24 +0,0 @@ -[package] -name = "harasho" -version = "0.1.0" -edition = "2021" - -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - -[dependencies] -actix-tls = "3.0.3" -actix-web = {version = "4.3.0", features = ["rustls","openssl"]} -env_logger = "0.10.0" -log = "0.4.17" -mime = "0.3.16" -openssl = "0.10.52" -rustls = "0.20.8" -rustls-pemfile = "1.0.2" -aes = "0.8.2" -cfb-mode = "0.8.2" -serde = {version="1.0.163",features = ['derive']} -serde_json = {version = "1.0.96", features = ['std']} -#rsa = "0.9.2" -rand = "0.8.5" -md-5 = "0.10.5" -hex-literal = "0.4.1" diff --git a/certs/more.sh b/certs/more.sh deleted file mode 100644 index c4b6db0..0000000 --- a/certs/more.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash -echo "Don't run this unless you want new certs. Just use the ones already generated!" -exit -echo "This script removes all cert files in the directory." -echo "Continue? Press enter!" -read -rm *.srl *.key *.csr *.crt *.pem *.ext *.pfx > /dev/null -# Generate Root Certificate and Key -openssl req -newkey rsa:2048 -nodes -keyout root.key -x509 -days 3650 -out root.crt -subj "/C=JP/ST=A/L=A/CN=Taito Arcade Machine CA" -# Generate Second Certificate and Key -openssl req -newkey rsa:2048 -nodes -keyout nesys.key -out nesys.crt -CA root.crt -CAkey root.key -subj "/C=JP/ST=A/L=A/CN=nesys" -days 3650 -# Generate Last Certificate and Key -openssl req -newkey rsa:2048 -nodes -keyout nesica1.key -out nesica1.crt -CA nesys.crt -CAkey nesys.key -subj "/C=JP/ST=A/L=A/CN=nesica1" -addext "subjectAltName = DNS:cert.nesys.jp,DNS:cert3.nesys.jp,DNS:data.nesys.jp,DNS:proxy.nesys.jp,DNS:nesys.taito.co.jp,DNS:fjm170920zero.nesica.net" -days 3650 -# Convert them to PFX for windows importing! -# Make sure to import them only to Local Machine Personal and Trusted Root authorities -openssl pkcs12 -export -certpbe PBE-SHA1-3DES -keypbe PBE-SHA1-3DES -nomac -inkey root.key -in root.crt -out root.pfx -openssl pkcs12 -export -certpbe PBE-SHA1-3DES -keypbe PBE-SHA1-3DES -nomac -inkey nesys.key -in nesys.crt -out nesys.pfx -openssl pkcs12 -export -certpbe PBE-SHA1-3DES -keypbe PBE-SHA1-3DES -nomac -inkey nesica1.key -in nesica1.crt -out nesica1.pfx diff --git a/certs/nesica1.crt b/certs/nesica1.crt deleted file mode 100644 index 6ddf3d2..0000000 --- a/certs/nesica1.crt +++ /dev/null @@ -1,23 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIDxTCCAq2gAwIBAgIUfH7CYtnS909tjCJmn3h+9oqsLzUwDQYJKoZIhvcNAQEL -BQAwNTELMAkGA1UEBhMCSlAxCjAIBgNVBAgMAUExCjAIBgNVBAcMAUExDjAMBgNV -BAMMBW5lc3lzMB4XDTIzMDYwNTAwMDc1OVoXDTMzMDYwMjAwMDc1OVowNzELMAkG -A1UEBhMCSlAxCjAIBgNVBAgMAUExCjAIBgNVBAcMAUExEDAOBgNVBAMMB25lc2lj -YTEwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDCX+/yIAFz9TpeyQxw -b3YYL+9Ngfedmxil7U3HZcpDR+2ysNtmdMTIVzQhz+ql7y3BJ+CSriEvDotuhRp1 -5RFANcqf5JoolZ9m3a6BZZkQrjBZqCD7UOTExf11WKLq05N0Nr0EKoGRn4PQF04m -W/3zjpx3M53EbOAVq5bstGyClrTWItvHpzuJ3doCLotTUOKW+b6B5WPnjkPBuR9B -kMa9Ru1ZlQqxkEVxAqLdNSOLVisTASZ91ZmLhQM7klOSfMbO/6tWV2ZKgQ02Cdjt -7tEYKakGfmT21YT3q2f/2FF9TyarX9nma4RLnoNwt+GlH8bZFukr/Nkk2sf1jRZk -YecdAgMBAAGjgcowgccwHQYDVR0OBBYEFCMsf1N9KUmlPlwvFw4CBIXAuxo1MB8G -A1UdIwQYMBaAFNIBY5H/aDapjbeUecKlfXXV6ouRMA8GA1UdEwEB/wQFMAMBAf8w -dAYDVR0RBG0wa4INY2VydC5uZXN5cy5qcIIOY2VydDMubmVzeXMuanCCDWRhdGEu -bmVzeXMuanCCDnByb3h5Lm5lc3lzLmpwghFuZXN5cy50YWl0by5jby5qcIIYZmpt -MTcwOTIwemVyby5uZXNpY2EubmV0MA0GCSqGSIb3DQEBCwUAA4IBAQAXSf9Tk/i2 -/Sq2mE5TiFSbhnLQB8GAn1UbiVZb6MSlrNDDuvVCk7MkYT2OnLamlbE1sdblU7/J -TIESBo4hjlwBaN61KpGRnf4NVrBh7gyCmcOHmlSAxL0+Irc0ZzwFk6Dz47MSGwYJ -QCeGWvryQdTxKpqzf04u5kOzWezoyTzxnxqw4VyxNZRXaYGfdLnzzm31jLl0Wd8d -oVyCwDmDN2lb71S5XJ47ugR+bRD3YDm0ZS+42qLvvA8FaIV/lOV1xK6So29yEz0P -HvLi/sJs0Mck7ZlG56MzwSCYHNcFTBGVVIZM2tcxWsXS/+VxtHJtbysY64eHnYog -G/7ah4CXcWtI ------END CERTIFICATE----- diff --git a/certs/nesica1.key b/certs/nesica1.key deleted file mode 100644 index 051bb59..0000000 --- a/certs/nesica1.key +++ /dev/null @@ -1,28 +0,0 @@ ------BEGIN PRIVATE KEY----- -MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDCX+/yIAFz9Tpe -yQxwb3YYL+9Ngfedmxil7U3HZcpDR+2ysNtmdMTIVzQhz+ql7y3BJ+CSriEvDotu -hRp15RFANcqf5JoolZ9m3a6BZZkQrjBZqCD7UOTExf11WKLq05N0Nr0EKoGRn4PQ -F04mW/3zjpx3M53EbOAVq5bstGyClrTWItvHpzuJ3doCLotTUOKW+b6B5WPnjkPB -uR9BkMa9Ru1ZlQqxkEVxAqLdNSOLVisTASZ91ZmLhQM7klOSfMbO/6tWV2ZKgQ02 -Cdjt7tEYKakGfmT21YT3q2f/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M -e6VkbACDU97jMnQq4S2FIwr8a9D9yIk/VP+Cv78hAoGBAOGJ1LJhj9pMZeY4kmAA -L4qujX55bzs9Lk/+zKwE5RlwDpFzXzSXXHnWZeEyOb6ENyOnUpwT5gRyJFKidD1h -gtEx0PWclBbrf84Tz1GRurVmb+FuRe5la+aLb5Otdudnc+mggNGFoAOZMU8mQtoQ -s/bVTFKdN0+vYR18OTu3nGQg ------END PRIVATE KEY----- diff --git a/certs/nesica1.pfx b/certs/nesica1.pfx deleted file mode 100644 index 7f1294b..0000000 Binary files a/certs/nesica1.pfx and /dev/null differ diff --git a/certs/nesys.crt b/certs/nesys.crt deleted file mode 100644 index 70d71ff..0000000 --- a/certs/nesys.crt +++ /dev/null @@ -1,21 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIDXTCCAkWgAwIBAgIUZvUOPy2SRMCgA7kLN+3K5pj6PUswDQYJKoZIhvcNAQEL -BQAwRzELMAkGA1UEBhMCSlAxCjAIBgNVBAgMAUExCjAIBgNVBAcMAUExIDAeBgNV -BAMMF1RhaXRvIEFyY2FkZSBNYWNoaW5lIENBMB4XDTIzMDYwNTAwMDc1OFoXDTMz -MDYwMjAwMDc1OFowNTELMAkGA1UEBhMCSlAxCjAIBgNVBAgMAUExCjAIBgNVBAcM -AUExDjAMBgNVBAMMBW5lc3lzMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKC -AQEAyPW5EMLI0fxhkgW5NgL37C/pqG1Dq5lUR/vZeqAzOyi6WkZfq4CYIdQapnrB -J/Q0agnBWHZc9xORoLI0bGCwL3ipTc5rimO6626OCytGuyTJO5vAmDDbENNKavAl -y4mzVNCDHdY3Pt9GuF7yM8IhluOWWEbqTy/m+X4WI6NupXQWTw6Z+SAYywBzbOfq -qwiexb7R7DDTkP903tNLa+TNNA9N13Fjg0jqS9c+L0EcNVh2WwtkGIcDFfI656sI -Mu16mUmnZrOonAjryDDrjmMIYjAlhpI4XElonZxuoq0IRQVMrWOBJVkt7LMz2X/w -5NNm+1Pfxz6MXLv5dQ23Uo8jpQIDAQABo1MwUTAdBgNVHQ4EFgQU0gFjkf9oNqmN -t5R5wqV9ddXqi5EwHwYDVR0jBBgwFoAUdlf7M4BI/ELlCwTbk84NocX26+cwDwYD -VR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAQEAnkR/ZX3zDQaOZRCxaBJ8 -dMdAWVW7gKfUUUFn9icRAs8g2NnxhLAQ1Wj9Xet80OflqusUIz1kfbrdHDn2kQrV -2dwYTOaLou7xGK3VWZDdfsQ5jDd2bdW2EPU1UsN9/4okUBu19aUEoezgbL3tZbDr -XdIDu/e3XVRgCA2dMXaoh2ue/kJ6OcN58Jkf5pmgCCAvCFogvGZsK7VP+fGNovas -5Z5z/gZFb5QcHFM5r4U9k+XpHp8a3uhnXJk8KCiPY977TxLmlEARDmvvTMLmPhxX -rfDJOZglAMaR94wS5zyyWMxNNZImgsrwf6Jm+7iI3bJNPQxJOxB+9gRDSw/TYRr/ -sA== ------END CERTIFICATE----- diff --git a/certs/nesys.key b/certs/nesys.key deleted file mode 100644 index 2bb11e2..0000000 --- a/certs/nesys.key +++ /dev/null @@ -1,28 +0,0 @@ ------BEGIN PRIVATE KEY----- -MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDI9bkQwsjR/GGS -Bbk2AvfsL+mobUOrmVRH+9l6oDM7KLpaRl+rgJgh1BqmesEn9DRqCcFYdlz3E5Gg -sjRsYLAveKlNzmuKY7rrbo4LK0a7JMk7m8CYMNsQ00pq8CXLibNU0IMd1jc+30a4 -XvIzwiGW45ZYRupPL+b5fhYjo26ldBZPDpn5IBjLAHNs5+qrCJ7FvtHsMNOQ/3Te -00tr5M00D03XcWODSOpL1z4vQRw1WHZbC2QYhwMV8jrnqwgy7XqZSadms6icCOvI -MOuOYwhiMCWGkjhcSWidnG6irQhFBUytY4ElWS3sszPZf/Dk02b7U9/HPoxcu/l1 -DbdSjyOlAgMBAAEC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L+0ATjUn3qV4Buo8frN -RuXqwIpYBPOHLVQHoEhDLdOiTvM0vElFnLq0Hq7wmuVSiiVbKSlsEZbQHRZlaChp -32YDqVxUYGEj5XnpBiCq3DTLru7Wr8r0njvKiBMNLOPPbtHukHnJFZL3gDTo96Ey -js/euYOMeKilOMkIURCKhw4P ------END PRIVATE KEY----- diff --git a/certs/nesys.pfx b/certs/nesys.pfx deleted file mode 100644 index affeea6..0000000 Binary files a/certs/nesys.pfx and /dev/null differ diff --git a/certs/root.crt b/certs/root.crt deleted file mode 100644 index 496a003..0000000 --- a/certs/root.crt +++ /dev/null @@ -1,21 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIDbzCCAlegAwIBAgIUacZ68WtsoozH9w1+jlpguBVIh5gwDQYJKoZIhvcNAQEL -BQAwRzELMAkGA1UEBhMCSlAxCjAIBgNVBAgMAUExCjAIBgNVBAcMAUExIDAeBgNV -BAMMF1RhaXRvIEFyY2FkZSBNYWNoaW5lIENBMB4XDTIzMDYwNTAwMDc1OFoXDTMz -MDYwMjAwMDc1OFowRzELMAkGA1UEBhMCSlAxCjAIBgNVBAgMAUExCjAIBgNVBAcM -AUExIDAeBgNVBAMMF1RhaXRvIEFyY2FkZSBNYWNoaW5lIENBMIIBIjANBgkqhkiG -9w0BAQEFAAOCAQ8AMIIBCgKCAQEAoUvkzIO4WLknQUWA2z7/ZqrnwjRxKow27PHm -e6K6jTDcgEzKVljXCJV6TNWdlhU/jWoxqYmrQZJA8YGrUW3x9yUZB8WSusNfIU4m -5sLtTDTW7ivJbbOpSDernFBmemVnn9KGWuggp6LlH8Q+RzYEPWRszKNxC2lYNDKw -nLVRUIr8bKqVvzRDf+qk4lAV7WAJQW4SYzluOvf9ftSP54MwCexRIImnL9D/3OBi -4qxJrravaJdBWphd2r9WLUgOwTLN2f6p9NpTIbG+oOHsy/myW1cQw3i9mQM9jdK1 -rSzlgbqP5EmK6EN5aMhEy531d7zZBE1WDEx58dqArchVTmjo1QIDAQABo1MwUTAd -BgNVHQ4EFgQUdlf7M4BI/ELlCwTbk84NocX26+cwHwYDVR0jBBgwFoAUdlf7M4BI -/ELlCwTbk84NocX26+cwDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQsFAAOC -AQEANnk5Tdl3+LM5KZEHub6zig/i5U+Hl9cCbkqPyX5yZNsKuUYg/Sc+5+neuhfx -agvoIFMwbpv5OmyNFuTKtzaBx/VWymANYM9+vaV1so8XqtCeHYKu2Skq3oV58LSX -h1tZPwtnGoVJgeG5d5fltWgb26K7e1W0VZlgZPKiwWM/nMRPQW1tfB6l6Yd6bCL8 -My4PKHDPIva86YHM1CDJAnAv52ZSG46aOulUT0RUNJXDrF2+mEgjJ7vxQSRyvUTt -UWF2S+v9CemYfR+ghvtr3hAo9rNtlkBvW+tvCA3lPbc1U8DJwAOGQ0a/keaEegk+ -9dmTRoOYNN6kJBpgg+WCjswWbA== ------END CERTIFICATE----- diff --git a/certs/root.key b/certs/root.key deleted file mode 100644 index 44b9d4a..0000000 --- a/certs/root.key +++ /dev/null @@ -1,28 +0,0 @@ ------BEGIN PRIVATE KEY----- -MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQChS+TMg7hYuSdB -RYDbPv9mqufCNHEqjDbs8eZ7orqNMNyATMpWWNcIlXpM1Z2WFT+NajGpiatBkkDx -gatRbfH3JRkHxZK6w18hTibmwu1MNNbuK8lts6lIN6ucUGZ6ZWef0oZa6CCnouUf -xD5HNgQ9ZGzMo3ELaVg0MrCctVFQivxsqpW/NEN/6qTiUBXtYAlBbhJjOW469/1+ -1I/ngzAJ7FEgiacv0P/c4GLirEmutq9ol0FamF3av1YtSA7BMs3Z/qn02lMhsb6g -4ezL+bJbVxDDeL2ZAz2N0rWtLOWBuo/kSYroQ3loyETLnfV3vNkETVYMTHnx2oCt -yFVOaOjVAgMBAAECggEABjDnDdCKfWFR9+fmi8PNws+RiLtBkrwCCbM5QQqcdXno -JMaNx6WuT0aJhLR4U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ZWyldN5botq9LEWVLS4NLg -y3l0SY1Sl7Ax0ZH+uZVb9E/BSIytkcp6AbcGgIRvAISHO7bGiUORO8BBFkHmxuYG -xbK01G+eU/ZsrBbpjeDrehHY ------END PRIVATE KEY----- diff --git a/certs/root.pfx b/certs/root.pfx deleted file mode 100644 index 73ed66d..0000000 Binary files a/certs/root.pfx and /dev/null differ diff --git a/certs/test/nesica1.crt b/certs/test/nesica1.crt deleted file mode 100644 index 2a2bb9d..0000000 --- a/certs/test/nesica1.crt +++ /dev/null @@ -1,27 +0,0 @@ -Bag Attributes - localKeyID: 31 77 24 59 11 3A 84 C4 65 93 75 DE B7 EE 5A 89 6A B3 41 DA -subject=C = JP, ST = A, L = A, CN = nesica1 -issuer=C = JP, ST = A, L = A, CN = nesys ------BEGIN CERTIFICATE----- -MIIDxTCCAq2gAwIBAgIUfH7CYtnS909tjCJmn3h+9oqsLzUwDQYJKoZIhvcNAQEL -BQAwNTELMAkGA1UEBhMCSlAxCjAIBgNVBAgMAUExCjAIBgNVBAcMAUExDjAMBgNV -BAMMBW5lc3lzMB4XDTIzMDYwNTAwMDc1OVoXDTMzMDYwMjAwMDc1OVowNzELMAkG -A1UEBhMCSlAxCjAIBgNVBAgMAUExCjAIBgNVBAcMAUExEDAOBgNVBAMMB25lc2lj -YTEwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDCX+/yIAFz9TpeyQxw -b3YYL+9Ngfedmxil7U3HZcpDR+2ysNtmdMTIVzQhz+ql7y3BJ+CSriEvDotuhRp1 -5RFANcqf5JoolZ9m3a6BZZkQrjBZqCD7UOTExf11WKLq05N0Nr0EKoGRn4PQF04m -W/3zjpx3M53EbOAVq5bstGyClrTWItvHpzuJ3doCLotTUOKW+b6B5WPnjkPBuR9B -kMa9Ru1ZlQqxkEVxAqLdNSOLVisTASZ91ZmLhQM7klOSfMbO/6tWV2ZKgQ02Cdjt -7tEYKakGfmT21YT3q2f/2FF9TyarX9nma4RLnoNwt+GlH8bZFukr/Nkk2sf1jRZk -YecdAgMBAAGjgcowgccwHQYDVR0OBBYEFCMsf1N9KUmlPlwvFw4CBIXAuxo1MB8G -A1UdIwQYMBaAFNIBY5H/aDapjbeUecKlfXXV6ouRMA8GA1UdEwEB/wQFMAMBAf8w -dAYDVR0RBG0wa4INY2VydC5uZXN5cy5qcIIOY2VydDMubmVzeXMuanCCDWRhdGEu -bmVzeXMuanCCDnByb3h5Lm5lc3lzLmpwghFuZXN5cy50YWl0by5jby5qcIIYZmpt -MTcwOTIwemVyby5uZXNpY2EubmV0MA0GCSqGSIb3DQEBCwUAA4IBAQAXSf9Tk/i2 -/Sq2mE5TiFSbhnLQB8GAn1UbiVZb6MSlrNDDuvVCk7MkYT2OnLamlbE1sdblU7/J -TIESBo4hjlwBaN61KpGRnf4NVrBh7gyCmcOHmlSAxL0+Irc0ZzwFk6Dz47MSGwYJ -QCeGWvryQdTxKpqzf04u5kOzWezoyTzxnxqw4VyxNZRXaYGfdLnzzm31jLl0Wd8d -oVyCwDmDN2lb71S5XJ47ugR+bRD3YDm0ZS+42qLvvA8FaIV/lOV1xK6So29yEz0P -HvLi/sJs0Mck7ZlG56MzwSCYHNcFTBGVVIZM2tcxWsXS/+VxtHJtbysY64eHnYog -G/7ah4CXcWtI ------END CERTIFICATE----- diff --git a/certs/test/nesica1.key b/certs/test/nesica1.key deleted file mode 100644 index 962bbc0..0000000 --- a/certs/test/nesica1.key +++ /dev/null @@ -1,31 +0,0 @@ -Bag Attributes - localKeyID: 31 77 24 59 11 3A 84 C4 65 93 75 DE B7 EE 5A 89 6A B3 41 DA -Key Attributes: ------BEGIN PRIVATE KEY----- -MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDCX+/yIAFz9Tpe -yQxwb3YYL+9Ngfedmxil7U3HZcpDR+2ysNtmdMTIVzQhz+ql7y3BJ+CSriEvDotu -hRp15RFANcqf5JoolZ9m3a6BZZkQrjBZqCD7UOTExf11WKLq05N0Nr0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A+PTvGJd5d2o09QrESmsWZTIysRTMz1ou3AD4RAoGBAJQH -7m/82kMFDDuknjc778J84vzpBEF8g0o7m92XWstViiSUNTE+sGM7R+pr5X+zEt2t -AVtNpGFiAnmquJND3K+JULpOnJE8SyVtle/pcCPfpQjxw/6LAHorJxoGzQ3RIWLM -e6VkbACDU97jMnQq4S2FIwr8a9D9yIk/VP+Cv78hAoGBAOGJ1LJhj9pMZeY4kmAA -L4qujX55bzs9Lk/+zKwE5RlwDpFzXzSXXHnWZeEyOb6ENyOnUpwT5gRyJFKidD1h -gtEx0PWclBbrf84Tz1GRurVmb+FuRe5la+aLb5Otdudnc+mggNGFoAOZMU8mQtoQ -s/bVTFKdN0+vYR18OTu3nGQg ------END PRIVATE KEY----- diff --git a/certs/test/nesica1.pfx b/certs/test/nesica1.pfx deleted file mode 100644 index 7f1294b..0000000 Binary files a/certs/test/nesica1.pfx and /dev/null differ diff --git a/certs/test/nesys.crt b/certs/test/nesys.crt deleted file mode 100644 index 7496bb1..0000000 --- a/certs/test/nesys.crt +++ /dev/null @@ -1,25 +0,0 @@ -Bag Attributes - localKeyID: 95 50 8D 60 5A CE 2B CF 64 99 FD DC 17 8C 56 AC 12 73 70 FF -subject=C = JP, ST = A, L = A, CN = nesys -issuer=C = JP, ST = A, L = A, CN = Taito Arcade Machine CA ------BEGIN CERTIFICATE----- -MIIDXTCCAkWgAwIBAgIUZvUOPy2SRMCgA7kLN+3K5pj6PUswDQYJKoZIhvcNAQEL -BQAwRzELMAkGA1UEBhMCSlAxCjAIBgNVBAgMAUExCjAIBgNVBAcMAUExIDAeBgNV -BAMMF1RhaXRvIEFyY2FkZSBNYWNoaW5lIENBMB4XDTIzMDYwNTAwMDc1OFoXDTMz -MDYwMjAwMDc1OFowNTELMAkGA1UEBhMCSlAxCjAIBgNVBAgMAUExCjAIBgNVBAcM -AUExDjAMBgNVBAMMBW5lc3lzMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKC -AQEAyPW5EMLI0fxhkgW5NgL37C/pqG1Dq5lUR/vZeqAzOyi6WkZfq4CYIdQapnrB -J/Q0agnBWHZc9xORoLI0bGCwL3ipTc5rimO6626OCytGuyTJO5vAmDDbENNKavAl -y4mzVNCDHdY3Pt9GuF7yM8IhluOWWEbqTy/m+X4WI6NupXQWTw6Z+SAYywBzbOfq -qwiexb7R7DDTkP903tNLa+TNNA9N13Fjg0jqS9c+L0EcNVh2WwtkGIcDFfI656sI -Mu16mUmnZrOonAjryDDrjmMIYjAlhpI4XElonZxuoq0IRQVMrWOBJVkt7LMz2X/w -5NNm+1Pfxz6MXLv5dQ23Uo8jpQIDAQABo1MwUTAdBgNVHQ4EFgQU0gFjkf9oNqmN -t5R5wqV9ddXqi5EwHwYDVR0jBBgwFoAUdlf7M4BI/ELlCwTbk84NocX26+cwDwYD -VR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAQEAnkR/ZX3zDQaOZRCxaBJ8 -dMdAWVW7gKfUUUFn9icRAs8g2NnxhLAQ1Wj9Xet80OflqusUIz1kfbrdHDn2kQrV -2dwYTOaLou7xGK3VWZDdfsQ5jDd2bdW2EPU1UsN9/4okUBu19aUEoezgbL3tZbDr -XdIDu/e3XVRgCA2dMXaoh2ue/kJ6OcN58Jkf5pmgCCAvCFogvGZsK7VP+fGNovas -5Z5z/gZFb5QcHFM5r4U9k+XpHp8a3uhnXJk8KCiPY977TxLmlEARDmvvTMLmPhxX -rfDJOZglAMaR94wS5zyyWMxNNZImgsrwf6Jm+7iI3bJNPQxJOxB+9gRDSw/TYRr/ -sA== ------END CERTIFICATE----- diff --git a/certs/test/nesys.key b/certs/test/nesys.key deleted file mode 100644 index d228448..0000000 --- a/certs/test/nesys.key +++ /dev/null @@ -1,31 +0,0 @@ -Bag Attributes - localKeyID: 95 50 8D 60 5A CE 2B CF 64 99 FD DC 17 8C 56 AC 12 73 70 FF -Key Attributes: ------BEGIN PRIVATE KEY----- -MIIEvgIBADANBgkqhkiG9w0BAQE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789vvZhB/hFc -Y4wTLlHVZQKBgQCAyQiHe1LJargEYvw8/lfBfHNi6obZIot6X0gzQWN1kde0J+rk -SZtF+EGzG7ymjkuXtGu/D7N1Or0F21Aj7b6CmfTVxsd56ajULsBWQdBdo5grZlX1 -OFcx+QXaKB+8sqCJeOSdgGfTHZmXc6fScDPs996+rKBQnWMXukER/4zQgQKBgDsI -7vlouwI0KYSqBJOQQ3Y30xGgb3Ty703Q/LkZ0TvJRk1AkHJkoh8SeNwaxpR2J/di -UcNaoepcLtjk+kZ79nbEncLLKLaCBfvSjydMMjsLE+EVaCks2qMb4trgrguM96zJ -2lsEi+xfwIqinU6uYeT9dWIOE1Z6KUYNlZPi+l+RAoGBAL+0ATjUn3qV4Buo8frN -RuXqwIpYBPOHLVQHoEhDLdOiTvM0vElFnLq0Hq7wmuVSiiVbKSlsEZbQHRZlaChp -32YDqVxUYGEj5XnpBiCq3DTLru7Wr8r0njvKiBMNLOPPbtHukHnJFZL3gDTo96Ey -js/euYOMeKilOMkIURCKhw4P ------END PRIVATE KEY----- diff --git a/certs/test/nesys.pfx b/certs/test/nesys.pfx deleted file mode 100644 index affeea6..0000000 Binary files a/certs/test/nesys.pfx and /dev/null differ diff --git a/certs/test/root.crt b/certs/test/root.crt deleted file mode 100644 index 069619e..0000000 --- a/certs/test/root.crt +++ /dev/null @@ -1,25 +0,0 @@ -Bag Attributes - localKeyID: 96 20 7D 93 C7 3E C0 5A 55 61 3E 4E 0C 2D E7 44 35 87 5B 03 -subject=C = JP, ST = A, L = A, CN = Taito Arcade Machine CA -issuer=C = JP, ST = A, L = A, CN = Taito Arcade Machine CA ------BEGIN CERTIFICATE----- -MIIDbzCCAlegAwIBAgIUacZ68WtsoozH9w1+jlpguBVIh5gwDQYJKoZIhvcNAQEL -BQAwRzELMAkGA1UEBhMCSlAxCjAIBgNVBAgMAUExCjAIBgNVBAcMAUExIDAeBgNV -BAMMF1RhaXRvIEFyY2FkZSBNYWNoaW5lIENBMB4XDTIzMDYwNTAwMDc1OFoXDTMz -MDYwMjAwMDc1OFowRzELMAkGA1UEBhMCSlAxCjAIBgNVBAgMAUExCjAIBgNVBAcM -AUExIDAeBgNVBAMMF1RhaXRvIEFyY2FkZSBNYWNoaW5lIENBMIIBIjANBgkqhkiG -9w0BAQEFAAOCAQ8AMIIBCgKCAQEAoUvkzIO4WLknQUWA2z7/ZqrnwjRxKow27PHm -e6K6jTDcgEzKVljXCJV6TNWdlhU/jWoxqYmrQZJA8YGrUW3x9yUZB8WSusNfIU4m -5sLtTDTW7ivJbbOpSDernFBmemVnn9KGWuggp6LlH8Q+RzYEPWRszKNxC2lYNDKw -nLVRUIr8bKqVvzRDf+qk4lAV7WAJQW4SYzluOvf9ftSP54MwCexRIImnL9D/3OBi -4qxJrravaJdBWphd2r9WLUgOwTLN2f6p9NpTIbG+oOHsy/myW1cQw3i9mQM9jdK1 -rSzlgbqP5EmK6EN5aMhEy531d7zZBE1WDEx58dqArchVTmjo1QIDAQABo1MwUTAd -BgNVHQ4EFgQUdlf7M4BI/ELlCwTbk84NocX26+cwHwYDVR0jBBgwFoAUdlf7M4BI -/ELlCwTbk84NocX26+cwDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQsFAAOC -AQEANnk5Tdl3+LM5KZEHub6zig/i5U+Hl9cCbkqPyX5yZNsKuUYg/Sc+5+neuhfx -agvoIFMwbpv5OmyNFuTKtzaBx/VWymANYM9+vaV1so8XqtCeHYKu2Skq3oV58LSX -h1tZPwtnGoVJgeG5d5fltWgb26K7e1W0VZlgZPKiwWM/nMRPQW1tfB6l6Yd6bCL8 -My4PKHDPIva86YHM1CDJAnAv52ZSG46aOulUT0RUNJXDrF2+mEgjJ7vxQSRyvUTt -UWF2S+v9CemYfR+ghvtr3hAo9rNtlkBvW+tvCA3lPbc1U8DJwAOGQ0a/keaEegk+ -9dmTRoOYNN6kJBpgg+WCjswWbA== ------END CERTIFICATE----- diff --git a/certs/test/root.key b/certs/test/root.key deleted file mode 100644 index 5fd2a5f..0000000 --- a/certs/test/root.key +++ /dev/null @@ -1,31 +0,0 @@ -Bag Attributes - localKeyID: 96 20 7D 93 C7 3E C0 5A 55 61 3E 4E 0C 2D E7 44 35 87 5B 03 -Key Attributes: ------BEGIN PRIVATE KEY----- -MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQChS+TMg7hYuSdB -RYDbPv9mqufCNHEqjDbs8eZ7orqNMNyATMpWWNcIlXpM1Z2WFT+NajGpiatBkkDx -gatRbfH3JRkHxZK6w18hTibmwu1MNNbuK8lts6lIN6ucUGZ6ZWef0oZa6CCnouUf -xD5HNgQ9ZGzMo3ELaVg0MrCctVFQivxsqpW/NEN/6qTiUBXtYAlBbhJjOW469/1+ -1I/ngzAJ7FEgiacv0P/c4GLirEmutq9ol0FamF3av1YtSA7BMs3Z/qn02lMhsb6g -4ezL+bJbVxDDeL2ZAz2N0rWtLOWBuo/kSYroQ3loyETLnfV3vNkETVYMTHnx2oCt -yFVOaOjVAgMBAAECggEABjDnDdCKfWFR9+fmi8PNws+RiLtBkrwCCbM5QQqcdXno -JMaNx6WuT0aJhLR4UX/sSg3G7TZ7C8/EzWBIRp5dOLrETK+RM7j3CEy7IoVd3Vxz -2X11xE+ukjaM0DmnzU/iG9jVTlz1j+mpOMBsEYipvf+CS5KEbscy2wINFF7DSb+U -Q8oMGDne7AoXyh3SvPCuPJK4gZq5usjG7XL8nYACaVmCotbrjmG633yBArMjQMet -Wtjq5jpVvGHa5AvOlxeh1eaQnDQVzvirURIZo9K/rmgKDMV7muUiq0K8KKmTld80 -/6CelYikwg7jI0IRy6AP2kL0/e3KfBrL5HEx4ErzgQKBgQDh+57z1St4rAW4RW2H -IWxofPeNrgBC8cFUm8GrIFw5T6xh/q0DLxU1IczUxWAOP0NnQG7qdMW84RGM3aSw -kh9msi8wiYaHMecvFflz3vsTWEhjY/ocdhIcWfFCpreRo/+fpAUJzpEU4VTiW/Wh -6+E30Mmb/FcW1zWlPk/X+h9MlQKBgQC2uKi5jDTx6olMdTwHD5Xhd3qhx9/VMDqB -YKpezOO0FUpD3spVM/H1P4qTB44U345WtRR4KVKbaCPPh3A3EF6rIkYv0BwTrZe/ -p6qTSq8woKzUrNX1uA9ZPLGGOBj/dDeEV4KC0Jp/hzt+TlujUDxdCLBtskBZS0LN -khAx3mfbQQKBgQCgQ6Cw8EcKJ4VO7/4DTZLib23pDrOkxmsDpAqvYB3Hj1eDj+gH -UAbMTZJEe03qDLeyrCF9KR9rGnsl2bKIfrjCTi/lTkMX8i4wWHc207ZgO8Xqpuaj -9KBXdvoA+NdK9HG/N8VS9SozErLubaVAFlb9DJdOhqEE0895xz08wGgeGQKBgAX/ -Q5JrdqVmBEGdK24z5cBzsnOy4rbVkWYDrTPVV7fmZvyZSFzJiqx4/Gxc+B3ZRIu1 -/8j92jc9kMdT86vq/qBxTIpvMyy2Kt/geenBrsRS0bldPtyEwQQ1yMHV/4QK5XOT -h7YRcLC02JAJtFpE3OZUza2cBx6nKLckjyGD4jbBAoGBANQDkmYFJ4m54rxdaRms -vjORG6ncxxucQbX+A5vgFUUXzRhB0qQre0pmLBJb2TZWyldN5botq9LEWVLS4NLg -y3l0SY1Sl7Ax0ZH+uZVb9E/BSIytkcp6AbcGgIRvAISHO7bGiUORO8BBFkHmxuYG -xbK01G+eU/ZsrBbpjeDrehHY ------END PRIVATE KEY----- diff --git a/certs/test/root.pfx b/certs/test/root.pfx deleted file mode 100644 index 73ed66d..0000000 Binary files a/certs/test/root.pfx and /dev/null differ diff --git a/docs/LLSIFAC.postman_collection.json b/docs/LLSIFAC.postman_collection.json deleted file mode 100644 index e5b887e..0000000 --- a/docs/LLSIFAC.postman_collection.json +++ /dev/null @@ -1,740 +0,0 @@ -{ - "info": { - "_postman_id": "acd9bca4-31b7-41d9-9959-0f941c62e903", - "name": "LLSIFAC", - "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" - }, - "item": [ - { - "name": "alive", - "item": [ - { - "name": "Alive.txt", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "https://127.0.0.1/alive/303801/Alive.txt", - "protocol": "https", - "host": [ - "127", - "0", - "0", - "1" - ], - "path": [ - "alive", - "303801", - "Alive.txt" - ] - } - }, - "response": [ - { - "name": "Alive.txt", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "https://127.0.0.1/alive/303801/Alive.txt", - "protocol": "https", - "host": [ - "127", - "0", - "0", - "1" - ], - "path": [ - "alive", - "303801", - "Alive.txt" - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "plain", - "header": [ - { - "key": "Content-Length", - "value": "0" - }, - { - "key": "Content-Type", - "value": "text/plain; charset=utf-8" - }, - { - "key": "Date", - "value": "Sat, 27 May 2023 02:14:10 GMT" - }, - { - "key": "Server", - "value": "Kestrel" - } - ], - "cookie": [], - "body": null - } - ] - }, - { - "name": "i.php", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "https://127.0.0.1/alive/i.php", - "protocol": "https", - "host": [ - "127", - "0", - "0", - "1" - ], - "path": [ - "alive", - "i.php" - ] - } - }, - "response": [ - { - "name": "i.php", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "https://127.0.0.1/alive/i.php", - "protocol": "https", - "host": [ - "127", - "0", - "0", - "1" - ], - "path": [ - "alive", - "i.php" - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "plain", - "header": [ - { - "key": "Content-Type", - "value": "text/plain; charset=utf-8" - }, - { - "key": "Date", - "value": "Sat, 27 May 2023 02:14:14 GMT" - }, - { - "key": "Server", - "value": "Kestrel" - }, - { - "key": "Transfer-Encoding", - "value": "chunked" - } - ], - "cookie": [], - "body": "REMOTE ADDRESS:127.0.0.1\nSERVER NAME:LLSIFAC\nSERVER ADDR:127.0.0.1" - } - ] - } - ] - }, - { - "name": "server", - "item": [ - { - "name": "certify.php", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "https://127.0.0.1/server/certify.php", - "protocol": "https", - "host": [ - "127", - "0", - "0", - "1" - ], - "path": [ - "server", - "certify.php" - ] - } - }, - "response": [ - { - "name": "certify.php", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "https://127.0.0.1/server/certify.php", - "protocol": "https", - "host": [ - "127", - "0", - "0", - "1" - ], - "path": [ - "server", - "certify.php" - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "plain", - "header": [ - { - "key": "Content-Type", - "value": "text/plain; charset=utf-8" - }, - { - "key": "Date", - "value": "Sat, 27 May 2023 02:01:47 GMT" - }, - { - "key": "Server", - "value": "Kestrel" - }, - { - "key": "Transfer-Encoding", - "value": "chunked" - } - ], - "cookie": [], - "body": "host=http://127.0.0.1\nno=1337\nname=LLServer\npref=nesys\naddr=Local\nx-next-time=15\nx-img=https://static.wikia.nocookie.net/houkai-star-rail/images/1/18/Character_March_7th_Splash_Art.png\nx-ranking=http://127.0.0.1/ranking/ranking.php\nticket=9251859b560b33b031516d05c2ef3c28" - } - ] - }, - { - "name": "FireAlert.php", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "https://127.0.0.1/server/FireAlert.php", - "protocol": "https", - "host": [ - "127", - "0", - "0", - "1" - ], - "path": [ - "server", - "FireAlert.php" - ] - } - }, - "response": [ - { - "name": "FireAlert.php", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "https://127.0.0.1/server/FireAlert.php", - "protocol": "https", - "host": [ - "127", - "0", - "0", - "1" - ], - "path": [ - "server", - "FireAlert.php" - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "plain", - "header": [ - { - "key": "Content-Type", - "value": "text/plain; charset=utf-8" - }, - { - "key": "Date", - "value": "Sat, 27 May 2023 02:14:21 GMT" - }, - { - "key": "Server", - "value": "Kestrel" - }, - { - "key": "Transfer-Encoding", - "value": "chunked" - } - ], - "cookie": [], - "body": "Success" - } - ] - }, - { - "name": "cursel.php", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "https://127.0.0.1/server/cursel.php", - "protocol": "https", - "host": [ - "127", - "0", - "0", - "1" - ], - "path": [ - "server", - "cursel.php" - ] - } - }, - "response": [ - { - "name": "cursel.php", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "https://127.0.0.1/server/cursel.php", - "protocol": "https", - "host": [ - "127", - "0", - "0", - "1" - ], - "path": [ - "server", - "cursel.php" - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "plain", - "header": [ - { - "key": "Content-Type", - "value": "text/plain; charset=utf-8" - }, - { - "key": "Date", - "value": "Sat, 27 May 2023 02:20:30 GMT" - }, - { - "key": "Server", - "value": "Kestrel" - }, - { - "key": "Transfer-Encoding", - "value": "chunked" - } - ], - "cookie": [], - "body": "1\n" - } - ] - } - ] - }, - { - "name": "service", - "item": [ - { - "name": "incom", - "item": [ - { - "name": "incom.php", - "request": { - "method": "POST", - "header": [], - "url": { - "raw": "https://127.0.0.1/service/incom/incom.php", - "protocol": "https", - "host": [ - "127", - "0", - "0", - "1" - ], - "path": [ - "service", - "incom", - "incom.php" - ] - } - }, - "response": [ - { - "name": "incom.php", - "originalRequest": { - "method": "POST", - "header": [], - "url": { - "raw": "https://127.0.0.1/service/incom/incom.php", - "protocol": "https", - "host": [ - "127", - "0", - "0", - "1" - ], - "path": [ - "service", - "incom", - "incom.php" - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "plain", - "header": [ - { - "key": "Content-Type", - "value": "text/plain; charset=utf-8" - }, - { - "key": "Date", - "value": "Sat, 27 May 2023 04:19:15 GMT" - }, - { - "key": "Server", - "value": "Kestrel" - }, - { - "key": "Transfer-Encoding", - "value": "chunked" - } - ], - "cookie": [], - "body": "1+1" - } - ] - }, - { - "name": "incomALL.php", - "request": { - "method": "POST", - "header": [], - "url": { - "raw": "https://127.0.0.1/service/incom/incomALL.php", - "protocol": "https", - "host": [ - "127", - "0", - "0", - "1" - ], - "path": [ - "service", - "incom", - "incomALL.php" - ] - } - }, - "response": [ - { - "name": "New Request", - "originalRequest": { - "method": "POST", - "header": [], - "url": { - "raw": "https://127.0.0.1/service/incom/incomALL.php", - "protocol": "https", - "host": [ - "127", - "0", - "0", - "1" - ], - "path": [ - "service", - "incom", - "incomALL.php" - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "plain", - "header": [ - { - "key": "Content-Type", - "value": "text/plain; charset=utf-8" - }, - { - "key": "Date", - "value": "Sat, 27 May 2023 04:19:38 GMT" - }, - { - "key": "Server", - "value": "Kestrel" - }, - { - "key": "Transfer-Encoding", - "value": "chunked" - } - ], - "cookie": [], - "body": "1+1" - } - ] - } - ] - }, - { - "name": "respone", - "item": [ - { - "name": "respone.php", - "request": { - "method": "POST", - "header": [], - "url": { - "raw": "https://127.0.0.1/service/respone/respone.php", - "protocol": "https", - "host": [ - "127", - "0", - "0", - "1" - ], - "path": [ - "service", - "respone", - "respone.php" - ] - } - }, - "response": [ - { - "name": "respone.php", - "originalRequest": { - "method": "POST", - "header": [], - "url": { - "raw": "https://127.0.0.1/service/respone/respone.php", - "protocol": "https", - "host": [ - "127", - "0", - "0", - "1" - ], - "path": [ - "service", - "respone", - "respone.php" - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "plain", - "header": [ - { - "key": "Content-Type", - "value": "text/plain; charset=utf-8" - }, - { - "key": "Date", - "value": "Sat, 27 May 2023 02:18:25 GMT" - }, - { - "key": "Server", - "value": "Kestrel" - }, - { - "key": "Transfer-Encoding", - "value": "chunked" - } - ], - "cookie": [], - "body": "1" - } - ] - } - ] - }, - { - "name": "card", - "item": [ - { - "name": "incomALL.php", - "request": { - "method": "POST", - "header": [], - "url": { - "raw": "https://127.0.0.1/service/card/incomALL.php", - "protocol": "https", - "host": [ - "127", - "0", - "0", - "1" - ], - "path": [ - "service", - "card", - "incomALL.php" - ] - } - }, - "response": [ - { - "name": "incomALL.php", - "originalRequest": { - "method": "POST", - "header": [], - "url": { - "raw": "https://127.0.0.1/service/card/incomALL.php", - "protocol": "https", - "host": [ - "127", - "0", - "0", - "1" - ], - "path": [ - "service", - "card", - "incomALL.php" - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "plain", - "header": [ - { - "key": "content-length", - "value": "3" - }, - { - "key": "content-type", - "value": "text/plain" - }, - { - "key": "date", - "value": "Sun, 28 May 2023 15:18:55 GMT" - } - ], - "cookie": [], - "body": "1+1" - } - ] - } - ] - } - ] - }, - { - "name": "game", - "item": [ - { - "name": "info", - "request": { - "method": "POST", - "header": [], - "url": { - "raw": "https://127.0.0.1/game/info", - "protocol": "https", - "host": [ - "127", - "0", - "0", - "1" - ], - "path": [ - "game", - "info" - ] - } - }, - "response": [] - } - ] - }, - { - "name": "basicinfo", - "request": { - "method": "POST", - "header": [], - "url": { - "raw": "https://127.0.0.1/basicinfo", - "protocol": "https", - "host": [ - "127", - "0", - "0", - "1" - ], - "path": [ - "basicinfo" - ] - } - }, - "response": [ - { - "name": "basicinfo", - "originalRequest": { - "method": "POST", - "header": [], - "url": { - "raw": "https://127.0.0.1/basicinfo", - "protocol": "https", - "host": [ - "127", - "0", - "0", - "1" - ], - "path": [ - "basicinfo" - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "raw", - "header": [ - { - "key": "Content-Type", - "value": "application/octet-stream" - }, - { - "key": "Date", - "value": "Sat, 27 May 2023 02:24:15 GMT" - }, - { - "key": "Server", - "value": "Kestrel" - }, - { - "key": "Transfer-Encoding", - "value": "chunked" - } - ], - "cookie": [], - "body": "\t�a�:\u0013\\J\u000eM�B��\u0010��\f���J�yc��\u001b�+,)�\\\u0012H��R�;d�ڈ�+\u0002������O�c�����\u001c\\V� ���\u0002\u0001��E�O; - -// Certify -use hex_literal::hex; -use md5::{Digest, Md5}; - -#[post("/basicinfo")] -async fn basicinfo() -> HttpResponse { - println!("/basicinfo\nNot fully implemented!"); - /* - let pem = "-----BEGIN PUBLIC KEY----- - MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAy63nybDg2d0l5Em5RTsx - 0QJ4WhuT4DwrzJD/SdPDbOotXE5BiVycfNxcfXVSa74SvqThyQs4KasZyK/NWJN6 - Xyi7NQgh2xKYc3eVj8b8MSkhz5Y7631dscLQRR9sDiTf2+jR8umd6U9op/ZucaOU - zaEcyHalryeeRwD8q7mtlBccL+5dSVVWuPaJ/Oh4Oivk4qNunYHygQ/iw2vBgN3f - 6tB1yiKlUe0T51FS1yJcavWilp2JA6XGEhh0OmFJX6wf5vPu9heTXGqnriClinXn - XV1zUPDaa0udD8n2OV9NphozqD7TT4pE68G65Xz/iLAaEudSg7f1Shu+VFtt/cF4 - NwIDAQAB - -----END PUBLIC KEY-----"; - */ - let mut key_file = File::open("priv.pem").unwrap(); - - let mut key_buffer = Vec::new(); - key_file.read_to_end(&mut key_buffer).unwrap(); - - // Load the private key from the PEM data - let rsa = Rsa::private_key_from_pem(&key_buffer).unwrap(); - - let plaintext = r#" - {'result':200,'response':{'base_url':'http://10.3.0.53/game/info','download_url':'http://10.3.0.53/download','key':'01234567890123456789012345678901','iv':'0123456789012345','tenpo_index':1337}} - "#; - let mut ciphertext = vec![0; rsa.size() as usize]; - rsa.public_encrypt(plaintext.as_bytes(), &mut ciphertext, Padding::PKCS1).unwrap(); - - println!("{:?}", String::from_utf8_lossy(&ciphertext)); - - //let mut rng = rand::thread_rng(); - //let pub_key = RsaPublicKey::from_public_key_pem(pem).unwrap(); - //let ciphertext = pub_key.encrypt(&mut rng, Pkcs1v15Encrypt, &plaintext.as_bytes()).expect("failed to encrypt"); - HttpResponse::Ok().append_header(ContentType::octet_stream()).body(ciphertext) -} - -#[macro_export] -macro_rules! resp { - ($str:expr) => { - //HttpResponse::Ok().append_header(ContentType(mime::TEXT_HTML)).body($str) - HttpResponse::Ok().append_header(ContentType::octet_stream()).body($str) - }; -} - -#[get("/alive/{id}/Alive.txt")] -async fn alive(id: web::Path, req: actix_web::HttpRequest) -> HttpResponse { - println!("/alive/{}/Alive.txt", id); - resp!("") -} - -#[get("/alive/i.php")] -async fn alive_i() -> HttpResponse { - println!("/alive/i.php"); - resp!("REMOTE ADDRESS:10.3.0.53\nSERVER NAME:LLSIFAC\nSERVER ADDR:10.3.0.53") -} - -#[post("/service/card/incomALL.php")] -async fn incomALL() -> HttpResponse { - println!("/service/card/incomALL.php"); - resp!("1+1") -} - -#[post("/service/respone/respone.php")] -async fn respone() -> HttpResponse { - println!("____________________________"); - println!("/service/respone/respone.php"); - resp!("1") -} - -#[get("/server/FireAlert.php")] -async fn fire_alert() -> HttpResponse { - println!("/server/FireAlert.php"); - resp!("OK") -} - -#[get("/server/cursel.php")] -async fn cursel() -> HttpResponse { - println!("/server/cursel.php"); - resp!("1\n") -} - -#[get("/server/gameinfo.php")] -async fn gameinfo() -> HttpResponse { - println!("/server/gameinfo.php"); - resp!("0\n3\n301000,test1\n302000,test2\n303000,test3\n") -} -#[post("/game/info")] -async fn game_info() -> HttpResponse { - // JSON type that is AES encrypted - let plaintext = r#"{"result":200,"response":{"base_url":"http://10.3.0.53/game/next","information":[],"event_information":[],"encore_expiration_date":"2033-05-27"}}"#; - - // Crypto constants - let key: &[u8] = "0123456789012345".as_bytes(); - let iv: &[u8] = "0123456789012345".as_bytes(); - - // Encrypt - let mut ciphertext = plaintext.as_bytes().to_vec(); - Aes128CfbEnc::new(key.into(), iv.into()).encrypt(&mut ciphertext); - - //println!("{:?}", String::from_utf8_lossy(&ciphertext)); - println!("/game/info"); - HttpResponse::Ok().append_header(ContentType::octet_stream()).body(ciphertext) -} - -#[derive(Serialize, Deserialize, Debug)] -pub struct Certify { - pub gid: u32, - pub mac: String, - pub r: u32, - pub md: String, - pub cn: String, -} - -#[get("/server/certify.php")] -async fn certify(data: web::Query, req: HttpRequest) -> HttpResponse { - println!("/server/certify.php"); - dbg!(&data); - let mut hasher = Md5::new(); - let gid_bytes = "303801".as_bytes(); // LL game nesys id - hasher.update(gid_bytes); - let hash_result = hasher.finalize(); - let mut ticket = String::new(); - for byte in hash_result { - ticket.push_str(&format!("{:x?}", &byte)); - } - let res = format!( - "host=http://10.3.0.53 -no=1337 -name=LLServer -pref=nesys -addr=Local -x-next-time=15 -x-img=http://10.3.0.53/test.png -x-ranking=http://10.3.0.53/ranking/ranking.php -ticket=9251859b560b33b031516d05c2ef3c28" - ); - println!("Response:\n{}", &res); - resp!(res) -} - -#[get("/server/data.php")] -async fn server_data() -> HttpResponse { - resp!("count=0\nnexttime=0\n") -} - -async fn index(req: actix_web::HttpRequest) -> HttpResponse { - println!("---"); - println!("Method: {:?}", req.method()); - println!("Host: {:?}", req.head().uri.host()); - println!("Path: {:?}", req.path()); - //dbg!(&req); - HttpResponse::Ok().append_header(ContentType(mime::TEXT_PLAIN)).body("shit") -} - -fn load_rustls_config() -> rustls::ServerConfig { - // init server config builder with safe defaults - let config = ServerConfig::builder().with_safe_defaults().with_no_client_auth(); - - // load TLS key/cert files - let cert_file = &mut BufReader::new(File::open("./certs/test/nesica1.crt").expect("Certificate not found!")); - let key_file = &mut BufReader::new(File::open("./certs/test/nesica1.key").expect("Key not found!")); - - // convert files to key/cert objects - let cert_chain = certs(cert_file).unwrap().into_iter().map(Certificate).collect(); - let mut keys: Vec = pkcs8_private_keys(key_file).unwrap().into_iter().map(PrivateKey).collect(); - - // exit if no keys could be parsed - if keys.is_empty() { - eprintln!("Could not locate PKCS 8 private keys."); - std::process::exit(1); - } - - config.with_single_cert(cert_chain, keys.remove(0)).unwrap() -} - -#[actix_web::main] -async fn main() -> std::io::Result<()> { - //env_logger::init_from_env(env_logger::Env::new().default_filter_or("info")); - let config = load_rustls_config(); - info!("Certificates loaded."); - println!("Started!"); - HttpServer::new(|| { - App::new() - .service(alive) - .service(alive_i) - .service(incomALL) - .service(respone) - .service(fire_alert) - .service(cursel) - .service(gameinfo) - .service(game_info) - .service(certify) - .service(server_data) - .service(basicinfo) - .route("{path:.*}", web::get().to(index)) - }) - .bind("0.0.0.0:80")? - .bind("0.0.0.0:5107")? - .bind_rustls("0.0.0.0:443", config)? - .run() - .await -} diff --git a/utils/install.bat b/utils/install.bat deleted file mode 100755 index 647b9a8..0000000 --- a/utils/install.bat +++ /dev/null @@ -1,9 +0,0 @@ -echo "Run as admin!" -pause -certutil.exe -addstore root C:\Users\aoeu\Downloads\certtest\root.crt - -certutil.exe -addstore root C:\Users\aoeu\Downloads\certtest\nesys.crt - -certutil.exe -addstore root C:\Users\aoeu\Downloads\certtest\nesica1.crt - -pause \ No newline at end of file diff --git a/utils/nesys.bat b/utils/nesys.bat deleted file mode 100755 index fbf64cc..0000000 --- a/utils/nesys.bat +++ /dev/null @@ -1 +0,0 @@ -sc.exe create nesys BinPath="D:\system\Service\NesysService.exe" \ No newline at end of file diff --git a/utils/reg.reg b/utils/reg.reg deleted file mode 100755 index bb26dc6..0000000 Binary files a/utils/reg.reg and /dev/null differ