Class: Eastrails::Scanner::Security

Inherits:
Base
  • Object
show all
Defined in:
lib/eastrails/scanner/security.rb

Instance Attribute Summary

Attributes inherited from Base

#options

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Eastrails::Scanner::Base

Instance Method Details

#executeObject



4
5
6
7
8
9
# File 'lib/eastrails/scanner/security.rb', line 4

def execute
  self.destination_root = File.expand_path(".")
  system "brakeman -o tmp/scanner.html"
  system "open 'tmp/scanner.html'"
  puts "You should also check http://weblog.rubyonrails.org/ for security holes"
end