This plugin uses nmap port scanner to check on open/closed ports on target hosts.
you need to have nmap installed!
First install the gem by running: [sudo] gem install cinch-nmap
Then load it in your bot: require "cinch" require "cinch/plugins/nmap"
bot = Cinch::Bot.new do
configure do |c|
# add all required options here
c.plugins.plugins = [Cinch::Plugins::ScanNmap] # optionally add more plugins, remember is ScanNmap
end
end
bot.start
Port scan a host
None.
- put in some checks
- add scan options
- try to get rid of the xml tmp file