
#!/bin/sh
#SiMPLE SCRiPT for Aces high Scan
#If you have interrupted scan you can use this script to create a new input
#list ... Take last ip from aces.log and use it in this script
#Example -> ./create www.nobody.nb oldlist newlist
#BAU pIGpEN ;)


if [ $3x = x ]; then
clear
echo "LiSt G3N3RAT0R -- pIGpEN/S0FtPj'99" 
echo
echo "SiMPLE SCRiPT for Aces high Scan"
echo "If you have interrupted scan you can use this script to create a new list"
echo "Take last ip from aces.log and use it in this script"
echo "Example -> ./create www.nobody.nb oldlist newlist"
echo "BAU pIGpEN ;)"
echo
echo
echo "Usage: $0 <lastip> <oldlist> <newlist>"
echo
exit 1
fi

wc --lines $2 >1.tmp
HIHI=`cut -d " " -f 4 1.tmp`
grep -A $HIHI $1 $2 >$3
rm -rf 1.tmp
