mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
New port: security/hmap - web server fingerprinting tool
Web server fingerprinting tool, used to identify web servers that changed thier banners. PR: ports/50754 Submitted by: Yonatan@xpert.com <Yonatan@xpert.com>
This commit is contained in:
parent
502650c7f5
commit
4379b9be00
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=88532
@ -99,6 +99,7 @@
|
||||
SUBDIR += hashish
|
||||
SUBDIR += heimdal
|
||||
SUBDIR += hlfl
|
||||
SUBDIR += hmap
|
||||
SUBDIR += hostsentry
|
||||
SUBDIR += hping
|
||||
SUBDIR += hunch
|
||||
|
44
security/hmap/Makefile
Normal file
44
security/hmap/Makefile
Normal file
@ -0,0 +1,44 @@
|
||||
# Ports collection makefile for: hmap
|
||||
# Date created: 29 Apr 2003
|
||||
# Whom: Yonatan <Yonatan@xpert.com>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= hmap
|
||||
PORTVERSION= 0.1
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= http://ujeni.murkyroc.com/hmap/code/current/ \
|
||||
http://wwwcsif.cs.ucdavis.edu/~leed/hmap/code/current/
|
||||
DISTNAME= ${PORTNAME}
|
||||
|
||||
MAINTAINER= Yonatan@xpert.com
|
||||
COMMENT= Web server fingerprinting utility
|
||||
|
||||
RUN_DEPENDS= python:${PORTSDIR}/lang/python
|
||||
|
||||
NO_WRKSUBDIR= yes
|
||||
NO_BUILD= yes
|
||||
USE_REINPLACE= yes
|
||||
|
||||
pre-patch:
|
||||
${CP} ${WRKSRC}/hmap.py ${WRKSRC}/hmap.py.old
|
||||
${TR} -d "\r" < ${WRKSRC}/hmap.py.old > ${WRKSRC}/hmap.py
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's|PREFIX|${PREFIX}|' ${WRKSRC}/hmap.py
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/hmap.py ${PREFIX}/bin/
|
||||
${MKDIR} ${PREFIX}/share/hmap/
|
||||
. for i in apache.1.3.12.win32 apache.2.0.44.win32 apache.1.3.14.win32 badblue.2.1.win32 apache.1.3.17.win32 dwhttpd.4.1a6.solaris.8 apache.1.3.22.win32 hpws.2.00.1454.solaris.8 apache.1.3.23.rhl.7.3 ibm_http_server.2.0.42.win32 apache.1.3.26.freebsd.4.6.2.r iis.5.0.win32 apache.1.3.26.solaris.8 jigsaw.2.0.5.win32 apache.1.3.27.freebsd.4.7 jigsaw.2.2.0.win32 apache.1.3.27.freebsd.5.0 jigsaw.2.2.2.solaris.8 apache.1.3.27.mac.10.1.5 ncsa.1.3.ultrix.4.4 apache.1.3.27.mac.10.2.4 thttpd.2.23beta1.freebsd.4.6.st apache.1.3.27.rhl.8.0 thttpd.2.23beta1.rhl.7.3 apache.1.3.9.win32 zope.2.6.0.solaris.8 apache.2.0.40.rhl.8.0
|
||||
${INSTALL_DATA} ${WRKSRC}/known.servers/$i ${PREFIX}/share/hmap/
|
||||
. endfor
|
||||
. if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
. for i in README BUGS GPL FAQS HIDING_GUIDE KNOWN_TESTS
|
||||
${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR}
|
||||
. endfor
|
||||
. endif
|
||||
|
||||
.include <bsd.port.mk>
|
1
security/hmap/distinfo
Normal file
1
security/hmap/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (hmap.tar.gz) = 83db5c76e7f466d0901a37616fc215f6
|
11
security/hmap/files/patch-hmap.py
Normal file
11
security/hmap/files/patch-hmap.py
Normal file
@ -0,0 +1,11 @@
|
||||
--- hmap.py.orig Wed Apr 9 14:47:16 2003
|
||||
+++ hmap.py Wed Apr 9 14:50:45 2003
|
||||
@@ -859,7 +859,7 @@
|
||||
sys.exit()
|
||||
|
||||
known_servers = []
|
||||
-for f in glob.glob('known.servers/*'):
|
||||
+for f in glob.glob('PREFIX/share/hmap/*'):
|
||||
ksf = file(f)
|
||||
ks = eval(ksf.read())
|
||||
known_servers.append(ks)
|
6
security/hmap/pkg-descr
Normal file
6
security/hmap/pkg-descr
Normal file
@ -0,0 +1,6 @@
|
||||
"hmap" is a tool for fingerprinting web servers. Basically, it collects
|
||||
a number of characteristics and compares them with known profiles to find
|
||||
a closest match. The closest match is its best guess for the identity of
|
||||
the server.
|
||||
|
||||
WWW: http://ujeni.murkyroc.com/hmap/
|
36
security/hmap/pkg-plist
Normal file
36
security/hmap/pkg-plist
Normal file
@ -0,0 +1,36 @@
|
||||
bin/hmap.py
|
||||
share/hmap/apache.1.3.12.win32
|
||||
share/hmap/apache.2.0.44.win32
|
||||
share/hmap/apache.1.3.14.win32
|
||||
share/hmap/badblue.2.1.win32
|
||||
share/hmap/apache.1.3.17.win32
|
||||
share/hmap/dwhttpd.4.1a6.solaris.8
|
||||
share/hmap/apache.1.3.22.win32
|
||||
share/hmap/hpws.2.00.1454.solaris.8
|
||||
share/hmap/apache.1.3.23.rhl.7.3
|
||||
share/hmap/ibm_http_server.2.0.42.win32
|
||||
share/hmap/apache.1.3.26.freebsd.4.6.2.r
|
||||
share/hmap/iis.5.0.win32
|
||||
share/hmap/apache.1.3.26.solaris.8
|
||||
share/hmap/jigsaw.2.0.5.win32
|
||||
share/hmap/apache.1.3.27.freebsd.4.7
|
||||
share/hmap/jigsaw.2.2.0.win32
|
||||
share/hmap/apache.1.3.27.freebsd.5.0
|
||||
share/hmap/jigsaw.2.2.2.solaris.8
|
||||
share/hmap/apache.1.3.27.mac.10.1.5
|
||||
share/hmap/ncsa.1.3.ultrix.4.4
|
||||
share/hmap/apache.1.3.27.mac.10.2.4
|
||||
share/hmap/thttpd.2.23beta1.freebsd.4.6.st
|
||||
share/hmap/apache.1.3.27.rhl.8.0
|
||||
share/hmap/thttpd.2.23beta1.rhl.7.3
|
||||
share/hmap/apache.1.3.9.win32
|
||||
share/hmap/zope.2.6.0.solaris.8
|
||||
share/hmap/apache.2.0.40.rhl.8.0
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTDOCS%%%%DOCSDIR%%/BUGS
|
||||
%%PORTDOCS%%%%DOCSDIR%%/GPL
|
||||
%%PORTDOCS%%%%DOCSDIR%%/FAQS
|
||||
%%PORTDOCS%%%%DOCSDIR%%/HIDING_GUIDE
|
||||
%%PORTDOCS%%%%DOCSDIR%%/KNOWN_TESTS
|
||||
%%PORTDOCS%%@dirrm share/doc/hmap
|
||||
@dirrm share/hmap
|
Loading…
Reference in New Issue
Block a user