mhaskar / Octopus

Open source pre-operation C2 server based on python and powershell
GNU General Public License v3.0
733 stars 155 forks source link

Please check the certificate and key path LISTEN_HTTPS #22

Closed morzen closed 3 years ago

morzen commented 4 years ago

I am on a kali 2020.4 VM on VMware Workstation 16 Player the host is an x64 windows 10 family with Intel(R) Core(TM) i7-8086K CPU @ 4.00GHz 4.01GHz 32.0Go of RAM

I respected all the pre-requisite for the installation of octopus as you can see on this screenshot Capture

And as you can see on this second screenshot I am unable to create an HTTPS listener.

Capture2

If there is any more intel or anything I can provide to help fix the issue please let me know.

many thanks in advance

morzen commented 3 years ago

I am answering and closing my own question and has I thought it was something stupid that I wasn't doing right so for anyone new who has this same issue here is the answer:

use openssl: if like me you are on kali a simple "apt install openssl " or an " apt-get install openssl" depending on the version of kali, will allow you to download it.

once downloaded this command should give you what you need "openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -keyout key.pem -out cert.pem"