ronin-rb / ronin-exploits

A Ruby micro-framework for writing and running exploits
https://ronin-rb.dev
GNU Lesser General Public License v3.0
70 stars 23 forks source link

Add an example `ronin-exploits run` command builder to the `ronin-exploits run` command #120

Closed postmodern closed 9 months ago

postmodern commented 9 months ago

Add a method which builds an example ronin-exploits run ... string for the given exploit class. It must list any required params (that don't have default values) as -p #{param.name}=#{params.name.upcase}.

Example

$ ronin-exploits show foo/bar/baz

Would output:

...

Usage:

    $ ronin-exploits run foo/bar/baz -p host=HOST -p port=PORT
postmodern commented 9 months ago

Implemented by c95d316.