Open QU35T-code opened 1 year ago
Hey, I'll understand better this issue later, call me in discord if you have more details
The problem is that when requesting agent registration at Havoc, Havoc tries to determine the version of the agent. But Havoc only supports Windows, it cannot find the Linux version, which causes a crash
The problem is that when requesting agent registration at Havoc, Havoc tries to determine the version of the agent. But Havoc only supports Windows, it cannot find the Linux version, which causes a crash
Hi, thank you QU35T-code, I'm having exactly the same issue right now. What could be possibile solutions? Faking the Shaco agent as running on Windows? Or asking Havoc maintainer to add support for other platforms?
You can add this:
if len(OsVersion) != 5 {
logger.Debug("Idk What this is:", OsVersion)
return WinVersion
}
on line 1245 in agent.go and it will fix server crashing. A better fix would be to pass out the version string, but im to lazy for that rn
1) Create a HTTP listener 2) Run shaco agent on the target (Linux c8b61144fa84 5.4.0-1030-aws #31-Ubuntu SMP Fri Nov 13 11:40:37 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux) 3) Crash error