fork download
  1. #!/bin/sh
  2. mkdir cave
  3. cd cave
  4. for i in 0 1 2 3 4 5 6 7 8 9
  5. do
  6. mkdir $i
  7. cd $i
  8. for j in 0 1 2 3 4 5 6 7 8 9
  9. do
  10. mkdir $j
  11. cd $j
  12. for k in 0 1 2 3 4 5 6 7 8 9
  13. do
  14. mkdir $k
  15. done
  16. cd ..
  17. done
  18. cd ..
  19. done
  20. echo "the cave is created."
  21.  
  22. echo "generating hint #1"
  23. >hint1
  24. perl -e 'print "hint: Today is Feburary 6."' > hint1
  25.  
  26. echo "generating a fake answer"
  27. cd 2/6/
  28. >answer
  29. perl -e 'print "its a fake. hahahahahaha"' > answer
  30.  
  31. cd ../../2/0/6
  32.  
  33. echo "generating key"
  34. >key
  35. perl -e 'print "efghijklmnopqrstuvwxyzabcd\nabcdefghijklmnopqrstuvwxyz"' > key
  36.  
  37. echo "generating the answer"
  38. >answer
  39. perl -e 'print "the answer without a key: oymgw_xli_kviex"' > answer
  40.  
  41. echo "process completed"
  42.  
Not running #stdin #stdout 0s 0KB
stdin
Standard input is empty
stdout
Standard output is empty