Przeglądaj źródła

Initial revision of Scripts directory.


git-svn-id: https://svn.microneil.com/svn/PKG-SNF4CGP-NIX/trunk@13 7ef522f6-be79-40a8-b7df-0a85b3383509
master
adeniz 15 lat temu
rodzic
commit
77ac801d40

+ 32
- 0
SNF4CGP_Developer_Package/Scripts/Makefile.am Wyświetl plik

@@ -0,0 +1,32 @@
## Process this file with automake to produce Makefile.in
##
## $Id: Makefile.am,v 1.30 2007/10/26 17:50:49 adeniz Exp $
##
## automake input for the ARM Research CGPSNF scripts.
##
## Author: Alban Deniz
##
## Copyright (C) 2009 ARM Research Labs, LLC.
## See www.armresearch.com for the copyright terms.
##

sbin_SCRIPTS = \
getRulebase.sample

getRulebase.sample: getRulebase.in Makefile
cp getRulebase.in getRulebase.sample
chmod +x $@

pkgdata_DATA = \
junkmsg.txt \
cleanmsg.txt

EXTRA_DIST = \
getRulebase.in \
$(pkgdata_DATA)

CLEANFILES = \
$(sbin_SCRIPTS)

clean-local:
rm -f *.gcno *.gcov *.gcda *~

+ 8
- 0
SNF4CGP_Developer_Package/Scripts/cleanmsg.txt Wyświetl plik

@@ -0,0 +1,8 @@
From: test@domain.com
To: test@domain.com
Subject: This is a test message


This is a plain message for testing the
content_filter.

+ 51
- 0
SNF4CGP_Developer_Package/Scripts/getRulebase.in Wyświetl plik

@@ -0,0 +1,51 @@
#!/bin/sh
#
# Script to download a rulebase for CGPSNF.
#
# Copyright (C) 2008 by MicroNeil Corporation. All rights reserved.
## See www.armresearch.com for the copyright terms.
#

#
# Replace authenticationxx and licensid with your license info.
#

SNIFFER_PATH=/var/CommuniGate/CGPSNF
SNF2CHECK=$SNIFFER_PATH/SNF2Check
AUTHENTICATION=authenticationxx
LICENSE_ID=licenseid

#
# Do not modify anything below this line.
#

cd $SNIFFER_PATH

if [ -e UpdateReady.txt ] && [ ! -e UpdateReady.lck ]; then

# Uncomment the following line if more than one process might
# launch this script. Leave it commented out if this script will
# normally be run by the <update-script/> mechanism in CGPSNF
# touch UpdateReady.lck

curl http://www.sortmonster.net/Sniffer/Updates/$LICENSE_ID.snf --output $LICENSE_ID.new --compressed --user sniffer:ki11sp8m --remote-time --fail

$SNF2CHECK $LICENSE_ID.new $AUTHENTICATION
RETVAL=$?
if [ $RETVAL -eq 0 ]; then

if [ -e $LICENSE_ID.old ]; then rm -f $LICENSE_ID.old; fi
if [ -e $LICENSE_ID.snf ]; then mv $LICENSE_ID.snf $LICENSE_ID.old; fi
mv $LICENSE_ID.new $LICENSE_ID.snf

if [ -e UpdateReady.txt ]; then rm -f UpdateReady.txt; fi
if [ -e UpdateReady.lck ]; then rm -f UpdateReady.lck; fi

else

if [ -e $LICENSE_ID.new ]; then rm -f $LICENSE_ID.new; fi
if [ -e UpdateReady.lck ]; then rm -f UpdateReady.lck; fi

fi
fi


+ 51
- 0
SNF4CGP_Developer_Package/Scripts/junkmsg.txt Wyświetl plik

@@ -0,0 +1,51 @@
Received: from c-69-251-204-89.hsd1.md.comcast.net [69.251.204.89] (HELO c-69-251-204-89.hsd1.md.comcast.net)
by inbound.appriver.com (CommuniGate Pro SMTP 5.1.5)
with ESMTP id 488834279 for timarsh1@example.com; Mon, 17 Mar 2008 19:46:13 -0400
Message-ID: <000601c88888$04d58eff$9bb664a3@xytlg>
From: =?koi8-r?B?8MnXztHL?= <jsanghvi@peoplepc.com>
To: <timarsh1@example.com>
Subject: =?koi8-r?B?Rnc6INzUzyDNz9bF1CDQ0snHz8TJ1NjT0Q==?Date: Mon, 17 Mar 2008 21:56:52 +0000
MIME-Version: 1.0
Content-Type: text/plain;
charset="koi8-r"
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
X-RCPT-TO: <timarsh1@example.com>
Status: U
X-UIDL: 493986027

<HTML>
<HEAD>
<TITLE>Bondage Bulletin</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
</HEAD>
<BODY BGCOLOR=#000000 LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>
<center>
<TABLE WIDTH=500 BORDER=0 CELLPADDING=0 CELLSPACING=0>
<TR>
<TD COLSPAN=3><A HREF="http://pillagemypussy.com/"><IMG SRC="http://sex-mails.com/bb/im/bb_logo.gif" WIDTH=500 HEIGHT=35 BORDER=0></A></TD>
</TR>
<TR>
<TD COLSPAN=2><A HREF="http://pillagemypussy.com/"><IMG SRC="http://sex-mails.com/bb/im/bb_2.jpg" WIDTH=369 HEIGHT=194 BORDER=0></A></TD>
<TD ROWSPAN=2><A HREF="http://pillagemypussy.com/"><IMG SRC="http://sex-mails.com/bb/im/bb_3.jpg" WIDTH=131 HEIGHT=343 BORDER=0></A></TD>
</TR>
<TR>
<TD><A HREF="http://pillagemypussy.com/"><IMG SRC="http://sex-mails.com/bb/im/bb_4.jpg" WIDTH=122 HEIGHT=149 BORDER=0></A></TD>
<TD><A HREF="http://pillagemypussy.com/"><IMG SRC="http://sex-mails.com/bb/im/bb_5.gif" WIDTH=247 HEIGHT=149 BORDER=0></A></TD>
</TR>
<TR>
<TD COLSPAN=3><IMG SRC="http://sex-mails.com/bb/im/bb_6.gif" WIDTH=500 HEIGHT=74 BORDER=0 USEMAP="#bb_6_Map"></TD>
</TR>
</TABLE>
<MAP NAME="bb_6_Map">
<AREA SHAPE="rect" COORDS="303,54,484,73" HREF="http://shavekitty.com/">
<AREA SHAPE="rect" COORDS="149,56,288,73" HREF="http://mygyno.com/">
<AREA SHAPE="rect" COORDS="13,55,143,73" HREF="http://scatattack.com/">
<AREA SHAPE="rect" COORDS="315,31,487,51" HREF="http://peepersxxx.com/">
<AREA SHAPE="rect" COORDS="169,31,308,52" HREF="http://fuckmyfist.com/">
<AREA SHAPE="rect" COORDS="22,33,162,51" HREF="http://weeonme.com/">
</MAP>
</center>

Ładowanie…
Anuluj
Zapisz