Skip to content

Commit

Permalink
Add test config
Browse files Browse the repository at this point in the history
  • Loading branch information
MEhrn00 committed Aug 5, 2024
1 parent 1a668a1 commit e321fe3
Show file tree
Hide file tree
Showing 3 changed files with 100 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ jobs:
name: Lint Agent Code
runs-on: ubuntu-latest

env:
JSON_CONFIG: testing/configs/config.json

defaults:
run:
working-directory: ${{ env.AGENT_CODE }}
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ jobs:
name: Test Agent Code
runs-on: ubuntu-latest

env:
JSON_CONFIG: testing/configs/config.json

defaults:
run:
working-directory: ${{ env.AGENT_CODE }}
Expand Down Expand Up @@ -53,6 +56,9 @@ jobs:
name: Sanitizer Test Agent Code
runs-on: ubuntu-latest

env:
JSON_CONFIG: testing/configs/config.json

defaults:
run:
working-directory: ${{ env.AGENT_CODE }}
Expand Down
91 changes: 91 additions & 0 deletions Payload_Type/thanatos/agent/testing/configs/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
{
"description": "Description",
"uuid": "bb1e2059-7d19-4607-b193-8457fb7fa3db",
"payload_type": "thanatos",
"c2_profiles": [
{
"c2_profile": "http",
"c2_profile_is_p2p": false,
"c2_profile_parameters": {
"AESPSK": {
"dec_key": "Os69CZmFoyfhH24WcVHxrXOEyMFOLeC4yCEYMK6DhMU=",
"enc_key": "Os69CZmFoyfhH24WcVHxrXOEyMFOLeC4yCEYMK6DhMU=",
"value": "aes256_hmac"
},
"callback_host": "http://mythic",
"callback_interval": 5,
"callback_jitter": 0,
"callback_port": 80,
"encrypted_exchange_check": true,
"get_uri": "index",
"headers": {
"User-Agent": "User-Agent"
},
"killdate": "2099-01-01",
"post_uri": "data",
"proxy_host": "",
"proxy_pass": "",
"proxy_port": "",
"proxy_user": "",
"query_path_name": "q"
}
}
],
"build_parameters": [
{
"name": "architecture",
"value": "amd64"
},
{
"name": "buildmode",
"value": "release"
},
{
"name": "initaction",
"value": "none"
},
{
"name": "connection_retries",
"value": -1
},
{
"name": "working_hours",
"value": "00:00-23:59"
},
{
"name": "domains",
"value": []
},
{
"name": "hostnames",
"value": []
},
{
"name": "usernames",
"value": []
},
{
"name": "tlsuntrusted",
"value": false
},
{
"name": "spawnto",
"value": ""
},
{
"name": "libexport",
"value": ""
},
{
"name": "output",
"value": "executable"
}
],
"commands": [
"sleep",
"exit"
],
"selected_os": "Linux",
"filename": "thanatos",
"wrapped_payload": ""
}

0 comments on commit e321fe3

Please sign in to comment.