jm33-m0 / emp3r0r

Linux/Windows post-exploitation framework made by linux user
https://infosec.exchange/@jm33
MIT License
1.32k stars 238 forks source link

Unable to generate new server certificate when requested with new server names #105

Closed jm33-m0 closed 2 years ago

jm33-m0 commented 2 years ago

https://github.com/jm33-m0/emp3r0r/blob/1e1259f1ae94e16dfc73cc8fd97ec9d514dd40d0/core/lib/cc/buildAgent.go#L188-L196

It's a bug caused by failure to extract all names from current server certificate. The check above obviously doesn't work (have no idea why I wrote thatšŸ¤£)