Implemented callback host system to support HTTP redirectors

This commit is contained in:
Jakob Friedl
2025-10-11 17:10:18 +02:00
parent 373eb497d9
commit f2d2833306
15 changed files with 145 additions and 90 deletions

View File

@@ -229,15 +229,17 @@ type
Protocol* {.size: sizeof(uint8).} = enum
HTTP = "http"
Listener* = ref object of RootObj
Listener* = ref object
server*: Server
listenerId*: string
hosts*: string
address*: string
port*: int
protocol*: Protocol
UIListener* = ref object of RootObj
UIListener* = ref object
listenerId*: string
hosts*: string
address*: string
port*: int
protocol*: Protocol
@@ -301,8 +303,7 @@ type
AgentCtx* = ref object
agentId*: string
listenerId*: string
ip*: string
port*: int
hosts*: string
sleep*: int
sleepTechnique*: SleepObfuscationTechnique
spoofStack*: bool