vulncheck-oss / go-exploit

A Go-based Exploit Framework
https://pkg.go.dev/github.com/vulncheck-oss/go-exploit
Apache License 2.0
304 stars 29 forks source link

Make C2 timeout configurable by exploit #173

Closed terrorbyte closed 4 months ago

terrorbyte commented 4 months ago

Currently the C2Timeout configuration option gets overwritten in the flag parsing when RunExploit is triggered. This change checks to see if the value is different than default and if so keeps the value and lets the exploit set the default timeout.

This is primarily useful when we utilize the cron payloads and other slow to respond or trigger vulnerabilities.