header.sh 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #!/bin/bash
  2. # fakemurk.sh v1
  3. # by coolelectronics with help from r58
  4. # sets up all required scripts for spoofing os verification in devmode
  5. # this script bundles crossystem.sh and vpd.sh
  6. # crossystem.sh v3.0.0
  7. # made by r58Playz and stackoverflow
  8. # emulates crossystem but with static values to trick chromeos and google
  9. # version history:
  10. # v3.0.0 - implemented mutable crossystem values
  11. # v2.0.0 - implemented all functionality
  12. # v1.1.1 - hotfix for stupid crossystem
  13. # v1.1.0 - implemented <var>?<value> functionality (searches for value in var)
  14. # v1.0.0 - basic functionality implemented
  15. ascii_info() {
  16. cat <<-EOF
  17. ________ ________ ___ __ _______ _____ ______ ___ ___ ________ ___ __
  18. |\\ _____\\\\ __ \\|\\ \\|\\ \\ |\\ ___ \\ |\\ _ \\ _ \\|\\ \\|\\ \\|\\ __ \\|\\ \\|\\ \\
  19. \\ \\ \\__/\\ \\ \\|\\ \\ \\ \\/ /|\\ \\ __/|\\ \\ \\\\\\__\\ \\ \\ \\ \\\\\\ \\ \\ \\|\\ \\ \\ \\/ /|_
  20. \\ \\ __\\\\ \\ __ \\ \\ ___ \\ \\ \\_|/_\\ \\ \\\\|__| \\ \\ \\ \\\\\\ \\ \\ _ _\\ \\ ___ \\
  21. \\ \\ \\_| \\ \\ \\ \\ \\ \\ \\\\ \\ \\ \\ \\_|\\ \\ \\ \\ \\ \\ \\ \\ \\\\\\ \\ \\ \\\\ \\\\ \\ \\\\ \\ \\
  22. \\ \\__\\ \\ \\__\\ \\__\\ \\__\\\\ \\__\\ \\_______\\ \\__\\ \\ \\__\\ \\_______\\ \\__\\\\ _\\\\ \\__\\\\ \\__\\
  23. \\|__| \\|__|\\|__|\\|__| \\|__|\\|_______|\\|__| \\|__|\\|_______|\\|__|\\|__|\\|__| \\|__|
  24. THIS IS FREE SOFTWARE! if you paid for this, you have been scammed and should demand your money back
  25. fakemurk - a tool made by Mercury Workshop to spoof verified boot while enrolled
  26. you can find this script, its explanation, and documentation here: https://github.com/MercuryWorkshop/fakemurk
  27. EOF
  28. # spaces get mangled by makefile, so this must be separate
  29. }
  30. nullify_bin() {
  31. cat <<-EOF >$1
  32. #!/bin/bash
  33. exit
  34. EOF
  35. chmod 777 $1
  36. # shebangs crash makefile
  37. }