Skip to content

Instantly share code, notes, and snippets.

@huj13k4n9
Last active April 10, 2025 14:04
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"]
# Tilix
context.terminal = ["/usr/bin/tilix", "-a", "session-add-right", "-e", "bash", "-c"]
@JoachimBose
Copy link

hello! could you please add:
context.terminal = ["/usr/bin/tilix", "-a", "session-add-right", "-e", "bash", "-c"] #fedora tilix
thank you!

@huj13k4n9
Copy link
Author

@JoachimBose Thanks for your suggestion! I've added your configuration. Happy to help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment