Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pwntools+tmux #199

Open
wsxk opened this issue Jul 24, 2024 · 0 comments
Open

pwntools+tmux #199

wsxk opened this issue Jul 24, 2024 · 0 comments

Comments

@wsxk
Copy link
Owner

wsxk commented Jul 24, 2024

https://wsxk.github.io/pwntools/

  1. why pwntools+tmux?

  2. 安装教程

  3. 使用教程

  4. tmux快捷键

  5. why pwntools+tmux?
    在用pwntools进行ctf pwn题目调试时,通常会利用类似gdb.attach(p)的代码来调试,通常情况下,这回弹出另一个命令行
    但是你用tmux来进行调试,它会把一个命令行划分成2个pane,可以同时操作,界面美观还方便

  6. 安装教程
    对于pwntools而言,只需执行如下命令即可。
    pip install pwntools

对于tmux,在ubuntu20虚拟机下,执行如下命令:
sudo apt install tmux

  1. 使用教程
    开启命令行后,使用如下命令:
    tmux

这会开启一个tmux的服务端
然后,python编写如下代码:
from pwn import *
log.level =

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

No branches or pull requests

1 participant