INSTALL 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. * The installation process has changed starting at version 1.0.11.
  2. * The build currently requires a static TCL 8.0 or newer library. (TCL will be stripped soon)
  3. 1. TCL
  4. 2. Pack settings
  5. 3. Compiling
  6. 4. Making bots
  7. Step 1: TCL
  8. If you have already made a static TCL build proceed to Step 2. If you are unsure then keep reading...
  9. The download website is at:
  10. http://www.tcl.tk/software/tcltk/download84.html
  11. A nice direct link for the tarball is:
  12. http://aleron.dl.sourceforge.net/sourceforge/tcl/tcl8.4.4-src.tar.gz
  13. Once you have it, untar -zxf tcl8.4.4-src.tar.gz
  14. Then, cd tcl8.4.4/unix
  15. ./configure --disable-shared --prefix=/path/to/your/home --exec-prefix=/path/to/your/home
  16. Then: make; make install
  17. Step 2: Pack settings
  18. The files listed here are all located in pack/, and will need to be saved for future compiles.
  19. If you have settings.c, conf.h, or salt.h, place them in pack/
  20. NOTE: conf.h (pack.conf) from verions previous to 1.0.11 are NOT compatable with 1.0.11 and higher.
  21. conf.h:
  22. If you have an older pack.conf, print it out and edit the template pack/conf.h and change accordingly.
  23. salt.h:
  24. This file is generated automatically, if you do not already have one, during compilation
  25. settings.c:
  26. Edit the template pack/settings.c if you don't already have one.
  27. Step 3: Compiling
  28. For leaf build: ./build leaf
  29. For hub build: ./build hub
  30. To build both: ./build all
  31. To compile a debug version of the pack, add -d in as a option before the type.
  32. ie, ./build -d leaf
  33. During the compile process many warnings may appear on screen, ignore them. Only report ERRORS please.
  34. After the compile process is finished, the binaries will be placed in wraith.OS.version.tgz.
  35. The OS and version are dynamic depending on the pack build, type 'ls' to find exact name.
  36. Step 4: Making bots
  37. NOTE: conf files from versions older than 1.0.11 still work, but improvements have been made.
  38. read over doc/conf.example.
  39. This file can be made by the bot binary with ./binary -g filename
  40. Edit the conf (conf.example or the generated one, doesnt matter)
  41. For leaf bots, encrypt the conf as '.known_hosts'
  42. For hub bots, encrypt the conf as 'conf'
  43. Thie is done by: ./binary -e infile outfile
  44. tar -czvf somebot.tgz .known_hosts binary
  45. (or for hub): tar -czvf somehub.tgz conf binary
  46. then upload somebot.tgz to whatever shell..
  47. LEAF:
  48. untar, mkdir ~/.ssh;mv .known_hosts ~/.ssh/.known_hosts
  49. then just run the leaf binary, it will move itself to: ~/.sshrc
  50. HUB:
  51. untar, ./binary
  52. This is assuming the conf is already encrypted as 'conf', if not, move it to 'conf'.
  53. The binary can be named ANYTHING, just as long as the encrypted conf is known as 'conf' in the same dir