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
25 stars 9 forks source link

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

Open postmodern opened 2 weeks ago

postmodern commented 2 weeks 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.