home *** CD-ROM | disk | FTP | other *** search
/ The Elite Hackers Toolkit / TheEliteHackersToolkitVolume1_1998.rar / HACKERS.BIN / hackers / ttyplogging.txt < prev    next >
Text File  |  1998-09-09  |  1KB  |  28 lines

  1. Logging TTYPs on people that are Dumb enough to allow r on their TTYP. 
  2. Script and Text By The Darkling 
  3. Darkling69@mintprimary.com
  4. www.FTH.org 
  5.  
  6.         A while ago I wrote a txt about terminal flooding and the ablity to write to some ones ttyp (or terminal) and do 
  7. potentional damage. No skill involved.  So here i was sitting at my computer wishing for a way to see what other people 
  8. on the system were doing.  I notcied that one of the ttyps have a r on it for other. wow. It struck  me that if you could write to it, 
  9. why couldn't you read it? I tried just open it up in a text editor, absolutly nothing. I guesse becuase the commands arn't logged on your 
  10. Terminal, they just pass right threw it. 
  11. So I tried this  
  12.  
  13. cat /dev/ttyp0 & 
  14.  
  15. Wow now whenever he typed a command it was echoed to my screen. Kewlies I thought, I can now read his terminal.  
  16. But haveing it output to my screen was inconvientent, so I wrote this little script that if you can't write yourself you should not 
  17. even be reading this. 
  18.  
  19. #!/bin/bash 
  20. cat /dev/ttyp$1 > logfile$1 & 
  21. echo logging commands to logfile$1 
  22.  
  23. nice little compct script. 
  24.  
  25. Anyways, thers something else.  I wonder since some people have rwx on their ttyp's what could you do with the X? 
  26. I already know how to read it and write to it. but how and to what effect could we run it ? 
  27.  
  28. The Darkling