Advertisement
sandervanvugt

linux trouble nov22

Nov 21st, 2022
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. [root@localhost ~]# history
  2. 1 exit
  3. 2 chvt 2
  4. 3 cd /usr/lib64/security/
  5. 4 ls
  6. 5 cd /etc/pam.d
  7. 6 vim login
  8. 7 vim system-auth
  9. 8 cd
  10. 9 dnf install -y git
  11. 10 git clone https://github.com/sandervanvugt/trouble
  12. 11 cd trouble/
  13. 12 ls
  14. 13 cd ..
  15. 14 git clone https://github.com/sandervanvugt/luth
  16. 15 cd luth/
  17. 16 ./countdown 12
  18. 17 cd
  19. 18 #dd if=/dev/zero of=/dev/sda bs=512 count=1
  20. 19 lsblk
  21. 20 xxd -l 512 /dev/sda
  22. 21 dd if=/dev/zero of=/dev/sda bs=512 count=1
  23. 22 xxd -l 512 /dev/sda
  24. 23 reboot
  25. 24 cd /home/linda
  26. 25 useradd linda
  27. 26 passwd linda
  28. 27 cd /home/linda
  29. 28 touch deleteme
  30. 29 chattr +i deleteme
  31. 30 exit
  32. 31 reboot
  33. 32 cd /home/linda
  34. 33 touch wortel
  35. 34 lsattr
  36. 35 man 7 capabilities
  37. 36 man chattr
  38. 37 chattr -i deleteme
  39. 38 ls -Z /etc/shadow
  40. 39 touch /.autorelabel
  41. 40 reboot
  42. 41 history
  43.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement