patchelf修改libc版本 安装glibc-all-in-one12345git clone https://github.com/matrix1001/glibc-all-in-onecd glibc-all-in-one./update_listcat list ./download <libc-in-list> 修改libc.so和ld.so123456patchelf --set-interpreter ./glibc-all-in-one/libs/2.23-0ubuntu3_amd64/ld-2.23.so <path-to-elf>patchelf --replace-needed libc.so.6 ./glibc-all-in-one/libs/2.23-0ubuntu3_amd64/libc.so.6 <path-to-elf># param1 : old libc.so# param2 : new libc.so# param3 : path to elf 效果图 ctf-pwn #ctf-pwn patchelf修改libc版本 https://isolator-1.github.io/2022/11/27/ctf-pwn/patchelf修改程序libc版本/ Author Isolator Posted on November 27, 2022 Licensed under Off-By-One Previous unlink Next