Skip to content

Instantly share code, notes, and snippets.

@huj13k4n9
Created May 10, 2023 07:21
Show Gist options
  • Save huj13k4n9/d6ba875176d11867ad387c74a89a1da1 to your computer and use it in GitHub Desktop.
Save huj13k4n9/d6ba875176d11867ad387c74a89a1da1 to your computer and use it in GitHub Desktop.
context.terminal for different terminals in pwntools.
# Zellij
context.terminal = ["zellij", "action", "new-pane", "-d", "right", "-c", "--", "bash", "-c"]
# Alacritty
context.terminal = ["alacritty", "-e", "bash", "-c"]
# GNOME Terminal
context.terminal = ["gnome-terminal", "--", "bash", "-c"]
# GNOME Console
context.terminal = ["kgx", "-e", "bash", "-c"]
# Xfce4 Terminal
context.terminal = ["xfce4-terminal", "-e"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment