Commit 327eb970 authored by Damian Montero's avatar Damian Montero Committed by GitHub

Merge pull request #859 from MD5HashBrowns/patch-1

Add masscan package
parents bd381ae5 b9c98d9d
require 'package'
class Masscan < Package
description 'TCP port scanner, spews SYN packets asynchronously, scanning entire
Internet in under 5 minutes.'
homepage 'https://github.com/robertdavidgraham/masscan'
version '1.0.4'
source_url 'https://github.com/robertdavidgraham/masscan/archive/1.0.4.tar.gz'
source_sha256 '51de345f677f46595fc3bd747bfb61bc9ff130adcbec48f3401f8057c8702af9'
depends_on 'libpcap'
def self.build
system "make"
end
def self.install
system "mkdir -p #{CREW_DEST_DIR}/usr/local/bin"
system "cp bin/masscan #{CREW_DEST_DIR}/usr/local/bin"
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment