This directory contains file related to an lpr bufferoverflow exploit
It contains

lpr - the vulnerable lpr program.  (Current lpr program does not have this
                                    vulnerabilty)
      the vulnerable program is obtained by changing the lpr.c in the source.
      In particular, changing a line in the 
      static void card(c, p2)   function

      from           while ((c = *p2++) != '\0' && len < sizeof(buf)) {
      to             while ((c = *p2++) != '\0') {


lpr_exploit.c - exploitation program source
lpr_exploit - exploitation program

To test, modify the execl statement to execute the vulnerable lpr program.
Compile and run the program.
The vulnerable lpr should be setuid root.
