FS#59034 - [ropgadget] Some commands failing because they expect to be run as python 2

Attached to Project: Community Packages
Opened by Jacob Karlsson (Powersource) - Saturday, 16 June 2018, 20:10 GMT
Last edited by Toolybird (Toolybird) - Sunday, 04 December 2022, 04:37 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Levente Polyak (anthraxx)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Ropgadget doesn't seem to have support for python3 and therefore fails some commands since it expects to be run as python2.
https://github.com/JonathanSalwan/ROPgadget/issues/112

Steps to reproduce:
Run
ROPgadget --ropchain --binary /usr/lib/libc-2.27.so
and it should fail with
[-] Error - Can't find a writable section
after a bit.

You can sort of get around it by installing https://aur.archlinux.org/packages/python2-ropgadget-git/ and running
python2 /usr/bin/ROPgadget --ropchain --binary /usr/lib/libc-2.27.so
This task depends upon

Closed by  Toolybird (Toolybird)
Sunday, 04 December 2022, 04:37 GMT
Reason for closing:  Fixed
Additional comments about closing:  Old, stale, seems to run fine on python3 these days.

Loading...