stefan@AragornOfArathorn {56} ls test/ dmes dmm.1.txt l ll uname upt stefan@AragornOfArathorn {57} ./dir-enc.sh e test/ passwd files encrypted and originals removed stefan@AragornOfArathorn {58} ls test/ dmes.enc dmm.1.txt.enc l.enc ll.enc uname.enc upt.enc stefan@AragornOfArathorn {59} ./dir-enc.sh d test/ passwd files decrypted stefan@AragornOfArathorn {60} ls test/ dmes dmm.1.txt l ll uname upt stefan@AragornOfArathorn {61}
stefan@AragornOfArathorn {633} ./lilo.pl -h lilo.pl -v : show version lilo.pl -h : show this lilo.pl foo.bar : reads foo.bar in and prints it linewise out with a standard pause of 1 sec between each line lilo.pl foo.bar 3 : reads foo.bar in and prints it linewise out with a pause of 3 sec
stefan@AragornOfArathorn {222} ./picsig.pl -h picsig.pl -v : show version picsig.pl -h : show this picsig.pl foobar.gif : add foobar.gif to each *.jpg at the lower right corner writing the result to signed-* stefan@AragornOfArathorn {223}
NAME dblrem.pl - remove duplicate files using a MD5 hash SYNOPSIS dblrem.pl DESCRIPTION dblrem.pl creates cryptographic MD5 hashes over filecontents and deletes duplicate filesExample:
stefan@AragornOfArathorn {136} ls -la | wc -l 17315 stefan@AragornOfArathorn {137} time ./dblrem.pl real 2m1.055s user 0m52.437s sys 1m15.175s stefan@AragornOfArathorn {138} ls -la | wc -l 12 stefan@AragornOfArathorn {139}
stefan@AragornOfArathorn {27} ./xferlog.pl anonymous logins 1375 downloaded files 3287 downloaded bytes 7452354548 downloaded Kbytes 7277689.98828125 downloaded Mbytes 7107.11912918091 downloaded Gbytes 6.94054602459073
while true ; do dd if=/dev/urandom bs=1200 count=1 2>/dev/null | sha1 ; done
find daten/www/ -newer index.html -name "*.html" -printx | xargs perl -i -pe 's/new/old/gi'
for i in *.jpg do convert -size 800x600 -resize 800x600 $i $i.2 mv $i.2 `basename $i.2 .2` done
#!/bin/ksh typeset -i cnt=1 while [[ $cnt -le 5 ]] do dd if=/dev/urandom of=temp.wipe bs=1M count=50 2>/dev/null sha1 temp.wipe >> temp.sha1.1 openssl des3 -in temp.wipe -out temp.wipe.enc -e -salt -k passwd rm -Prf temp.wipe openssl des3 -d -in temp.wipe.enc -out temp.wipe -k passwd rm -Prf temp.wipe.nc sha1 temp.wipe >> temp.sha1.2 cnt=cnt+1 done diff temp.sha1.1 temp.sha1.2 [ $? -eq 0 ] && { echo "No Error"; } || echo "Errors found!"; rm temp.wipe.enc rm temp.wipe
Secondary { ip = "dynip"; port = 706; };now my skript pipes silcd.conf.dynip through sed, which substitutes "dynip" to my IP address of ppp0 using the backticks calling ifconfig and using awk to reveal the IP. Maybe you have to tweak it a little bit for other OS.
cat /usr/pkg/etc/silcd/silcd.conf.dynip | sed s/dynip/`ifconfig ppp0 | awk '$0 ~ /inet / {print $2}'`/ > /usr/pkg/etc/silcd/silcd.conf silcd
for i in `awk '{print $5}' *|sed s/'\/steschum\/'// | sort|uniq`; do cat * | grep $i| awk '{summe+=$1;groesse+=$3} END {printf summe" "groesse" "}';echo $i ; done|sort -n
\index.html,v 1.48 2025/06/24 15:09:12 stefan ExpAutor: Stefan Schumacher für net-tex.de/cryptomancer.de, PGP-Key 0xB3FBAE33
index.html,v Revision 1.48 2025/06/24 15:09:12 stefan Korrekturen Revision 1.6 2014/08/21 09:27:29 stefan Umlaute und Makefile clean up