1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Doscan is a tool to quickly scan network for machines listening

on a TCP port. It can scan for Microsoft DCOM vulnerability.

PR:		57161
Submitted by:	Janos Mohacsi <janos.mohacsi@bsd.hu>
This commit is contained in:
Kirill Ponomarev 2003-09-25 11:20:15 +00:00
parent 4405b5a971
commit b2a721fb21
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=89346
6 changed files with 70 additions and 0 deletions

View File

@ -58,6 +58,7 @@
SUBDIR += digest
SUBDIR += dirmngr
SUBDIR += donkey
SUBDIR += doscan
SUBDIR += dropbear
SUBDIR += drweb
SUBDIR += drweb-postfix

31
security/doscan/Makefile Normal file
View File

@ -0,0 +1,31 @@
# New ports collection makefile for: doscan
# Date created: 24 Sept 2003
# Whom: Janos.Mohacsi@bsd.hu
#
# $FreeBSD$
#
PORTNAME= doscan
PORTVERSION= 0.1.6
CATEGORIES= security net
MASTER_SITES= http://static.enyo.de/fw/releases/doscan/
MAINTAINER= Janos.Mohacsi@bsd.hu
COMMENT= Tool to quickly scan your network for machines listening on a TCP port
LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre
GNU_CONFIGURE= yes
USE_GMAKE= yes
DOC_FILES= README
MAN1= doscan.1
post-install:
.ifndef(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in ${DOC_FILES}
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>

1
security/doscan/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (doscan-0.1.6.tar.gz) = e915c705c69e76d30f65333ea39625b1

View File

@ -0,0 +1,10 @@
--- src/subnets.c.orig Wed Sep 24 13:28:27 2003
+++ src/subnets.c Wed Sep 24 13:29:59 2003
@@ -37,7 +37,6 @@
#include <stdio.h>
#include <stdlib.h>
-#include <malloc.h>
static ipv4_prefix_t *subnets = 0;
/* list of subnets, terminated by the 0/0 prefix */

24
security/doscan/pkg-descr Normal file
View File

@ -0,0 +1,24 @@
Doscan is a tool to quickly scan your network for machines listening on a
TCP port, opening thousands of TCP connections in parallel.
Features
High scanning rate: five to ten minutes per 100,000 addresses (which
are sparsely populated with hosts), with rather conservative timeouts.
Load distribution: doscan scans the addresses in a seemingly random
order. If your scan host is connected to a central router, this ensures
that the load is distributed across your network, and you are
stress-tesing just a single router, and not your edge devices.
Low memory consumption: memory usage is proportional to the number
of hosts which have responded so far, and to the number of parallel
connections. The total number of addresses does not influence memory usage
in any way.
Can collect responses: doscan optionally records data which is sent
by the hosts which are being scanned. You can even specify a regular
expresson to extract part of a server banner, and a message to send to
trigger a response (great for determining HTTP server versions).
Extensibility: It is possible to add special handlers for TCP-based
protocols, using a straightforward interface.
It supports scanning the vulnerable Microsoft DCOM implementation.
WWW: http://www.enyo.de/fw/software/doscan/
Janos Mohacsi <janos.mohacsi@bsd.hu>

View File

@ -0,0 +1,3 @@
bin/doscan
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%@dirrm %%DOCSDIR%%