Added ROT and XOR encoding to data transformation.

This commit is contained in:
Jakob Friedl
2025-11-19 20:42:08 +01:00
parent 8468cfdab7
commit 2f2130927e
5 changed files with 38 additions and 12 deletions

View File

@@ -29,10 +29,10 @@ endpoints = [
# Metadata can be stored in a Header (e.g. JWT Token, Session Cookie), URI parameter or request body
# Encoding is only applied to the payload and not the prepended or appended strings
[http-get.agent.heartbeat]
placement = { type = "header", name = "Authorization" }
encoding = { type = "base64", url-safe = true }
prefix = "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9."
suffix = ".######################################-####"
# placement = { type = "header", name = "Authorization" }
# encoding = { type = "base64", url-safe = true }
# prefix = "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9."
# suffix = ".######################################-####"
# Example: PHP session cookie
# placement = { type = "header", name = "Cookie" }
@@ -45,8 +45,8 @@ suffix = ".######################################-####"
# encoding = { type = "hex" }
# Example: Raw data in GET request body
# placement = { type = "body" }
# encoding = { type = "none" }
placement = { type = "body" }
encoding = { type = "rot", key = 2 }
# Defines arbitrary URI parameters that are added to the request
[http-get.agent.parameters]