f5a4191b5c
are hosting browser exploits that can infect visiting users with malware. It functions as an HTTP proxy server and intercepts all browser requests. SpyBye uses a few simple rules to determine if embedded links on your web page are harmlesss, unknown or maybe even dangerous. SpyBye analyzes all downloads in the background and provides you with a warning notification whenever it encounters content that is potentially malicious. At that point, you can click on the link in the notification and receive a more detailed analysis of the web page. WWW: http://www.spybye.org/ PR: ports/123945 Submitted by: Paul Schmel <pauls utdallas.edu> Approved by: tabthorpe (mentor)
37 lines
1.1 KiB
Bash
37 lines
1.1 KiB
Bash
#!/bin/sh
|
|
#
|
|
|
|
# PROVIDE: spybye
|
|
# REQUIRE: DAEMON
|
|
# BEFORE: LOGIN
|
|
# KEYWORD: shutdown
|
|
|
|
# Add the following lines to /etc/rc.conf to enable spybye:
|
|
# spybye_enable (bool): Set to YES to enable spybye
|
|
# Default: NO
|
|
# spybye_flags (str): Extra flags passed to spybye
|
|
# Default: -x -p 8080 -l /var/log/spybye.log
|
|
#
|
|
# spybye command arguments
|
|
# spybye: [-P] [-p port] [-g good] [-b bad] [-l logfile] [-S shareurl] [-x]
|
|
# -P disable private IP check; allows the proxy to fetch 127/8
|
|
# -p port port number to create proxy server on
|
|
# -g good_patterns a file or url containing the good patterns
|
|
# -b bad_patterns a file or url containing the danger patterns
|
|
# -l logfile a file to log dangerous site interactions to
|
|
# -S shareurl host to log dangerous site interactions to
|
|
# -x enable proxy mode
|
|
|
|
. %%RC_SUBR%%
|
|
|
|
name="spybye"
|
|
load_rc_config ${name}
|
|
rcvar=`set_rcvar`
|
|
# set the defaults
|
|
: ${spybye_enable="NO"}
|
|
: ${spybye_flags="-x -p 8080 -l /var/log/spybye.log"}
|
|
|
|
command=%%PREFIX%%/bin/${name}
|
|
command_args="${spybye_flags} &"
|
|
|
|
run_rc_command "$1"
|