1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

OWASP WebScarab is aframework for analysing HTTP and HTTPS web application traffic

Approved by:	itetcu (mentor)
WWW:	http://www.owasp.org/index.php/Category:OWASP_WebScarab_Project
This commit is contained in:
Niels Heinen 2010-03-10 22:07:09 +00:00
parent fd4bac4578
commit ca82e2b1ed
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=250873
6 changed files with 99 additions and 0 deletions

View File

@ -859,6 +859,7 @@
SUBDIR += w3af
SUBDIR += wapiti
SUBDIR += webfwlog
SUBDIR += webscarab
SUBDIR += wipe
SUBDIR += xca
SUBDIR += xinetd

View File

@ -0,0 +1,52 @@
# New ports collection makefile for: webscarab
# Date created: 2010-03-08
# Whom: Niels Heinen
#
# $FreeBSD$
#
PORTNAME= webscarab
PORTVERSION= 20090427
CATEGORIES= security www java
MASTER_SITES= ${MASTER_SITE_LOCAL} \
http://people.freebsd.org/~niels/distfiles/
MASTER_SITE_SUBDIR= niels
DISTNAME= ${PORTNAME}-${PORTVERSION}
MAINTAINER= niels@FreeBSD.org
COMMENT= Framework for analysing HTTP and HTTPS web application traffic
USE_ZIP= YES
USE_JAVA= YES
JAVA_VERSION= 1.4+
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${DISTNAME}-1304
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
PORTDOCS= README LICENSE ChangeLog
.include <bsd.port.pre.mk>
post-extract:
${RM} ${WRKSRC}/lib/W32WinInet.dll
pre-install:
@${SED} -e 's:%%PATH%%:${DATADIR}/:' \
-e 's:%%JAVA_CMD%%:${JAVA}:' \
-e 's:%%WEBSCARAB%%:${DATADIR}/${PORTNAME}.jar:' \
< ${FILESDIR}/${PORTNAME}.sh > ${WRKDIR}/${PORTNAME}
do-install:
${MKDIR} ${DATADIR}/lib
${INSTALL_DATA} ${WRKSRC}/lib/* ${DATADIR}/lib
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.jar ${DATADIR}
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}_lite
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
. for i in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
. endfor
.endif
.include <bsd.port.post.mk>

View File

@ -0,0 +1,3 @@
MD5 (webscarab-20090427.zip) = 1e1ddac4d8502aa11b86a13e3d9a3888
SHA256 (webscarab-20090427.zip) = e61a7665aa09d593150a8d3bda6636c169a4883c738d8625f9f16119521471d0
SIZE (webscarab-20090427.zip) = 3817110

View File

@ -0,0 +1,15 @@
#!/bin/sh
#
# $FreeBSD$
#
TEST=`/usr/bin/basename $0`
OPTIONS="-DWebScarab.lite=false"
if [ "${TEST}" = "webscarab_lite" ]; then
OPTIONS=""
fi
cd %%PATH%%
exec %%JAVA_CMD%% ${OPTIONS} -jar -Xmx256m %%WEBSCARAB%% "$@"

View File

@ -0,0 +1,8 @@
WebScarab is a framework for analysing applications that communicate
using the HTTP and HTTPS protocols. In its most common usage,
WebScarab operates as an intercepting proxy, allowing the user to
review and modify requests created by the browser before they are
sent to the server, and to review and modify responses returned
from the server before they are received by the browser.
WWW: http://www.owasp.org/index.php/Category:OWASP_WebScarab_Project

View File

@ -0,0 +1,20 @@
bin/webscarab
bin/webscarab_lite
%%DATADIR%%/lib/tagsoup-1.0rc2.jar
%%DATADIR%%/lib/bsh-2.0b1.jar
%%DATADIR%%/lib/chardet.jar
%%DATADIR%%/lib/commons-logging-1.0.4.jar
%%DATADIR%%/lib/concurrent.jar
%%DATADIR%%/lib/flex-messaging-common.jar
%%DATADIR%%/lib/flex-messaging-core.jar
%%DATADIR%%/lib/flex-messaging-remoting.jar
%%DATADIR%%/lib/help.jnlp
%%DATADIR%%/lib/htmlparser.jar
%%DATADIR%%/lib/jcommon-0.8.7.jar
%%DATADIR%%/lib/jfreechart-0.9.12.jar
%%DATADIR%%/lib/jhall-2.0_02.jar
%%DATADIR%%/lib/openamf.jar
%%DATADIR%%/lib/bsf-2.3.0.jar
%%DATADIR%%/webscarab.jar
@dirrm %%DATADIR%%/lib
@dirrm %%DATADIR%%/