Visit our newest sister site!
Hundreds of free aircraft flight manuals
Civilian • Historical • Military • Declassified • FREE!

TUCoPS :: Unix :: General :: putsys~1.txt

Allows users to hide files within syslog by uuencoding the file and logging it.

[ ]

From Wed Jul  8 10:18:27 1998
Date: Wed, 8 Jul 1998 19:08:41 +0200
From: Paul Boehm <>
Subject: putsyslog


users can write messages to syslog and thus hide files in there and
bypass quotas.. later they can extract it if they have read access
to the logfile. i already wrote a perl script that puts an uuencoded 
file in syslog... but now im too lazy to write a script/program to 
extract it.. anyway, here's putsyslog:

#Putsyslog - puts a file in syslog using logger and uuencode
#  maybe i'll write a getsyslog someday.. but rather not

$file = shift || "file";
$loglevel = shift || ""; # something that goes
                                    # to a pub readable
                                    # logfile
open(UU,"uuencode $file $file |");

while (<UU>) {
  system("logger -p $loglevel \"[PUTFILE] $file $_\"\n");


print "done logging $file to $loglevel\n";

  Name: Paul S. Boehm               ||  Freelance Security Consultant.
    Email:  ||  PGPkey available at:
       Url:  ||
There is is no reason for any individual to have a computer in their home.
              --Ken Olsen (Digital Corp CEO) 1977.

TUCoPS is optimized to look best in Firefox® on a widescreen monitor (1440x900 or better).
Site design & layout copyright © 1986-2015 AOH