This directory contains 

   1. lprm2.html - the exploitation file got from rootshell
   2. lprm_ex.c  - the c program that contain the exploitation
   3. shellcode.S - the assemble program
  *4. lprm_ex     - the binary       

The exploit works for the lprm program on FreeBSD 2.2.2

To compile, do

gcc lprm_ex.c shellcode.S -o lprm_ex

To exploiation, you need to have a remote printer set up in /etc/printcap.
also the length your username + the remote printer name >= 8
 
 
To do the exploitation for FreeBSD

lprm_ex PRINTERNAME 0xefbfd4b8

e.g.,  lprm_ex lp 0xefbfd4b8  for litmus which has a remote printer lp setup


