ronin-rb / ronin-app

A local web interface for Ronin.
https://ronin-rb.dev
GNU Affero General Public License v3.0
26 stars 8 forks source link

Also display the payload type of an exploit in `exploits/show`, if it defines one #127

Open postmodern opened 4 months ago

postmodern commented 4 months ago

The exploits/show view should check if the @exploit includes Ronin::Exploits::Mixins::HasPayload and then display @exploit.payload_class by mapping @exploit.payload_class.payload_type to a displayable name (ex: Ronin::Payloads::ShellcodePayload.payload_type -> :shellcode -> Shellcode). See Ronin::Payloads::CLI::Printing for a mapping of payload classes to display names.