Closed postmodern closed 5 days ago
As a counterpart to #204, there should also be a ronin refang command which re-fangs previously defanged URLs, host names, and IPs.
ronin refang
hxxps://www[.]evil[.]com/foo/bar/baz
https://www.evil.com/foo/bar/baz
www[.]example[.]com
www.example.com
192[.]168[.]1[.]1
192.168.1.1
This command should inherit from ValueProcessorCommand so that it can process URLs or IPs as both command-line arguments and via the --file option.
ValueProcessorCommand
--file
This should use the new Ronin::Support::Network::Defang module in the ronin-support 1.2.0 branch.
Ronin::Support::Network::Defang
ronin-support
1.2.0
Implemented by 2f4491b.
As a counterpart to #204, there should also be a
ronin refang
command which re-fangs previously defanged URLs, host names, and IPs.hxxps://www[.]evil[.]com/foo/bar/baz
->https://www.evil.com/foo/bar/baz
www[.]example[.]com
->www.example.com
192[.]168[.]1[.]1
->192.168.1.1
This command should inherit from
ValueProcessorCommand
so that it can process URLs or IPs as both command-line arguments and via the--file
option.This should use the new
Ronin::Support::Network::Defang
module in theronin-support
1.2.0
branch.