NetExec/certs/gen-self-signed-cert.sh

4 lines
142 B
Bash
Executable File

#!/bin/bash
openssl genrsa -out crackmapexec.key 2048
openssl req -new -x509 -days 3650 -key crackmapexec.key -out crackmapexec.crt -subj "/"