Add missing keys

This commit is contained in:
Neale Pickett 2010-10-22 11:04:04 -06:00
parent 5a2caae951
commit 0444d8c541
6 changed files with 10 additions and 2 deletions

View File

@ -12,6 +12,7 @@ start () {
iptables -P OUTPUT ACCEPT iptables -P OUTPUT ACCEPT
iptables -P FORWARD ACCEPT iptables -P FORWARD ACCEPT
iptables -A INPUT -p udp --dport 53 -j ACCEPT
iptables -A INPUT -p udp --dport 67 -j ACCEPT iptables -A INPUT -p udp --dport 67 -j ACCEPT
iptables -A INPUT -p icmp --icmp-type echo-request -j ACCEPT iptables -A INPUT -p icmp --icmp-type echo-request -j ACCEPT
iptables -A INPUT -s 10.0.0.0/16 -j ACCEPT iptables -A INPUT -s 10.0.0.0/16 -j ACCEPT

View File

@ -1,5 +1,7 @@
#! /bin/sh -e #! /bin/sh -e
set -e
indir=$1; shift indir=$1; shift
outdir=$1; shift outdir=$1; shift
@ -69,7 +71,7 @@ for dn in $indir/[0-9]*; do
if [ -f $dn/Makefile ]; then if [ -f $dn/Makefile ]; then
# If there's a makefile, run make # If there's a makefile, run make
make -C $dn DESTDIR=$(pwd)/$tgt make -C $dn DESTDIR=$(pwd)/$tgt || exit 1
files=$(cd $tgt; echo *) files=$(cd $tgt; echo *)
else else
# Otherwise, look for special files and copy the rest # Otherwise, look for special files and copy the rest
@ -94,7 +96,11 @@ for dn in $indir/[0-9]*; do
done done
fi fi
# Append keys # Append keys
if ! [ -f $dn/key ]; then
echo "$dn/key: No such file or directory" 1>&2
exit 1
fi
while read answer; do while read answer; do
echo $points $answer echo $points $answer
done < $dn/key >> $uanswers done < $dn/key >> $uanswers

1
packages/crypto/190/key Normal file
View File

@ -0,0 +1 @@
statistical information

0
packages/hackme/100/key Normal file
View File

0
packages/hackme/274/key Normal file
View File

0
packages/hackme/300/key Normal file
View File