ronin-support 0.3.0 and ronin 1.3.0 released
— postmodern
After roughly three months, new versions of ronin-support and ronin have been released!
Upgrade
$ gem update ronin
Easier Text Processing
File.each_line and File.each_row were added to help with processing large text-files:
Builtin Regexps
Some common and useful Regular Expressions were added to ronin-support:
Regexp::MAC
Regexp::IPv4
,Regexp::IPv6
,Regexp::IP
Regexp::HOST_NAME
Regexp::USER_NAME
Regexp::EMAIL_ADDR
Bruteforcing and Fuzzing
String.generate was added to assist in enumerating over every possible String, based on a format template. This method is especially useful for bruteforcing passwords or directories. The following code enumerates through every password starting with five alpha characters and ending in one to three numeric characters:
String#fuzz was added to assist in fuzzing Strings. This method will find
all occurrences of a sub-string or regular expression, and replace each one
with one or more substitutions. The following code replaces every occurrence of
a number with 1 to 100 9
characters:
Easier DNS Queries
Sometimes you need to query a specific DNS server, and bypass /etc/hosts
.
Now you can, using any of the lookup
methods:
URI::HTTP Convenience Methods
Net.http_*
convenience methods were added to URI::HTTP, for quicker
access:
Ronin::UI Moves
Ronin::UI::Output was moved out of ronin and down into ronin-support.
Now developers can use print_info
, print_warning
print_error
methods
from ronin-support:
Ronin::UI::Shell was also moved into ronin-support and refactored. Ronin::UI::Shell is now a Class, where commands can be defined as protected methods:
> help
Available commands:
dirbust target [words]
exit
help
quit
scan target
Extract and Import Methods
extract
and import
methods were added to MACAddress, IPAddress,
HostName, URL and EmailAddress. extract
can parse large
amounts of text and extract Resources from it:
import
reads every line of a file and saves extracted Resources into the
Database:
Inline Commands and Tab-Completion
The Ronin Console received some significant improvements in 1.3.0.
Inline Commands were added to the Ronin Console, allowing you to quickly execute
system commands. Simply prefix the command to run with a !
:
>> "olleh".reverse
# => "hello"
>> !ncat github.com 80
GET /
<html>
<head><title>301 Moved Permanently</title></head>
<body bgcolor="white">
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx/1.0.4</center>
</body>
</html>
New Tab Completion rules were also added, allowing you to tab-complete data in the Database and more:
-
>> "192.168.<TAB><TAB> 192.168.1.1 192.168.1.52
-
>> "www.ex<TAB><TAB> www.example.com www.exploit-db.com
-
>> "http://www.victim.com/<TAB><TAB> http://www.victim.com/index.php http://www.victim.com/page.php?id=1 http://www.victim.com/page.php?id=2 http://www.victim.com/page.php?id=3
-
>> "alice@e<TAB><TAB> alice@evil.com alice@example.com
-
Local files / directories:
>> File.read("dump.<TAB><TAB> dump.txt dump.csv
-
Inline Commands:
>> !nc<TAB><TAB> !nc !ncat !ncftp