Pivot Scan is a scanner written in Ruby for the meterpreter tool.
You can download it from the following link: https://packetstormsecurity.com/files/download/76038/pivot-scan.rb
Source: https://packetstormsecurity.com/files/76038/Pivot-Scan-Written-In-Ruby.html