You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-8Lines changed: 10 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,13 +5,15 @@ With this servermod you can easily send script commands or SQF code via a POST r
5
5
# Hello there!
6
6
This is an robust and fast ArmA 3 Servermod that runs on 32 bit and 64 bit Windows (Sooner or later also Linux but i have no machine to test or compile)! It listens on a specified port for incoming requests and returns a JSON-Array with a response code and the return of the executed script. The servermod consists of a pbo and 6 DLLs (2 ArmA extension DLLs and 4 library DLLs for OpenSSL).
7
7
8
+
8
9
This is still under development, so you may encounter bugs, please create an issue on the github page explaining your bug and it will get fixed ASAP!)
9
10
Inspired by <a href=https://github.com/dylanplecki/sqf-rcon>this</a>
10
11
11
12
12
13
# For Developers
13
14
This is built in VS2019 (vc-142) using the <a href=https://github.com/ipkn/crow>crow webserver</a>, the boost library from nuget (vc141, version 1.69 (all above 1.69 will cause compiler issues)) It also uses the openssl-vc142 package from nuget for https support for crow.
14
15
16
+
15
17
If you have knowledge in linux development, please help me :3
16
18
17
19
@@ -22,23 +24,23 @@ I would also recommend to use "-autoInit" as a startparameter so you can use it
22
24
23
25
24
26
# How to use
25
-
Send a POST request to "{IP}:{PORT}/send" with the parameters "user", "pass" and "execute", where "user" represents the username, "pass" the password and "execute" the SQF Code you want to execute
27
+
Send a POST request to "{IP}:{PORT}/send" with the parameters "user", "pass" and "execute", where "user" represents the username, "pass" the password and "execute" the SQF Code you want to execute.
28
+
29
+
If you use HTTPS you need to get a SSL Certificate, you can just generate a self signed certificate from a website like <a href=https://www.selfsignedcertificate.com/>this</a>, add your domain/IP, download the .key and .cert file and paste it in the mod folder. Remember to edit the config.
26
30
27
31
28
32
# Config File
29
33
The Config File is pretty self explanatory
30
34
<img src=https://i.imgur.com/wZOOfdv.png></img>
31
35
36
+
32
37
<b>Fields:</b><br />
33
38
host (string, default: "127.0.0.1"): A hostname (or IP-Address) <br />
34
-
port (string, default: "6601"): Port <br /><br />
35
-
36
-
https (boolean, default: true): If you want to use HTTPS or not <br /><br />
37
-
39
+
port (string, default: "6601"): Port <br />
40
+
https (boolean, default: true): If you want to use HTTPS or not <br />
38
41
SSL_Key (string, default: "@sqfremoteexecute\ssl.key"): Path to your ssl.key file (only needed if using https) <br />
39
-
SSL_Cert (string, default: "@sqfremoteexecute\ssl.cert"): Path to your ssl.cert file (only needed if using https) <br /><br />
40
-
41
-
users (array that contains an array of credentials, default user is "foo" with pass of "bar" (you need to hash the password with the SHA256 algorithm), <b>1337 is the maximum number of user accounts!</b> <br /><br />
42
+
SSL_Cert (string, default: "@sqfremoteexecute\ssl.cert"): Path to your ssl.cert file (only needed if using https) <br />
43
+
users (array that contains an array of credentials, default user is "foo" with pass of "bar" (you need to hash the password with the SHA256 algorithm), <b>1337 is the maximum number of user accounts!^^</b>
0 commit comments