sashs / Ropper

Display information about files in different file formats and find gadgets to build rop chains for different architectures (x86/x86_64, ARM/ARM64, MIPS, PowerPC, SPARC64). For disassembly ropper uses the awesome Capstone Framework.
https://scoding.de/ropper
BSD 3-Clause "New" or "Revised" License
1.88k stars 206 forks source link

Enhancement: Excessive help message #137

Closed davidhcefx closed 2 years ago

davidhcefx commented 3 years ago

Description

Every time I typed ropper --help, ropper would spit out a four-page help message, which is overwhelming to me. In most scenarios, what I really want to find is just the correct keywords in order to use ropper. For instance, --file and --search are the two keywords I used the most.

help-msg

Besides, as shown in the image above, each example command was displayed as the FULL PATH of ropper, which made the lines redundant and ugly:

C:\Users\user\Local\Programs\Python\Python38\Scripts\ropper --file /bin/ls --search "mov e?x"

Suggestion

Here are some suggestions I came out with:

sashs commented 3 years ago

Hey. I removed the examples from the help page and added a new command --help-examples.