Sha256: 7363281e506c19efb7da640edfeb7f12a9385858a05902f1fecce2a3e7da115c

Contents?: true

Size: 344 Bytes

Versions: 2

Compression:

Stored size: 344 Bytes

Contents

#!/usr/bin/env ruby

$:.unshift "#{File.expand_path(File.dirname(__FILE__))}/../lib"

require 'rubygems'
require 'bundler/setup'
require 'nacjac'

if ARGV.count < 3
  puts "Usage:"
  puts "  nacjac <target_url> <num_threads> <duration>"
else
  cannon = Nacjac::Cannon.new(ARGV[0], ARGV[1].to_i, ARGV[2].to_i)
  cannon.blast
  cannon.report
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nacjac-0.0.2 bin/nacjac
nacjac-0.0.1 bin/nacjac