安装Pwndbg踩的坑一览
0x123456,编写C脚本,挂载GNU调试器,使用pwndbg插件
是一个 Dockerfile,它可以从源代码构建一个小型的便携式开发套件,用于在 x86 和 x64 Windows 系统上创建 C 和 C++ 应用程序。可在 “发布版本” 中获取预构建且可直接使用的套件。
busybox - w32:标准 Unix 实用工具,包括 sh
D:\CTF工具\w64devkit\bin\gdb.exe: warning: internal error: Unhandled Python exception
Error: 'R:/winlibs_staging_ucrt64/inst_cpython-mingw-3.9.7/share/python/bin/python3.9.exe' does not exist or is not executable.
It looks like GDB is using a different Python version than the one installed via the package manager.
1. Try installing 'python3.9' manually using your package manager.
Example (for Debian/Ubuntu/Kali): 'sudo apt install python3.9'
Example (for Fedora/RHEL): 'sudo dnf install python3.9'
2. Verify your GDB configuration and ensure it supports the correct Python version.
After making the necessary changes, rerun ./setup.sh
我安装的是20.04.6的版本,建议直接从微软商店下载 Ubuntu
git clone https://github.com/pwndbg/pwndnbg
WSL中sudo apt-get update出现 connection timed out Could not connect to security.ubuntu.com:80 (91.189.91.82), connection timed out Could not connect to security.ubuntu.com:80 (185.125.190.81), connection timed out Could not connect to security.ubuntu.com:80 (185.125.190.83), connection timed out Could not connect to security.ubuntu.com:80 (185.125.190.82), connection timed out Could not connect to security.ubuntu.com:80 (91.189.91.81), connection timed out
W: Some index files failed to download. They have been ignored, or old ones used instead.
/etc/apt/sources.list.d/ubuntu.sources
sudo apt install python3 python3-pip python3-dev git libssl-dev libffi-dev build-essential -y
pip3 install --upgrade pwntools
fonts-liberation2 ibverbs-providers libarmadillo12 libblosc2-3 libboost-iostreams1.83.0
libboost-thread1.83.0 libcephfs2 libgdal34t64 libgfapi0 libgfrpc0 libgfxdr0 libglusterfs0
libhdf5-103-1t64 libhdf5-hl-100t64 libibverbs1 liblbfgsb0 libnetcdf19t64 libpoppler134
libpython3.11-dev librados2 librdmacm1t64 libsuperlu6 python3-dunamai python3-lib2to3
python3-poetry-dynamic-versioning python3-tomlkit python3.11 python3.11-dev
python3.11-minimal samba-vfs-modules
使用'sudo apt autoremove'来卸载它(它们)。
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 1957 个软件包未被升级。
命中:1 http://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling InRelease
错误:1 http://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling InRelease
Sub-process /usr/bin/sqv returned an error code (1), error message is: Missing key 827C8569F2518CC677FECA1AED65462EC8D5E4C5, which is needed to verify signature.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. OpenPGP signature verification failed: http://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling InRelease: Sub-process /usr/bin/sqv returned an error code (1), error message is: Missing key 827C8569F2518CC677FECA1AED65462EC8D5E4C5, which is needed to verify signature.
W: 无法下载 http://mirrors.tuna.tsinghua.edu.cn/kali/dists/kali-rolling/InRelease Sub-process /usr/bin/sqv returned an error code (1), error message is: Missing key 827C8569F2518CC677FECA1AED65462EC8D5E4C5, which is needed to verify signature.
W: 部分索引文件下载失败。如果忽略它们,那将转而使用旧的索引文件。
./setup.sh: 行 184: -PYVER=3.11: 未找到命令








浙公网安备 33010602011771号