forked from robertdavidgraham/masscan
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* attribution * rules, etc * some inspiration from kali linux
- Loading branch information
Showing
15 changed files
with
166 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
masscan for Debian | ||
------------------ | ||
|
||
Initial debianisation | ||
|
||
-- Vladimir Vitkov <[email protected]> Fri, 24 Jan 2014 11:03:38 +0200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
masscan (1.0.1+git20140106-1) unstable; urgency=low | ||
|
||
* Initial release | ||
|
||
-- Vladimir Vitkov <[email protected]> Fri, 24 Jan 2014 11:03:38 +0200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
Source: masscan | ||
Section: net | ||
Priority: extra | ||
Maintainer: Vladimir Vitkov <[email protected]> | ||
Build-Depends: debhelper (>= 8.0.0), libpcap-dev | ||
Standards-Version: 3.9.3 | ||
Homepage: https://github.com/robertdavidgraham/masscan | ||
#Vcs-Git: https://github.com/robertdavidgraham/masscan.git | ||
#Vcs-Browser: http://git.debian.org/?p=collab-maint/masscan.git;a=summary | ||
|
||
Package: masscan | ||
Architecture: any | ||
Depends: ${shlibs:Depends}, ${misc:Depends} | ||
Description: Mass IP port scanner | ||
This is the fastest Internet port scanner. It can scan the | ||
entire Internet in under 6 minutes, transmitting 10 million | ||
packets per second. | ||
. | ||
It produces results similar to nmap, the most famous port | ||
scanner. Internally, it operates more like scanrand, | ||
unicornscan, and ZMap, using asynchronous transmission. | ||
The major difference is that it's faster than these other | ||
scanners. In addition, it's more flexible, allowing | ||
arbitrary address ranges and port ranges. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
Format: http://dep.debian.net/deps/dep5 | ||
Upstream-Name: masscan | ||
Source: https://github.com/robertdavidgraham/masscan | ||
|
||
Files: * | ||
Copyright: 2013 Robert David Graham <[email protected]> | ||
License: AGPL | ||
This program, "masscan", is not completely free software. It may not be | ||
used by the United States Department of Defense (DoD) or National Security | ||
Agency (NSA), or by agents acting on their behalf, such as contractors, | ||
sub-contractors, and so on. These entitities must contact me to acquire | ||
a different license. | ||
. | ||
Barring the above exception, you can use, redistribute, and/or modify | ||
this code under the terms of the GNU Affero General Public License | ||
version 3. | ||
. | ||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU Affero General Public License for more details. | ||
. | ||
You should have received a copy of the GNU Affero General Public License | ||
along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
Files: debian/* | ||
Copyright: 2014 Vladimir Vitkov <[email protected]> | ||
License: GPL-3.0+ | ||
|
||
License: GPL-3.0+ | ||
This program is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
. | ||
This package is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
. | ||
You should have received a copy of the GNU General Public License | ||
along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
. | ||
On Debian systems, the complete text of the GNU General | ||
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
usr/bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
README.md | ||
VULNINFO.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
bin/masscan usr/bin/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
doc/masscan.8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- a/Makefile | ||
+++ b/Makefile | ||
@@ -81,8 +81,8 @@ | ||
$(CC) $(CFLAGS) -o $@ $(OBJ) $(LDFLAGS) $(LIBS) | ||
|
||
clean: | ||
- rm tmp/*.o | ||
- rm bin/masscan | ||
+ rm -f tmp/*.o | ||
+ rm -f bin/masscan | ||
|
||
regress: bin/masscan | ||
bin/masscan --selftest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
--- a/doc/masscan.8 | ||
+++ b/doc/masscan.8 | ||
@@ -111,7 +111,7 @@ | ||
\fB\-\-rotate <time>\fR: rotates the output file, renaming it with the current timestamp, moving it to a separate directory\. The time is specified in number of seconds, like "3600" for an hour\. Or, units of time can be specified, such as "hourly", or "6hours", or "10min"\. Times are aligned on an even boundary, so if "daily" is specified, then the file will be rotated every day at midnight\. | ||
. | ||
.IP "\(bu" 4 | ||
-\fB\-\-rotate\-offset <time>\fR: an offset in the time\. This is to accomodate timezones\. | ||
+\fB\-\-rotate\-offset <time>\fR: an offset in the time\. This is to accommodate timezones\. | ||
. | ||
.IP "\(bu" 4 | ||
\fB\-\-rotate\-dir <directory>\fR: when rotating the file, this specifies which directory to move the file to\. A useful directory is \fB/var/log/masscan\fR\. | ||
--- a/src/rawsock.c | ||
+++ b/src/rawsock.c | ||
@@ -712,7 +712,7 @@ | ||
adapter->ring = 0; | ||
return 0; | ||
} else | ||
- LOG(1, "pfring:'%s': succesfully eenabled\n", adapter_name); | ||
+ LOG(1, "pfring:'%s': successfully eenabled\n", adapter_name); | ||
|
||
return adapter; | ||
} | ||
--- a/src/rawsock-getif.c | ||
+++ b/src/rawsock-getif.c | ||
@@ -185,7 +185,7 @@ | ||
/* Check if the header is valid */ | ||
if ((NLMSG_OK(nlHdr, readLen) == 0) | ||
|| (nlHdr->nlmsg_type == NLMSG_ERROR)) { | ||
- perror("Error in recieved packet"); | ||
+ perror("Error in receeved packet"); | ||
return -1; | ||
} | ||
|
||
--- a/src/rawsock-getroute.c | ||
+++ b/src/rawsock-getroute.c | ||
@@ -238,7 +238,7 @@ | ||
/* Check if the header is valid */ | ||
if ((NLMSG_OK(nlHdr, readLen) == 0) | ||
|| (nlHdr->nlmsg_type == NLMSG_ERROR)) { | ||
- perror("Error in recieved packet"); | ||
+ perror("Error in received packet"); | ||
return -1; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
fix-makefile-clean-failing-on-clean-dir | ||
fix-spelling-errors |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/usr/bin/make -f | ||
# -*- makefile -*- | ||
# Sample debian/rules that uses debhelper. | ||
# This file was originally written by Joey Hess and Craig Small. | ||
# As a special exception, when this file is copied by dh-make into a | ||
# dh-make output file, you may use that output file without restriction. | ||
# This special exception was added by Craig Small in version 0.37 of dh-make. | ||
|
||
# Uncomment this to turn on verbose mode. | ||
#export DH_VERBOSE=1 | ||
|
||
%: | ||
dh $@ | ||
|
||
override_dh_auto_test: | ||
$(MAKE) regress |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
3.0 (quilt) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
version=3 | ||
|
||
# use the github release pages | ||
https://github.com/robertdavidgraham/masscan/releases .*/(\d\S*)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz))) |