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 `String#refang` method #517

Open postmodern opened 2 weeks ago

postmodern commented 2 weeks ago

Add a core-ext method to String which can un-defang a URI or a IP address.

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