ronin-rb / ronin-support

A support library for Ronin. Like activesupport, but for hacking!
https://ronin-rb.dev
GNU Lesser General Public License v3.0
27 stars 10 forks source link

Add a `URI::HTTP#defang` method #516

Closed postmodern closed 1 week ago

postmodern commented 5 months ago

Add a core-ext method to URI::HTTP which "de-fangs" the URI and returns a String.

This might also require putting the logic into Ronin::Support::Network::URL.defang and Ronin::Support::Network::IP.defang methods, or creating a Ronin::Support::Network::Defang module to contain the defanging/refanging logic.

postmodern commented 1 week ago

Implemented by cb97c14.