terminal-escape-injections
terminal-escape-injections copied to clipboard
A repository dedicated to terminal escape injections.
Terminal escape injection PoCs
This repository contains sample PoC codes demonstrating the terminal escape injection vulnerability which affects all modern systems including:
- Microsoft Windows 10
- Mac OS
- Linux
See the main article here: https://www.infosecmatter.com/terminal-escape-injection/
Terminal injection in a shell script on Linux:
Tested on:
- Linux (gnome-terminal, xterm, aterm)
- Mac OS (Terminal 2.0, iTerm2)
- Cygwin (Windows)
Terminal injection in a python script on Mac OS:
Tested on:
- Linux (gnome-terminal, xterm, aterm)
- Mac OS (Terminal 2.0, iTerm2)
- Cygwin (Windows)
Terminal injection in a batch (.bat) file on Windows:
Tested on:
- Windows 10 PowerShell
- Windows 10 Command Prompt
Terminal injection in a PowerShell (.ps1) script on Windows:
Tested on:
- Windows 10 PowerShell
- Windows 10 Command Prompt
For more information, visit https://www.infosecmatter.com/terminal-escape-injection/