HavocFramework / Havoc

The Havoc Framework.
https://havocframework.com
GNU General Public License v3.0
6.72k stars 949 forks source link

[Teamserver-Client--Bug]: Error generating demon #353

Open raf181 opened 1 year ago

raf181 commented 1 year ago

Contact Details

Discord: raf181_

What happened?

error generating payload: [] Starting build [] Use indirect syscalls [-] strconv.Atoi: parsing "": invalid syntax

Did You Do a Pull First?

Latest (You performed a pull first)

Did You Try With the Dev Branch?

Yes (You tried using the dev branch but the problem persist)

Relevant log output

Debug log from server:

> [14:15:53] [DBUG] [server.(*Teamserver).EventAppend:786]: Onetime package. not gonna save:  {{5 anoam 01/07/2023 14:15:53 true} {2 map[AgentType:Demon Arch:x64 Config:{
    "Indirect Syscall": true,
    "Injection": {
        "Alloc": "Native/Syscall",
        "Execute": "Native/Syscall",
        "Spawn32": "C:\\Windows\\SysWOW64\\notepad.exe",
        "Spawn64": "C:\\Windows\\System32\\notepad.exe"
    },
    "Jitter": "15",
    "Sleep": "2",
    "Sleep Technique": "WaitForSingleObjectEx"
}
 Format:Windows Exe Listener:Dserver]}}
[14:15:53] [DBUG] [builder.(*Builder).DebugMode:143]: Payload Builder: Enable Debug Mode false
[14:15:53] [DBUG] [server.(*Teamserver).DispatchEvent.func3:823]: Windows Exe
[14:15:53] [DBUG] [builder.(*Builder).PatchConfig:432]: map[Indirect Syscall:true Injection:map[Alloc:Native/Syscall Execute:Native/Syscall Spawn32:C:\Windows\SysWOW64\notepad.exe Spawn64:C:\Windows\System32\notepad.exe] Jitter:15 Sleep:2 Sleep Technique:WaitForSingleObjectEx]

Did You Read Over Your Issue First?

7igr3ss commented 1 year ago

I am having the same issue.

tanc7 commented 1 year ago

So far the only workaround I found is making a new listener and generating payloads and shellcode for that listener, but on my next try it throws the same error.