PackConfig_version_28.txt 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. {{{
  2. #!html
  3. <pre>
  4. /* The &lt; && &gt; indicates the area you must change!
  5. * Do not leave the &lt;&gt;
  6. * Credit to Excelsior / CELDROP for this design
  7. */
  8. /* PACKNAME: name of the pack (no spaces) */
  9. PACKNAME &lt;name&gt;
  10. /* HASHES
  11. * This must remain 100% secure/private, this key can retrieve the salts, and
  12. * the entire botnet could be hijacked, a pass 8 chars or more is suggested
  13. * DO NOT FORGET THE CLEARTEXT, SAVE IT IN A SAFE PLACE, IT CANNOT BE RECOVERED.
  14. */
  15. /* SHELLHASH: SHA1 hash
  16. * Use this URL to generate: <a href="http://www.shatow.net/crypt/">http://www.shatow.net/crypt</a>
  17. * example: SHELLHASH 637d1f5c6e6d1be22ed907eb3d223d858ca396d8
  18. */
  19. SHELLHASH &lt;sha1hash&gt;
  20. /* DCCPREFIX: 1 char cmd prefix for dcc. (ie, .cmd or !cmd) */
  21. DCCPREFIX &lt;.&gt;
  22. /* The settings below can each be defined multiple times */
  23. /* OWNER &lt;nick password [host] [host2 ...]&gt;
  24. * Multiple OWNER lines may be defined, each will be added as a +a perm owner.
  25. * nick: nickname what else?
  26. * password: initial password for user. DO NOT MAKE THIS YOUR NORMAL PASSWORD.
  27. * hosts are added for telnet access, but telnet is currently not restricted, so it is optional.
  28. */
  29. OWNER &lt;YourNick FirstTimePass&gt;
  30. /* OWNEREMAIL: email addresses that status/errors will be sent to when needed
  31. * list as many as needed. (This will be removed soon)
  32. */
  33. OWNEREMAIL &lt;some@email.com&gt;
  34. /* HUB &lt;nick host port&gt;
  35. * Hubs are ranked by the order they are listed
  36. * nick: nick of hub
  37. * host: hostname or ip of hub (A 'dynamic' OR 'changeable' HOSTNAME IS RECOMMENDED)
  38. * port: port the hub listens on
  39. *
  40. * Your hub hosts should NOT be vhosts. They need to be changable dns.
  41. * Use a domain you OWN/CONTROL, or a friends.
  42. */
  43. HUB &lt;hub1 hub1.domain.tld 1234&gt;
  44. HUB &lt;hub2 hub2.domain.tld 1235&gt;
  45. SALT1 <span id="salt1">&nbsp;</span>
  46. SALT2 <span id="salt2">&nbsp;</span>
  47. </pre>
  48. /* You will also need to add SALTS to your packconfig. These should only be generated <strong>once per botnet.</strong> */
  49. <script language="javascript" type="text/javascript">
  50. function createSalts() {
  51. var salt1 = randomString(32);
  52. var salt2 = randomString(16);
  53. var s1 = document.getElementById('salt1');
  54. s1.innerText = salt1;
  55. s1.innerHtml = salt1;
  56. s1.textContent = salt1;
  57. var s2 = document.getElementById('salt2');
  58. s2.innerText = salt2;
  59. s2.innerHtml = salt2;
  60. s2.textContent = salt2;
  61. }
  62. function randomString(n) {
  63. var chars = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz";
  64. var string_length = n;
  65. var randomstring = '';
  66. for (var i=0; i<string_length; i++) {
  67. var rnum = Math.floor(Math.random() * chars.length);
  68. randomstring += chars.substring(rnum,rnum+1);
  69. }
  70. return randomstring;
  71. }
  72. </script>
  73. <form name="randform">
  74. <input type="button" value="Click to Generate Salts" onClick="createSalts();">
  75. </form>
  76. }}}