openbsd-ports/www/ratproxy/patches/patch-ratproxy-report_sh
jasper 8b38b19ffc import ratproxy 1.51
(buzz word alert!)
Semi-automated, largely passive web application security audit tool,
optimized for an accurate and sensitive detection, and automatic
annotation, of potential problems and security-relevant design patterns
based on the observation of existing, user-initiated traffic in complex
web 2.0 environments.
Detects and prioritizes broad classes of security problems, such as
dynamic cross-site trust model considerations, script inclusion issues,
content serving problems, insufficient XSRF and XSS defenses, and much
more.

testing and ok kili@
2008-09-23 20:59:40 +00:00

28 lines
987 B
Plaintext

$OpenBSD: patch-ratproxy-report_sh,v 1.1.1.1 2008/09/23 20:59:40 jasper Exp $
--- ratproxy-report.sh.orig Tue Sep 23 20:57:14 2008
+++ ratproxy-report.sh Tue Sep 23 20:58:55 2008
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!${LOCALBASE}/bin/bash
#
# ratproxy - report generator
# ---------------------------
@@ -50,7 +50,7 @@ cat <<_EOF_
<style>
a:link, a:visited { text-decoration: none; color: green }
a:hover { text-decoration: underline; color: red }
-body { background-color: white; background-image: url('ratproxy-back.png'); background-repeat: no-repeat; }
+body { background-color: white; background-image: url('${PREFIX}/share/ratproxy/ratproxy-back.png'); background-repeat: no-repeat; }
</style>
</head>
@@ -214,7 +214,7 @@ SCNT=0
fi
echo "<font color=darkslateblue>"
- grep -F "~$desc~" messages.list | cut -d'~' -f3
+ grep -F "~$desc~" ${PREFIX}/share/ratproxy/messages.list | cut -d'~' -f3
echo "</font></font><p>"
PREVDESC="$desc"