Advertisement
Guest User

Untitled

a guest
Apr 8th, 2012
27
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. spacebug@server:/usr/lib/cgi-bin$ cat ct
  2. #!/bin/bash
  3.  
  4.  
  5. DATE=$(echo $QUERY_STRING | cut -f2 -d '=');
  6.  
  7. printf "Content-type: text/html\n\n"
  8. printf "<html><head><link href=\"/sb.css\" rel=\"stylesheet\" type=\"text/css\"></head><body>"
  9. /usr/lib/cgi-bin/cleantime w $DATE
  10. printf "</body></html>"
  11.  
  12.  
  13.  
  14. spacebug@server:/usr/lib/cgi-bin$ file cleantime
  15. cleantime: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, not stripped
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement