2020-04-15 2026-01-25 主要原因是不支持32位程序,可以用如下方法启用:WSL默认使用64bit的程序,不支持32位的程序,但我们仍然可以使用QEMU来虚拟化内核。安装QEMU 123sudo apt updatesudo apt install qemu-user-staticsudo update-binfmts --install i386 /usr/bin/qemu-i386-static --magic '\x7fELF\x01\x01\x01\x03\x00\x00\x00\x00\x00\x00\x00\x00\x03\x00\x03\x00\x01\x00\x00\x00' --mask '\xff\xff\xff\xff\xff\xff\xff\xfc\xff\xff\xff\xff\xff\xff\xff\xff\xf8\xff\xff\xff\xff\xff\xff\xff' 启动服务,注意每次调试32位程序之前都要启用一次 1sudo service binfmt-support start 启用32位架构 1234sudo dpkg --add-architecture i386sudo apt updatesudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 前一篇 python数字与字节互相转换number to bytes,bytes to number 后一篇 如何在windows WSL子系统中使用pwntools以及启用pwndbg
说些什么吧!