Gallopsled / pwntools

CTF framework and exploit development library
http://pwntools.com
Other
11.99k stars 1.7k forks source link

use checksec command hava a warning ,What should i do? #2303

Closed Sunlazys closed 9 months ago

Sunlazys commented 10 months ago

When I use the pwntools checksec command to check the protection of an executable, my checksec gives me a warning. What should I do? image

In particular, the protection fails when I compile a source file with the following command. image

Sunlazys commented 10 months ago

My pwntools‘s version is latest 4.11.0,but it look happen some question.

peace-maker commented 10 months ago

What unicorn version do you have installed? pip show unicorn Try updating unicorn for you pip install --upgrade unicorn

Sunlazys commented 10 months ago

My unicorn --version is v5.5.3, My pwntools three days ago use version v4.11.0, but i switch pwntools version to 4.8.0,the error hava been solve.

peace-maker commented 10 months ago

The latest unicorn version is 2.0.1.post1, so v5 must be from some other package https://github.com/unicorn-engine/unicorn

I'm assuming you have an older version installed which doesn't have riscv support. We need to bump our minimum requirement it seems @Arusekk ?