pastebin - collaborative debugging tool
kpaste.kpaste.net RSS


Untitled
Posted by Anonymous on Tue 13th Aug 2019 09:59
raw | new post

  1. echo "kernel.randomize_va_space = 0" > /etc/sysctl.d/01-disable-aslr.conf
  2.  
  3. l1tf=off mds=off mitigations=off no_stf_barrier noexec=off noibpb noibrs nopti nospec_store_bypass_disable nospectre_v1 nospectre_v2
  4.  
  5. GRUB_HIDDEN_TIMEOUT=0
  6. GRUB_HIDDEN_TIMEOUT_QUIET=true
  7.  
  8. dd bs=512 count=4 if=/dev/urandom of=/crypto_keyfile.bin
  9. cryptsetup luksAddKey /dev/sda1 /crypto_keyfile.bin
  10. chmod 000 /crypto_keyfile.bin
  11.  
  12. Modify /etc/crypttab by changing
  13.  
  14. sda1_crypt UUID=xxxx.......... none luks,discard
  15.  
  16. to
  17.  
  18. sda1_crypt UUID=xxxx......... /crypto_keyfile.bin luks,discard,keyscript=/bin/cat
  19.  
  20. Create crypto_keyfile and place in /etc/initramfs-tools/hooks with
  21.  
  22. #!/bin/sh
  23. cp /crypto_keyfile.bin "${DESTDIR}"
  24.  
  25. Make the file executable and regenerate the ramdisk
  26.  
  27. chmod 755 /etc/initramfs-tools/hooks/crypto_keyfile
  28. update-initramfs -u -k all
  29.  
  30. Confirm that the keyfile has been inserted in the ramdisk
  31.  
  32. lsinitramfs $(ls /boot/initrd.img-*) | grep keyfile
  33.  
  34. /usr/bin/compton --backend glx --paint-on-overlay --vsync opengl-swc
  35.  
  36. /usr/share/lightdm/lightdm.conf.d/01_debian.conf
  37. [SeatDefaults]
  38. autologin-user=root
  39.  
  40. /etc/pam.d/lightdm-autologin
  41. #auth      required pam_succeed_if.so user != root quiet_success
  42.  
  43. /sbin/rmmod pcspkr
  44.  
  45. xinput --set-prop 9 'libinput Accel Profile Enabled' 0, 1
  46. xinput --set-prop 9 'libinput Accel Speed' 0.7
  47.  
  48. browser.bookmarks.max_backups
  49. browser.safebrowsing.blockedURIs.enabled
  50. browser.tabs.showAudioPlayingIcon
  51. datareporting.policy.dataSubmissionEnabled
  52. extensions.blocklist.enabled
  53. extensions.getAddons.cache.enabled
  54. extensions.update.enabled
  55. mousewheel.default.delta_multiplier_x
  56. mousewheel.default.delta_multiplier_y
  57. mousewheel.default.delta_multiplier_z
  58. network.captive-portal-service.enabled
  59. network.dns.disablePrefetch
  60. network.prefetch-next
  61. permissions.memory_only
  62. reader.parse-on-load.enabled
  63. security.nocertdb
  64. toolkit.cosmeticAnimations.enabled
  65. toolkit.telemetry.unified
  66.  
  67. wget -O firefox.tar.bz2 --no-check-certificate "https://download.mozilla.org/?product=firefox-latest-ssl&os=linux&lang=en-GB"
  68.  
  69. sed -i 's/geteuid/getppid/' /usr/bin/vlc
  70.  
  71. openshot
  72.  
  73. wget -O tor.tar.xz --no-check-certificate "https://www.torproject.org/dist/torbrowser/8.5.4/tor-browser-linux32-8.5.4_en-US.tar.xz"
  74. 41fbe8949332d203c98a293ee1e966e72fc8ad7dd3174a32f0777338e8d464ac

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}





All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at