diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 13b8a65..b5ab30a 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -68,4 +68,4 @@ jobs: - name: Upload results to Codecov uses: codecov/codecov-action@v4 with: - token: ${{ secrets.CODECOV_TOKEN }} \ No newline at end of file + token: ${{ secrets.CODECOV_TOKEN }} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 16c8083..c174cac 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,4 +9,4 @@ repos: hooks: - id: check-yaml - id: end-of-file-fixer - - id: trailing-whitespace \ No newline at end of file + - id: trailing-whitespace diff --git a/README.md b/README.md index aacc1b6..0e21a21 100644 --- a/README.md +++ b/README.md @@ -171,4 +171,4 @@ Don't forget to give the project a star! Thanks again! [license-shield]: https://img.shields.io/github/license/EMCL-Research-ITSecLab/ctf-creator.svg?style=for-the-badge [license-url]: https://github.com/EMCL-Research-ITSecLab/ctf-creator/blob/master/LICENSE.txt [coverage-shield]: https://img.shields.io/codecov/c/github/EMCL-Research-ITSecLab/ctf-creator?style=for-the-badge -[coverage-url]: https://app.codecov.io/github/EMCL-Research-ITSecLab/ctf-creator \ No newline at end of file +[coverage-url]: https://app.codecov.io/github/EMCL-Research-ITSecLab/ctf-creator diff --git a/challenge.yaml b/challenge.yaml index a0df937..53ac96c 100644 --- a/challenge.yaml +++ b/challenge.yaml @@ -15,37 +15,21 @@ ###################################################################################### name: Exercise 1 -# Containername:version +# Containername:version # E.g. nginx:latest containers: # - ghcr.io/emcl-research-itseclab/itsec-1-exercises:main-wireshark-1 - - nginx:latest + - image: nginx:latest # Usernames/ Uni-IDs users: - tz251 -# For SSH Connection -# Direction of your private SSH key -identityFile: - - /home/smachmeier/.ssh/hiscout - # For SSH Connection with user in Terminal # E.g. user@hostIPadress hosts: - - debian@129.206.5.206 - -# IP Adress: firstpart.xx.xx.xx/24 -# E.g. 10 if IP Adress is 10.13.0.0/24 -subnet_first_part: - - 10 - -# IP Adress xx.second_part.xx.xx/24 -# E.g. 13 if IP Adress is 10.13.0.0/24 -subnet_second_part: - - 13 + - ip: 129.206.5.206 + username: debian + identity_file: /Users/stefan/.ssh/hiscout -# IP Adress xx.xx.third_part.xx/24 -# E.g. 0 if IP Adress is 10.13.0.0/24 -subnet_third_part: - - 0 +subnet: 10.13.0.0/24 diff --git a/example.yaml b/example.yaml deleted file mode 100644 index cf2d533..0000000 --- a/example.yaml +++ /dev/null @@ -1,55 +0,0 @@ -###################################################################################### -# Description of the YAML File: -# To use ctf_main.py, you have to provide a YAML config file like this one. -# -# Arguments for the YAML file: -# - name: Name of the YAML config. -# - containers: Docker containers deployed for each user. -# - users: List of users. -# - identityFile: Path to the private SSH keys for host login. -# - hosts: Hosts where the Docker containers are running. -# - subnet_first_part: IP address, formatted as firstpart.xx.xx.xx/24. -# - subnet_second_part: IP address, formatted as xx.second_part.xx.xx/24. -# - subnet_third_part: IP address, formatted as xx.xx.third_part.xx/24. -# -###################################################################################### - -name: test1 -# Containername:version -# E.g. nginx:latest -containers: - - nginx:latest - - nginx:latest -# Usernames/ Uni-IDs -users: - - tz251 - - mg235 - - qd109 - - lk543 - -# For SSH Connection -# Direction of your private SSH key -identityFile: - - /home/nick/Data/ssh_key - -# For SSH Connection with user in Terminal -# E.g. user@hostIPadress -hosts: - - ubuntu@10.20.30.101 - - ubuntu@10.20.30.102 - - ubuntu@10.20.30.103 - - ubuntu@10.20.30.104 - -# IP Adress: firstpart.xx.xx.xx/24 -# E.g. 10 if IP Adress is 10.13.0.0/24 -subnet_first_part: - - 10 -# IP Adress xx.second_part.xx.xx/24 -# E.g. 13 if IP Adress is 10.13.0.0/24 -subnet_second_part: - - 13 - -# IP Adress xx.xx.third_part.xx/24 -# E.g. 0 if IP Adress is 10.13.0.0/24 -subnet_third_part: - - 0 diff --git a/example_generated_data/data/user_lk543/README.md b/example_generated_data/data/user_lk543/README.md deleted file mode 100644 index 687e4a4..0000000 --- a/example_generated_data/data/user_lk543/README.md +++ /dev/null @@ -1,10 +0,0 @@ -# OpenVPN Connection Instructions - - To connect to the desired subnet, use the following command: "sudo openvpn client.ovpn" - - Once connected, you can only reach the Docker containers within the subnet. The possible reachable IP addresses with `ping` are: - - - 10.13.3.1 - - 10.13.3.2 - - 10.13.3.3 - - 10.13.3.4 \ No newline at end of file diff --git a/example_generated_data/data/user_lk543/client.ovpn b/example_generated_data/data/user_lk543/client.ovpn deleted file mode 100644 index 51694d7..0000000 --- a/example_generated_data/data/user_lk543/client.ovpn +++ /dev/null @@ -1,183 +0,0 @@ -client -dev tun -proto udp -resolv-retry infinite -nobind -persist-key -persist-tun -cipher AES-256-GCM -auth SHA512 -verb 3 -tls-client -tls-version-min 1.2 -key-direction 1 -remote-cert-tls server -remote 10.20.30.104 1197 -route-nopull -route 10.13.3.0 255.255.255.0 -pull-filter ignore "redirect-gateway" -pull-filter ignore "dhcp-option" -pull-filter ignore "route" - ------BEGIN CERTIFICATE----- -MIIDSzCCAjOgAwIBAgIUJcmtPJJxvKxvu3s61apMbbuEUpkwDQYJKoZIhvcNAQEL -BQAwFjEUMBIGA1UEAwwLRWFzeS1SU0EgQ0EwHhcNMjQwODI2MTMxNDQ3WhcNMzQw -ODI0MTMxNDQ3WjAWMRQwEgYDVQQDDAtFYXN5LVJTQSBDQTCCASIwDQYJKoZIhvcN -AQEBBQADggEPADCCAQoCggEBAJuXsS7LXLESqefQ8aoZXL4qCLmIBGt/c4TW4nlm -oHuxHTpnkdzDbuxY0gyhz/It1A2AGT2/Ypr+KmQ6XirYMk+2jymmAZJJeIB1SzhP -5Zz5nnSr0vZ+uFDWI+wNacqMpzJ17rVAYfy1dLJySlJGMsObfCx5hS+V/YoJ7dV/ -+pmJ726vogbcYPJBrP7BJUbtNIwFSd0RwZsyQsaJTg8IXWDWbWsXKSS9bOXksJ9K -UtOxriStGeTeU/6msovDu6RHBYaK84ENUJfNSQEvImNRBy5KXK0jTid0Dd5WbS9O -lyhbNdOgfx2QyB6tDE54KjArGjX6DeaYoYsWPEHfJtiB7jECAwEAAaOBkDCBjTAd -BgNVHQ4EFgQUDMYZzzQoLemvJS+BliAjjAJSe8UwUQYDVR0jBEowSIAUDMYZzzQo -LemvJS+BliAjjAJSe8WhGqQYMBYxFDASBgNVBAMMC0Vhc3ktUlNBIENBghQlya08 -knG8rG+7ezrVqkxtu4RSmTAMBgNVHRMEBTADAQH/MAsGA1UdDwQEAwIBBjANBgkq -hkiG9w0BAQsFAAOCAQEAUxOqjdNRPt+3xUKD3XPfMvp1ZoWpRTpo7O86OxGU4+wL -LUp5EtdGuOc91mVVHFpWMbevIAicANLwM2qkpwo4vT4L96jaqxd/V4VpieSNGkYh -zR2Zb/rgnSnjhtlcUzJ4KM4VNka9ooOCUA88my2OiYvII5KVKvVZvzBSEp+ZQaYb -HK25zro+9Sgeld6qtzNGheYE0BYKA2D8+IcUg35AUSZomWOlN9G9vOrpMHzWNul0 -tW0+NxLaMrdHVegZ53aeoP2t8Ae8hUqOd8iEoPQsbwpbc7o8WDW5clAKodKDVB+l -8UAXyPCzP22S6sDWcTOXFzFLpKMM9ZcxjQrDX0wAJA== ------END CERTIFICATE----- - - -Certificate: - Data: - Version: 3 (0x2) - Serial Number: - 39:90:af:f3:99:b5:d1:0a:92:a9:91:5e:b7:af:19:b5 - Signature Algorithm: sha256WithRSAEncryption - Issuer: CN=Easy-RSA CA - Validity - Not Before: Aug 26 13:14:48 2024 GMT - Not After : Nov 29 13:14:48 2026 GMT - Subject: CN=DCJvGehFYEyFJfsOLg1gOGTnKkF6iaBd - Subject Public Key Info: - Public Key Algorithm: rsaEncryption - RSA Public-Key: (2048 bit) - Modulus: - 00:d9:4f:4c:a6:cb:3e:86:bf:66:6e:31:26:35:9c: - 89:c9:fd:a9:5b:87:78:39:61:2a:83:61:d0:28:fe: - 67:4e:51:90:f0:92:aa:51:59:63:97:de:07:30:b0: - d1:6a:7d:5f:49:1e:fa:ba:8f:54:db:04:55:ca:8b: - b2:35:8b:66:31:e0:35:8e:40:d3:2a:92:a7:69:52: - 89:91:ec:37:82:b1:33:5e:fb:ba:c7:94:14:f5:a3: - 6b:d0:dc:10:b1:52:d8:8b:38:d7:c7:37:ab:69:28: - 89:4f:55:ee:3e:cb:ef:78:da:aa:6b:f2:61:54:fd: - 7b:02:80:3f:b4:82:92:08:de:e8:5d:bc:24:16:05: - df:20:74:4c:99:28:02:c6:6e:fb:48:15:29:a2:d3: - 9f:ba:e5:37:bd:be:62:84:ae:ea:6f:fe:8a:a0:b8: - a9:5c:a2:e4:93:81:5b:5a:ce:4b:04:91:e7:e0:1d: - 55:ce:08:7a:9c:01:6e:c3:a9:ba:b8:35:06:4d:b1: - 1d:3b:50:23:b5:a5:7c:53:c3:99:c6:f7:e4:80:78: - e8:f4:6a:00:a9:c6:8f:b1:66:b4:42:2f:0e:18:ce: - d6:3c:20:b3:1c:2c:3d:d5:21:fb:1e:d6:80:41:23: - 92:d7:c5:73:fc:48:1f:b5:4c:33:31:ea:44:fe:8a: - 01:d5 - Exponent: 65537 (0x10001) - X509v3 extensions: - X509v3 Basic Constraints: - CA:FALSE - X509v3 Subject Key Identifier: - D5:0A:DE:32:3F:C1:C8:5F:55:6A:89:71:FF:8E:25:D8:8B:4E:37:1E - X509v3 Authority Key Identifier: - keyid:0C:C6:19:CF:34:28:2D:E9:AF:25:2F:81:96:20:23:8C:02:52:7B:C5 - DirName:/CN=Easy-RSA CA - serial:25:C9:AD:3C:92:71:BC:AC:6F:BB:7B:3A:D5:AA:4C:6D:BB:84:52:99 - - X509v3 Extended Key Usage: - TLS Web Client Authentication - X509v3 Key Usage: - Digital Signature - Signature Algorithm: sha256WithRSAEncryption - 1b:35:fe:cc:2a:25:68:b8:52:84:e2:89:56:1e:e0:e1:79:cd: - 3f:e8:f4:30:68:15:92:80:fc:6d:dd:9a:13:bd:12:ed:4c:1c: - 8f:d9:7c:e6:57:0a:f8:aa:63:ee:e9:36:c9:ab:f3:67:3a:6e: - ae:fc:51:86:0c:50:3c:a6:7d:12:56:f4:54:12:d7:31:37:c3: - 7a:d6:3e:a2:08:85:c4:d5:23:39:0a:fe:6a:2d:e9:66:a1:5d: - ec:7a:51:24:1c:08:f2:2f:db:4f:cd:11:80:e4:20:65:a5:77: - 19:11:7c:27:db:fc:a5:37:05:cc:ce:4b:49:37:de:f0:6b:6d: - 8a:6b:a3:16:5f:9b:b7:46:f7:1e:57:a1:04:0a:08:0d:2d:3d: - a4:fa:48:3f:d3:2c:e3:e0:fd:f7:6a:46:e5:f2:4c:a0:bd:42: - 7e:f5:7d:e2:a7:c9:3e:d9:8f:a8:b4:75:78:69:60:5d:34:cf: - e2:a9:b1:c6:6b:36:2a:12:78:7f:f0:50:a0:9e:e1:e3:3b:4b: - 59:b8:1c:5e:78:df:31:c2:72:fb:3b:54:97:36:63:71:7a:c6: - 1c:4f:33:00:96:02:8d:d5:fb:2e:42:a2:38:a4:c9:e1:cf:32: - c3:20:89:1f:f6:cc:03:48:e9:f6:d7:39:37:f8:05:a4:e1:8c: - 42:76:0c:50 ------BEGIN CERTIFICATE----- -MIIDbjCCAlagAwIBAgIQOZCv85m10QqSqZFet68ZtTANBgkqhkiG9w0BAQsFADAW -MRQwEgYDVQQDDAtFYXN5LVJTQSBDQTAeFw0yNDA4MjYxMzE0NDhaFw0yNjExMjkx -MzE0NDhaMCsxKTAnBgNVBAMMIERDSnZHZWhGWUV5Rkpmc09MZzFnT0dUbktrRjZp -YUJkMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2U9Mpss+hr9mbjEm -NZyJyf2pW4d4OWEqg2HQKP5nTlGQ8JKqUVljl94HMLDRan1fSR76uo9U2wRVyouy -NYtmMeA1jkDTKpKnaVKJkew3grEzXvu6x5QU9aNr0NwQsVLYizjXxzeraSiJT1Xu -PsvveNqqa/JhVP17AoA/tIKSCN7oXbwkFgXfIHRMmSgCxm77SBUpotOfuuU3vb5i -hK7qb/6KoLipXKLkk4FbWs5LBJHn4B1Vzgh6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WjL7xtRt3vstJxQduU9ooVeDLj+AwIFl4cQRW -nXOzU568hS/Pn/r6Ca7mkS1/8W7rXLlMio5crgECgYEAiPCPDtRk6zcCs068r8sp -m5LPvdSxa80ZLd1w/k3yc4ooNLAHZVP99jwIT8Vxvj/91S0P5Haxrnq0/uRayq9s -VvKLtF/IVztfR2SLr58amfdj3+RDEBy7TFdBZiPVtHFsA2gb+r4pvcrcCspzgSju -ZPRY6t6d3B2W/s2yHXappBg= ------END PRIVATE KEY----- - - -# -# 2048 bit OpenVPN static key -# ------BEGIN OpenVPN Static key V1----- -afead627faecab0abeecd8f6b1258c58 -023f9b81b8cca4a1274c88019698b210 -0e226f250d3186248470b4eb4ba02190 -5dad811f09847c4af69ff6b5afc8710a -fe87227bdec8ca4f9e4894323ff15cce -935e2f6722b719e66181d525e8727bf0 -3421dc694626401aa5a1ad786dab1753 -cd4ff7009de6f599b43f5f2c363a1f50 -aad95fd3bfea69bcf56c9628f7942c90 -708e3ea558de432e338e3b5cc57cc371 -8c31cc2bd473aaf75ea46003ee17d225 -fdb9909d05c3e014a7e4df46a01d9bd5 -eeb29dba6a64ac29783fe8798f34b67f -b010b9a8aea00084f5895dd05899ccb3 -3afbc5039461300d65250bc65598f39f -39381eee63dc22914c32f954d1cd7b9e ------END OpenVPN Static key V1----- - -;client-id DCJvGehFYEyFJfsOLg1gOGTnKkF6iaBd diff --git a/example_generated_data/data/user_lk543/dockovpn_data.tar b/example_generated_data/data/user_lk543/dockovpn_data.tar deleted file mode 100644 index 53cd63b..0000000 Binary files a/example_generated_data/data/user_lk543/dockovpn_data.tar and /dev/null differ diff --git a/example_generated_data/data/user_mg235/README.md b/example_generated_data/data/user_mg235/README.md deleted file mode 100644 index f844cf3..0000000 --- a/example_generated_data/data/user_mg235/README.md +++ /dev/null @@ -1,10 +0,0 @@ -# OpenVPN Connection Instructions - - To connect to the desired subnet, use the following command: "sudo openvpn client.ovpn" - - Once connected, you can only reach the Docker containers within the subnet. The possible reachable IP addresses with `ping` are: - - - 10.13.1.1 - - 10.13.1.2 - - 10.13.1.3 - - 10.13.1.4 \ No newline at end of file diff --git a/example_generated_data/data/user_mg235/client.ovpn b/example_generated_data/data/user_mg235/client.ovpn deleted file mode 100644 index 74d518b..0000000 --- a/example_generated_data/data/user_mg235/client.ovpn +++ /dev/null @@ -1,183 +0,0 @@ -client -dev tun -proto udp -resolv-retry infinite -nobind -persist-key -persist-tun -cipher AES-256-GCM -auth SHA512 -verb 3 -tls-client -tls-version-min 1.2 -key-direction 1 -remote-cert-tls server -remote 10.20.30.102 1195 -route-nopull -route 10.13.1.0 255.255.255.0 -pull-filter ignore "redirect-gateway" -pull-filter ignore "dhcp-option" -pull-filter ignore "route" - ------BEGIN CERTIFICATE----- -MIIDSzCCAjOgAwIBAgIUczdqIcwf+S2gUiQMw12tXycfANswDQYJKoZIhvcNAQEL -BQAwFjEUMBIGA1UEAwwLRWFzeS1SU0EgQ0EwHhcNMjQwODI2MTMxNDI4WhcNMzQw -ODI0MTMxNDI4WjAWMRQwEgYDVQQDDAtFYXN5LVJTQSBDQTCCASIwDQYJKoZIhvcN -AQEBBQADggEPADCCAQoCggEBAMR+xuFuqIwdjkKSWrYMJLbB1VYwHSL5PZ4kq5lR -DaN6iTiqr5kPK2GlqPlPcR8F/CQTkkFRVrQDi0SwQvnWHDrlkpVW9+GX7NFW3qsw -TMWeh5oPB4Dy2TDyQ0Ji6SnsTxpq6ESHIWc/V5BIQ/zKAr74ZyZONqqCeq5zQXaF -z/Xah2eNK8tpwgBYMXc+LmAmXwoptYyN25BIoA8D7OmEwzSJNoZpeCCzMTMbtbjn -K991yPbgg0A74fC4KDnBouCDbYUmBC17BpekwNdA4oiGb/XiGDQDuzr5PRoBPISI -HkoOdTHOOmNpvrgW6v6BqbZe1h5Zi9dcO2/swTQvXiQfF48CAwEAAaOBkDCBjTAd -BgNVHQ4EFgQUs9qAoTtDBVms1Zb+0a0wYBgxFjkwUQYDVR0jBEowSIAUs9qAoTtD -BVms1Zb+0a0wYBgxFjmhGqQYMBYxFDASBgNVBAMMC0Vhc3ktUlNBIENBghRzN2oh -zB/5LaBSJAzDXa1fJx8A2zAMBgNVHRMEBTADAQH/MAsGA1UdDwQEAwIBBjANBgkq -hkiG9w0BAQsFAAOCAQEASplkjNiFyhfzqmDFYSiUtzCE/lDJn98dI3A+bvbWPbgv -Zua887cMHRLrFnMR2ZuwSFD7TNSGI14R8PSd7UDiinsfK95BoxISxRN4KQi2gE4x -xYbbNpOUtqjhZ02+l32m62tcOJZJRNBYzq7T1moS9Jt9zeS5I86sIgxwojLmmklE -gSmLQGTU+5rEaguSbjUDv5wX4s/kZPqVypHLqSRNy/FmhW0aqHrluMcSnkGNSNRH -e0jNrrv9bVw1tEEdpuvrrTpaZJWHSZdyoFeM/SXV2p2JuQENbpijhRLJOwCLgHgI -hTz0Vz7o+B3Rtojw6M1u6DDvXExFFRz8WKz7YxbDTA== ------END CERTIFICATE----- - - -Certificate: - Data: - Version: 3 (0x2) - Serial Number: - 19:1b:78:a4:8a:3f:95:0a:04:00:d1:b9:9f:73:97:78 - Signature Algorithm: sha256WithRSAEncryption - Issuer: CN=Easy-RSA CA - Validity - Not Before: Aug 26 13:14:29 2024 GMT - Not After : Nov 29 13:14:29 2026 GMT - Subject: CN=XCdRQTcvOwAcpI4Gjhj0BTsE9gVdOlbE - Subject Public Key Info: - Public Key Algorithm: rsaEncryption - RSA Public-Key: (2048 bit) - Modulus: - 00:cb:40:83:c6:22:9e:36:0f:40:4e:15:89:f1:32: - af:16:0c:49:0c:84:8c:d5:e1:83:c5:82:42:1e:51: - e9:81:2b:46:23:f5:be:1b:19:02:9e:e4:99:ce:00: - 68:2a:96:eb:39:d1:fa:c8:89:8e:94:47:e6:c6:a5: - 92:7f:88:46:c1:22:16:32:c3:2f:bd:39:b6:4b:cc: - 03:aa:47:b7:ae:30:5f:55:67:49:c9:52:c0:55:c3: - e2:d6:d0:e5:e5:33:99:5e:5d:0a:35:19:4c:ea:17: - fe:67:45:20:32:9b:7d:6e:90:6a:c3:81:9f:0c:61: - 5b:8a:b2:60:19:ad:c4:47:40:6c:59:f2:44:46:e5: - e9:a0:80:21:39:43:b5:02:a3:c8:f4:c1:fb:94:4e: - 58:24:b7:a7:ee:45:9c:ce:89:8b:e7:5e:0b:1e:fc: - 86:cd:27:01:8a:bb:e8:4e:3f:9b:e9:57:c3:f7:42: - 0a:4e:11:2b:9e:a9:5b:11:97:1d:fa:4a:d5:2d:66: - 4d:a2:84:73:34:3a:dd:70:62:85:88:84:0b:e1:6e: - 65:67:22:b3:04:a7:a9:9d:17:da:b1:38:32:95:6c: - 8c:00:27:3c:f7:90:8f:77:72:8a:cc:8c:41:3c:32: - de:fa:1b:40:8b:eb:ce:47:a6:05:e8:e1:33:04:df: - 3b:0b - Exponent: 65537 (0x10001) - X509v3 extensions: - X509v3 Basic Constraints: - CA:FALSE - X509v3 Subject Key Identifier: - 3B:5A:23:70:70:92:4D:3F:5A:0E:59:29:79:5F:89:67:73:8D:92:98 - X509v3 Authority Key Identifier: - keyid:B3:DA:80:A1:3B:43:05:59:AC:D5:96:FE:D1:AD:30:60:18:31:16:39 - DirName:/CN=Easy-RSA CA - serial:73:37:6A:21:CC:1F:F9:2D:A0:52:24:0C:C3:5D:AD:5F:27:1F:00:DB - - X509v3 Extended Key Usage: - TLS Web Client Authentication - X509v3 Key Usage: - Digital Signature - Signature Algorithm: sha256WithRSAEncryption - 51:4a:b9:6f:ac:8d:3b:d4:83:d2:eb:02:8f:a2:a0:f6:12:98: - fa:8f:76:7c:c3:68:5c:bb:6f:4f:ad:33:cc:1b:23:f1:e2:1e: - e8:bb:14:1c:1f:e9:8b:11:7a:d9:a1:e5:ab:80:55:7d:08:aa: - 2a:02:aa:b1:97:64:9e:ab:cd:9a:13:9e:3f:30:c9:ef:af:5d: - aa:24:ae:bd:4a:d9:f6:ff:82:15:88:d7:9f:ca:bd:2d:d2:94: - a1:ad:fe:31:52:b6:7f:88:f9:30:b7:38:73:02:f6:dd:90:b5: - ad:77:f7:e3:34:0d:41:77:69:94:d9:68:14:d4:8c:b4:7e:05: - 31:54:83:ad:eb:7c:d7:5e:2b:f9:b4:0d:a0:0c:92:de:23:02: - 16:4a:dc:c9:a4:69:bf:ca:c0:85:f9:90:5a:1e:a0:3a:9b:1c: - bc:c8:51:15:e9:65:6d:54:f9:68:9a:ca:91:34:4c:4e:62:cd: - 1f:bb:fa:82:32:89:ca:89:01:c8:78:e5:c2:2e:b5:a0:46:3b: - 4c:55:ad:41:f8:52:45:00:55:1b:8f:50:de:e4:be:a3:02:98: - 21:59:d1:95:a5:6e:99:74:4c:0f:38:70:4d:e6:ab:2a:6d:e0: - 95:d6:20:06:bf:b9:89:b4:48:49:ae:a3:fd:a1:6f:89:a1:9c: - 07:c2:e5:77 ------BEGIN CERTIFICATE----- -MIIDbjCCAlagAwIBAgIQGRt4pIo/lQoEANG5n3OXeDANBgkqhkiG9w0BAQsFADAW -MRQwEgYDVQQDDAtFYXN5LVJTQSBDQTAeFw0yNDA4MjYxMzE0MjlaFw0yNjExMjkx -MzE0MjlaMCsxKTAnBgNVBAMMIFhDZFJRVGN2T3dBY3BJNEdqaGowQlRzRTlnVmRP -bGJFMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAy0CDxiKeNg9AThWJ -8TKvFgxJDISM1eGDxYJCHlHpgStGI/W+GxkCnuSZzgBoKpbrOdH6yImOlEfmxqWS -f4hGwSIWMsMvvTm2S8wDqke3rjBfVWdJyVLAVcPi1tDl5TOZXl0KNRlM6hf+Z0Ug -Mpt9bpBqw4GfDGFbirJgGa3ER0BsWfJERuXpoIAhOUO1AqPI9MH7lE5YJLen7kWc -zomL514LHvyGzScBirvoTj+b6VfD90IKThErnqlbEZcd+krVLWZNooRzNDrdcGKF -iIQL4W5lZyKzBKepnRfasTgylWyMACc895CPd3KKzIxBPDLe+htAi+vOR6YF6OEz -BN87CwIDAQABo4GiMIGfMAkGA1UdEwQCMAAwHQYDVR0OBBYEFD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KxrEcMLQncivt/CCcR9FZe8YHN/gFQ4gpy5sJ -vvPwoBMIU4ZXE9WStEWESJ4YSOXTycU+dl94tOe4JA3JdjpvFv8B7xKm8Nh2jFCs -FoJoTOB5tYVl3wu+q38bbBU= ------END PRIVATE KEY----- - - -# -# 2048 bit OpenVPN static key -# ------BEGIN OpenVPN Static key V1----- -be1c9f8984145d597c15154ed5395d6a -61d358cdd55f9097d684c0384b057fa8 -6ff1f120e1a32cf014c0fd807ec13861 -90d9b6ff3e5ce178205985d60d878d0c -a28771d209debb2236c6e9a835cb7fd1 -e1f57d0642ca055ecacedb8336b3b117 -fca87aa2b33bed195e00ca4d29623625 -99fff60275f4cec931038a6df2697c95 -8b645c39c924b6f42c378e579eeb2b49 -7f47aa05579efdfd9eb955c661f0a240 -81c9018a6d8bb84503c6a7e450042cf1 -830b88f016afd55f072ceffc738b968c -42e9b0415799c5f8a9380bae58c926e6 -038ddbf1541b06cbd6a00f607cb1ea42 -de958fd1200f6743ac5b624c2743e1c5 -3bcbf409b0b1c8c48d1e2f1c357a24e2 ------END OpenVPN Static key V1----- - -;client-id XCdRQTcvOwAcpI4Gjhj0BTsE9gVdOlbE diff --git a/example_generated_data/data/user_mg235/dockovpn_data.tar b/example_generated_data/data/user_mg235/dockovpn_data.tar deleted file mode 100644 index d68ee83..0000000 Binary files a/example_generated_data/data/user_mg235/dockovpn_data.tar and /dev/null differ diff --git a/example_generated_data/data/user_qd109/README.md b/example_generated_data/data/user_qd109/README.md deleted file mode 100644 index 13bf315..0000000 --- a/example_generated_data/data/user_qd109/README.md +++ /dev/null @@ -1,10 +0,0 @@ -# OpenVPN Connection Instructions - - To connect to the desired subnet, use the following command: "sudo openvpn client.ovpn" - - Once connected, you can only reach the Docker containers within the subnet. The possible reachable IP addresses with `ping` are: - - - 10.13.2.1 - - 10.13.2.2 - - 10.13.2.3 - - 10.13.2.4 \ No newline at end of file diff --git a/example_generated_data/data/user_qd109/client.ovpn b/example_generated_data/data/user_qd109/client.ovpn deleted file mode 100644 index 851d9c9..0000000 --- a/example_generated_data/data/user_qd109/client.ovpn +++ /dev/null @@ -1,183 +0,0 @@ -client -dev tun -proto udp -resolv-retry infinite -nobind -persist-key -persist-tun -cipher AES-256-GCM -auth SHA512 -verb 3 -tls-client -tls-version-min 1.2 -key-direction 1 -remote-cert-tls server -remote 10.20.30.103 1196 -route-nopull -route 10.13.2.0 255.255.255.0 -pull-filter ignore "redirect-gateway" -pull-filter ignore "dhcp-option" -pull-filter ignore "route" - ------BEGIN CERTIFICATE----- -MIIDSzCCAjOgAwIBAgIUE8k1JKfm6zrZgfxoEcpIasYK0CMwDQYJKoZIhvcNAQEL -BQAwFjEUMBIGA1UEAwwLRWFzeS1SU0EgQ0EwHhcNMjQwODI2MTMxNDM4WhcNMzQw -ODI0MTMxNDM4WjAWMRQwEgYDVQQDDAtFYXN5LVJTQSBDQTCCASIwDQYJKoZIhvcN -AQEBBQADggEPADCCAQoCggEBAM1Jtt395Cp/mN0y3cHcASTEKglO+eHDlxnGRCCV -t03GRZTbPW5w/3ITPPk4h3SJj1eXzB38sp+pMZNKbq1LS5LIaP5cfT0gMVly+xWv -uJdm/lU/GrBkCTizTxni7ORz6KDBkpkoXbGvUutHjj2isldg3L5LQwwlPYpqnZD/ -lWWL7gO43Yo8NypAFCK674+5J5aPdzpE6TDOkknnUxkykpSa7IbTNqZaAy+NjrzW -s3FDUsz6hi6cOXxkY4vj31rTtZMY/gqfcA7pbI+/GeQpfhHbSKgi04e1+cSUfiAt -r/eF9BctQiOoBQIT4XqgZPXNcbyahBIMwu/+2eC+3UcAu9ECAwEAAaOBkDCBjTAd -BgNVHQ4EFgQU+1L2OhOSI3yDwkCLDj9TqukioccwUQYDVR0jBEowSIAU+1L2OhOS -I3yDwkCLDj9TqukiocehGqQYMBYxFDASBgNVBAMMC0Vhc3ktUlNBIENBghQTyTUk -p+brOtmB/GgRykhqxgrQIzAMBgNVHRMEBTADAQH/MAsGA1UdDwQEAwIBBjANBgkq -hkiG9w0BAQsFAAOCAQEAAWRtGuKOH3HMx5asSs9bK0Xd1tALdYkXWG/4yVFZ0utI -eCoD8JuU/+lNmoiKl9rlrnREvLZNclpmOIuu/3yaKRtCHLF44YRFdOA+Cdbh+ZqE -SM3I/bAhTu/u8BR43G8nbc8B2FmQpCkAdT+LE9rRk5JAfnJpsmw2C2wjFWGURUPM -qw4+YjKJFvLdKSkd+eubamKOuVeiujXJXmV9ghNsHptICFabhyWkit6YKLBKQL5A -bcuBDIiUqJz/P3rx1owwOqNV2YYjWB1QwOmxGSw1SVc2IsftnGC/5Y2AQg7bjax6 -JEKoxP3rxYuZTFmctsjwrMwsozZkrGTFI7flV4iCtA== ------END CERTIFICATE----- - - -Certificate: - Data: - Version: 3 (0x2) - Serial Number: - 4d:94:82:6b:40:9d:82:4d:f0:bb:f6:a1:44:5e:6f:34 - Signature Algorithm: sha256WithRSAEncryption - Issuer: CN=Easy-RSA CA - Validity - Not Before: Aug 26 13:14:38 2024 GMT - Not After : Nov 29 13:14:38 2026 GMT - Subject: CN=6w4AJcCklscxUpib4P47J1eeVp3dO1n6 - Subject Public Key Info: - Public Key Algorithm: rsaEncryption - RSA Public-Key: (2048 bit) - Modulus: - 00:b2:d1:08:bf:25:b7:7f:f3:d2:2d:f1:c0:74:d3: - 96:ec:05:b8:2e:92:26:39:c7:ec:16:1a:51:a1:84: - 9b:72:54:b3:1f:0f:28:f8:45:67:55:0b:17:9f:2b: - 98:60:15:70:2a:a2:c5:8a:9c:ea:43:06:38:0a:f6: - 99:25:2b:a8:5d:c7:1e:57:3a:b6:19:51:6c:1d:42: - 67:94:ba:b5:e5:05:58:f1:27:c7:7d:e8:df:21:6a: - ae:ab:33:7c:1d:97:80:c6:bb:c7:04:76:d2:ba:c3: - 0b:4c:61:64:8f:69:7e:a7:16:a0:d6:de:c1:57:10: - e5:1e:aa:7e:3e:de:4a:a6:89:ff:27:8c:bb:8e:ce: - cc:79:70:17:84:02:5a:ab:a4:44:9c:95:b1:60:a6: - da:c7:f8:b6:ee:5e:67:71:de:d5:f6:eb:64:87:eb: - ae:54:6c:0c:80:e4:66:98:91:2c:35:0c:f3:d1:e3: - 2a:5f:50:98:54:2b:bc:a4:ab:50:fa:36:f7:37:d0: - 67:ec:a1:52:c6:4d:ee:0b:62:49:7d:83:b6:a9:23: - 2e:7b:7e:be:d6:42:12:fe:0a:aa:b5:d7:4b:89:e4: - 88:e1:ad:a7:99:50:fd:2b:f8:70:b2:80:c1:7c:85: - 45:57:62:35:a1:a6:ba:a6:92:b6:80:9e:12:fe:8f: - f3:01 - Exponent: 65537 (0x10001) - X509v3 extensions: - X509v3 Basic Constraints: - CA:FALSE - X509v3 Subject Key Identifier: - C1:FC:72:C0:2A:BF:8E:CD:83:8B:2F:AF:6D:7F:92:54:A6:66:B5:7A - X509v3 Authority Key Identifier: - keyid:FB:52:F6:3A:13:92:23:7C:83:C2:40:8B:0E:3F:53:AA:E9:22:A1:C7 - DirName:/CN=Easy-RSA CA - serial:13:C9:35:24:A7:E6:EB:3A:D9:81:FC:68:11:CA:48:6A:C6:0A:D0:23 - - X509v3 Extended Key Usage: - TLS Web Client Authentication - X509v3 Key Usage: - Digital Signature - Signature Algorithm: sha256WithRSAEncryption - 82:99:37:0d:9c:af:93:fd:05:75:01:f3:97:cd:1d:b2:c3:06: - dd:b4:0a:80:3c:3d:e0:95:71:b4:7a:32:84:87:be:f2:e5:1c: - 43:7b:dd:b0:b9:a6:86:ce:bc:09:bf:8e:c0:c7:0a:1b:9e:39: - 60:68:48:4d:21:65:b2:fe:11:6d:24:01:a1:93:05:cd:d3:be: - 15:cf:79:41:fd:22:85:d6:0d:43:ef:d8:86:f6:61:7e:95:4f: - ee:7e:ad:08:95:33:58:0e:4d:56:f4:48:05:b9:5a:92:85:e4: - 71:cd:55:1f:9e:5c:95:88:e7:ff:f8:1e:7f:dd:f8:d1:e6:96: - 12:0a:3a:2d:c3:7c:d8:00:68:fa:e8:aa:34:a5:9f:26:2e:44: - 4a:8b:6b:b6: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VATE KEY----- - - -# -# 2048 bit OpenVPN static key -# ------BEGIN OpenVPN Static key V1----- -1dffdb42a122d946ef4d33407d0894d6 -551a1c36c5f14fb46a1c88e2a1fc93b6 -6250a1dc51572ef9587247b8c83c50cd -0386be7bdce8e0fbf884059cf9871d7c -b743287e37f24f3446e67540e686b775 -edb2bfcdb9fcc2cb3b339fa1828e2250 -14953750713e436d44905f0b4b26c656 -17054d562462c6b24c8aae585e2c7542 -9f1cd8c8858a1df3829b364b7edc537d -89f48d763032a01670eeedb61509b7dd -e6bdf98f5c8a24c9a43c8f494a4e69d3 -d3cfe305b4906724b42804d5ce20ba66 -cbefcd1a48442ecfb8226caaf3d1afda -7c5694e6b5f82165fba381c2c79d76b4 -295991b3b5afc6d4accb2a938441ff5e -db6c08468b0b49e292c362573e908597 ------END OpenVPN Static key V1----- - -;client-id 6w4AJcCklscxUpib4P47J1eeVp3dO1n6 diff --git a/example_generated_data/data/user_qd109/dockovpn_data.tar b/example_generated_data/data/user_qd109/dockovpn_data.tar deleted file mode 100644 index 46fb8d7..0000000 Binary files a/example_generated_data/data/user_qd109/dockovpn_data.tar and /dev/null differ diff --git a/example_generated_data/data/user_tz251/README.md b/example_generated_data/data/user_tz251/README.md deleted file mode 100644 index 9efeb40..0000000 --- a/example_generated_data/data/user_tz251/README.md +++ /dev/null @@ -1,10 +0,0 @@ -# OpenVPN Connection Instructions - - To connect to the desired subnet, use the following command: "sudo openvpn client.ovpn" - - Once connected, you can only reach the Docker containers within the subnet. The possible reachable IP addresses with `ping` are: - - - 10.13.0.1 - - 10.13.0.2 - - 10.13.0.3 - - 10.13.0.4 \ No newline at end of file diff --git a/example_generated_data/data/user_tz251/client.ovpn b/example_generated_data/data/user_tz251/client.ovpn deleted file mode 100644 index 320e739..0000000 --- a/example_generated_data/data/user_tz251/client.ovpn +++ /dev/null @@ -1,183 +0,0 @@ -client -dev tun -proto udp -resolv-retry infinite -nobind -persist-key -persist-tun -cipher AES-256-GCM -auth SHA512 -verb 3 -tls-client -tls-version-min 1.2 -key-direction 1 -remote-cert-tls server -remote 10.20.30.101 1194 -route-nopull -route 10.13.0.0 255.255.255.0 -pull-filter ignore "redirect-gateway" -pull-filter ignore "dhcp-option" -pull-filter ignore "route" - ------BEGIN CERTIFICATE----- -MIIDSzCCAjOgAwIBAgIUOluHtMLl6tO3iEweZRxCgo+/ob4wDQYJKoZIhvcNAQEL -BQAwFjEUMBIGA1UEAwwLRWFzeS1SU0EgQ0EwHhcNMjQwODI2MTMxNDE2WhcNMzQw -ODI0MTMxNDE2WjAWMRQwEgYDVQQDDAtFYXN5LVJTQSBDQTCCASIwDQYJKoZIhvcN -AQEBBQADggEPADCCAQoCggEBANVZeu82Vbvy4E7eFYqRW1JX2swNLV63CioO9deJ -zknM1JkzL3I852LFqigq4k7vZ+kOSynhrjRRhkjekHv3o4Mtau3ldEOUlo8ZQBAi -GG44KJb1JafyQgkTSTMh+zxCWdLO5iJyuLVurK6IiNlIPoVyi2fzNljlXcB6IOsN -Vdn3Zfz93JgQBLDGxUh3LOXthVKlXchnqesEegUthEVUTzkKFUlY5IWX3k00TRXZ -daV1MK6gNmiARF8W1RzatCfMXppzu6vW9+F1yj1iYI2xOxsGHJjAjKbarBOo1d/L -nrZdutwaGQcOoYamiDZwUfGMNVYwB1cyzOJsfRPCKJX4iRsCAwEAAaOBkDCBjTAd -BgNVHQ4EFgQUL8UJMu0MJMaHjJI0pzSTxpXMdf0wUQYDVR0jBEowSIAUL8UJMu0M -JMaHjJI0pzSTxpXMdf2hGqQYMBYxFDASBgNVBAMMC0Vhc3ktUlNBIENBghQ6W4e0 -wuXq07eITB5lHEKCj7+hvjAMBgNVHRMEBTADAQH/MAsGA1UdDwQEAwIBBjANBgkq -hkiG9w0BAQsFAAOCAQEAbBri2t8RI+dTOsvq/WuTSif/UwDjAsO58cJaKhN+7qRH -s571EQD724ziHoZErvfrFj9abEtLF4vlK8iSEDTaIjN28DQ2cvZBYldkRq2rB51Y -Y94m1XSOLPewx3J2WCu9/6Zx4A8d4fLd8DtiLRKSZRI9l34DPf5UU70EBs+sipHM -VECpkIb4qQQe0sGm8ZamH6JT2wAHI3CY6SSpgGZJofaJRdeguu1xEhKfPm7iJOmj -J6fmCE/GGizrDg3VJBmdDuLObj/wPuOkIQlQR92WcS86MjYX1oDzcYisctC+M/0I -uZEhfx4xb6v9B/WVhClB34tNFhhQ6nhkLKMxWnopOw== ------END CERTIFICATE----- - - -Certificate: - Data: - Version: 3 (0x2) - Serial Number: - 4b:2e:55:89:62:bf:b6:7d:57:f2:c4:5f:7d:0e:c5:1c - Signature Algorithm: sha256WithRSAEncryption - Issuer: CN=Easy-RSA CA - Validity - Not Before: Aug 26 13:14:17 2024 GMT - Not After : Nov 29 13:14:17 2026 GMT - Subject: CN=WfCXnLceNSmSNeVDXQdhFGnURFIK6Lz9 - Subject Public Key Info: - Public Key Algorithm: rsaEncryption - RSA Public-Key: (2048 bit) - Modulus: - 00:af:b7:6d:2d:7e:23:68:46:a7:bd:8e:27:d7:c1: - 1b:be:ac:80:ae:a0:e5:93:ef:93:b5:62:29:1b:4a: - f1:0e:f6:b2:54:ce:da:17:07:76:87:1c:af:2f:76: - ec:28:d3:9b:b6:28:d4:1b:57:75:90:00:ea:e2:41: - 86:75:fa:0b:15:97:e1:15:93:e3:c6:b9:3f:1b:c2: - e7:af:9a:47:21:e0:a0:4c:6a:d6:aa:5f:34:f2:8f: - 98:35:f9:f2:fa:de:f4:4c:59:cf:77:42:71:30:5c: - 30:98:65:31:57:b2:0d:d4:15:5d:68:e3:a2:3a:fb: - 8f:f3:2d:ef:54:ec:21:fa:ab:68:d9:3a:d1:92:f6: - f7:65:2e:cc:e4:fe:a9:b3:6e:e7:3c:68:44:4d:df: - 7d:d1:ae:2b:10:47:ef:3e:2d:b0:31:01:22:3c:1f: - 48:93:b1:9e:ea:78:64:9e:aa:a7:de:7a:59:b2:e7: - 35:6f:45:47:c4:77:b1:bc:ef:78:d2:ae:65:72:1f: - 92:2c:26:f8:6a:19:3b:9b:01:9a:dc:19:f9:e3:e0: - 7b:44:de:f1:1a:9c:f6:1a:a2:92:5a:e9:74:8c:13: - 9c:31:2d:c7:01:df:68:d2:b1:ca:7b:ea:e2:4f:ea: - f2:ce:84:47:34:94:55:ea:72:aa:5b:bd:69:b5:3e: - 0c:b3 - Exponent: 65537 (0x10001) - X509v3 extensions: - X509v3 Basic Constraints: - CA:FALSE - X509v3 Subject Key Identifier: - 76:78:93:D3:D9:64:87:0F:B7:D2:BF:3E:CF:09:D1:63:75:4A:57:1C - X509v3 Authority Key Identifier: - keyid:2F:C5:09:32:ED:0C:24:C6:87:8C:92:34:A7:34:93:C6:95:CC:75:FD - DirName:/CN=Easy-RSA CA - serial:3A:5B:87:B4:C2:E5:EA:D3:B7:88:4C:1E:65:1C:42:82:8F:BF:A1:BE - - X509v3 Extended Key Usage: - TLS Web Client Authentication - X509v3 Key Usage: - Digital Signature - Signature Algorithm: sha256WithRSAEncryption - 56:c1:0a:91:08:f1:c5:d2:b5:4e:d2:86:cd:07:5e:a4:f6:0e: - 1a:21:ff:72:41:1b:03:5e:bb:3e:63:53:9b:97:46:03:46:4e: - 5f:c1:47:dd:ac:0b:61:58:b6:8f:82:54:04:af:dd:e3:04:02: - 44:97:21:51:07:45:a8:0b:60:00:7c:ac:99:7d:d9:38:3d:9a: - 45:a5:ab:7e:14:fa:85:90:fe:73:d2:8d:12:a4:10:e3:92:1e: - 4a:bd:87:27:4c:d4:67:39:45:cb:1f:b4:17:78:78:dc:41:b0: - 1a:f9:d7:e8:6b:16:68:33:b7:15:27:3f:e4:ed:b2:9b:47:a0: - 7e:77:75:7c:3d:b1:ee:c3:ed:61:35:9b:87:6b:32:e8:33:df: - 48:16:45:02:b7:83:10:6e:c5:8e:6e:d8:11:c3:49:f4:ef:2f: - a7:2f:3f:07:01:ec:c3:df:02:ae:1d:80:dd:36:f6:ee:96:d9: - 64:b0:6d:4c:0a:9c:5e:37:b1:f5:dc:7a:22:aa:8f:82:ec:d1: - 43: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y1Obl0YDRk5fwUfdrAthWLaP -glQEr93jBAJElyFRB0WoC2AAfKyZfdk4PZpFpat+FPqFkP5z0o0SpBDjkh5KvYcn -TNRnOUXLH7QXeHjcQbAa+dfoaxZoM7cVJz/k7bKbR6B+d3V8PbHuw+1hNZuHazLo -M99IFkUCt4MQbsWObtgRw0n07y+nLz8HAezD3wKuHYDdNvbultlksG1MCpxeN7H1 -3Hoiqo+C7NFDVtVS6fn26VQdl05HIu4XSvahs+soKvgNX0ve5Pd3kwZn44tTvvCy -ly0LWX8eeTEyb6jkp3O9NZPC ------END CERTIFICATE----- - - ------BEGIN PRIVATE KEY----- -MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCvt20tfiNoRqe9 -jifXwRu+rICuoOWT75O1YikbSvEO9rJUztoXB3aHHK8vduwo05u2KNQbV3WQAOri -QYZ1+gsVl+EVk+PGuT8bwuevmkch4KBMataqXzTyj5g1+fL63vRMWc93QnEwXDCY -ZTFXsg3UFV1o46I6+4/zLe9U7CH6q2jZOtGS9vdlLszk/qmzbuc8aERN333RrisQ -R+8+LbAxASI8H0iTsZ7qeGSeqqfeelmy5zVvRUfEd7G873jSrmVyH5IsJvhqGTub -AZrcGfnj4HtE3vEanPYaopJa6XSME5wxLccB32jSscp76uJP6vLOhEc0lFXqcqpb -vWm1PgyzAgMBAAECggEBAIktXptkXQn8FtnBz9L828cYboFl9LRwFVVGI6c980Dm -UMQqlFHkLqE+QHmCks0wneAwsZ4CwjHAtZ4a33jc0qhx4HNy+CBc4CqxFySdAakt -7paZ1ao+F1zBw2doEUvOoNO2TWPiR/EkF3/xh/rZczg90aWgCDeZyoBjPPOEQOaq -fC4FROeGP080Nzu9hpT/VliR0SgfPMK/z0rB4PO6JRPEWVPWUdtjicH40fLxpUlU -gj6oWMP6x0ghnQn1WDkM0i1Qkm+TjGVJYvN1yiyCrTbrzEVjmQitol8eXK2V9xlm -SKchEpZQdatJqSjBhssPHXEBSqNKtrps9jDaQavrxVkCgYEA5mo6kMx1+Mhq3aKX -Jb6sItUmZTBLgfaF0Qiaj807FHrXFXrxWe1lFypG2JKkQoX3FX7DIVggIAcXRaCY -lp8JOi3epb4vFAoye2jnges/IXm/bSddwMX59oUEVdJ8NYYtlua+234NnHlmcwc1 -oMO9IwFKtAOXUkoyQaoX/t87Vx0CgYEAwzpXN1wQ8w6Hqzr+xe0YfhAfn4enGmxZ -haI30wbV5LrTU6FAzCGQ6LF5msI/qoafQj8V/HYyNA8hmd7z/wkdPqFDF2POWipi -P7LYpZ75+B/e0kGNJTOBIjc4olEVYl8rzktAEAJlUJ7jUHBRAX+UjvgeAwd92N/Y -Fyp7Mv6nGg8CgYBrRUN0zCuUIkJWYu65XNao9NEGRQCyRcIw+i9zCVobA8GEt5ML -idEJgt4uz753VgUdVcGkkXGLV6HHAahoXywdkONaCHvEeabc+47kVlAy1op/V9d2 -+vSPh4foKLE4/fnViiGK8FmH4qEGpnGaIea5GE3eFtnpLq/NEFJRjz4CJQKBgQC5 -ARtPWc6yFk3YpUJ0G/e+1taw3eMr9gtryMrwDqU5aRYERWZbS1/AMxbS4ktk9MgN -Bi12nid7D+++mfpM770n8bfbfXg6F7odNQV7BclKKiGEzBvOah1waDYiE4aZPykL -CGKACVUrbjZprtYE/nqwdU4zfrDyiUWExnwTWiDOXwKBgEgGqdXH/ZlEwOQCMRVe -Q8ELCDLfRtvUD9xtuv0iaCUI+99YufFX6iSoLj5ekUN6AC5Ut81EJt/Nx5CK2wSH -dJtAFIoWbdH36SUfJTNjz1Jcx++HnFZd+PL09U8i98p9f+F2n8Qc4c9RglLr7nb+ -5Zu0EYDXVe5qIH0Cr722sPaZ ------END PRIVATE KEY----- - - -# -# 2048 bit OpenVPN static key -# ------BEGIN OpenVPN Static key V1----- -7600bcb909758cb4c77d7a566bdde1f6 -e9f82e2827576e9ffe42b44f372649d5 -99abf9d9512591d753803076ae0f082a -c3ec2ac74b1f58506c62d84b943d4a15 -0dd2dd06367f8ca66973943a2da54f29 -91a8974df3de5ab435e5ff4adf24a6d7 -4fff301f2234b9e2f1aea805670892f4 -2ee10ac2837c132ecde5856760924584 -12851a176804eeb234068866d4a4ced0 -48ac93f920989d48f69e10fe4a77073f -b49eaeca933e548b484cdf09382f3ad7 -e2e4fd891645151555ceb1114174a547 -9f5fc48e5c279e276fa7014f599d2236 -4fb814254eab135180bf809d7ffb153d -6b0d8e1e60aaf2856afc742b4cecfe78 -87cca6ba9074ec2d17d5a810df8d1675 ------END OpenVPN Static key V1----- - -;client-id WfCXnLceNSmSNeVDXQdhFGnURFIK6Lz9 diff --git a/example_generated_data/data/user_tz251/dockovpn_data.tar b/example_generated_data/data/user_tz251/dockovpn_data.tar deleted file mode 100644 index afbf15d..0000000 Binary files a/example_generated_data/data/user_tz251/dockovpn_data.tar and /dev/null differ diff --git a/requirements.txt b/requirements.txt index 0fa058c..730daaf 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,4 +5,4 @@ click pre-commit colorlog coverage -pytest \ No newline at end of file +pytest