Kaynağa Gözat

Merge pull request #126 from silv3rr/pr-ghpages

wraith wiki
Bryan Drewery 6 yıl önce
ebeveyn
işleme
9990e64513

+ 6 - 0
docs/README.md

@@ -0,0 +1,6 @@
+## Mirrors
+
+* [wraith.botpack.net/wiki/**PackConfig**](wraith.botpack.net/wiki/PackConfig.html)
+* [wraith.botpack.net/wiki/**PackConfig?version=28**](wraith.botpack.net/wiki/PackConfig_version_28.html)
+* [mirror.shatow.net/wraith/**auth.html**](mirror.shatow.net/wraith/auth.html)
+

+ 49 - 0
docs/_includes/PackConfig.conf

@@ -0,0 +1,49 @@
+/* The < && > indicates the area you must change!
+ * Do not leave the <>
+ * Credit to Excelsior / CELDROP for this design
+ */
+
+/* PACKNAME: name of the pack (no spaces) */
+PACKNAME <name>
+
+/* HASHES
+ * This must remain 100% secure/private, this key can retrieve the salts, and
+ * the entire botnet could be hijacked, a pass 8 chars or more is suggested
+ * DO NOT FORGET THE CLEARTEXT, SAVE IT IN A SAFE PLACE, IT CANNOT BE RECOVERED.
+ */
+
+/* BINARYPASS: salted-SHA1
+ *   BINARYPASS should be a salted-sha1. (Use the form at the top of this page)
+ */
+BINARYPASS <salted-SHA1>
+
+/* DCCPREFIX: 1 char cmd prefix for dcc. (ie, .cmd or !cmd) */
+DCCPREFIX <.>
+
+/* The settings below can each be defined multiple times */
+
+/* OWNER <nick password>
+ * Multiple OWNER lines may be defined, each will be added as a +a perm owner.
+ *   All perm owners will have remote shell access to your bots.
+ * nick: nickname what else?
+ * password: initial password for user. DO NOT MAKE THIS YOUR NORMAL PASSWORD.
+ *   Password should be a salted-sha1. (Use the form at the top of this page)
+ */
+OWNER <YourNick salted-SHA1>
+
+/* HUB <nick host port>
+ * Hubs are ranked by the order they are listed.
+ * Hubs DO NOT come on IRC.
+ * nick: nick of hub
+ * host: hostname or ip of hub (A 'dynamic' OR 'changeable' HOSTNAME IS RECOMMENDED)
+ * port: port the hub listens on
+ *
+ * Your hub hosts should NOT be vhosts. They need to be changeable dns,
+ *  so you can easily move the hubs later if needed.
+ * Use a domain you OWN/CONTROL, or a trusted friend's.
+ */
+HUB <hub1 hub1.domain.tld 1234>
+HUB <hub2 hub2.domain.tld 1235>
+
+/* You will also need to add SALTS to your packconfig. These should only be generated <strong>once per botnet.</strong>
+Click the button below to generate SALTS for your botnet. */

+ 54 - 0
docs/_includes/PackConfig_v28.conf

@@ -0,0 +1,54 @@
+/* The &lt; && &gt; indicates the area you must change!
+ * Do not leave the &lt;&gt;
+ * Credit to Excelsior / CELDROP for this design
+ */
+
+/* PACKNAME: name of the pack (no spaces) */
+PACKNAME &lt;name&gt;
+
+/* HASHES
+ * This must remain 100% secure/private, this key can retrieve the salts, and
+ * the entire botnet could be hijacked, a pass 8 chars or more is suggested
+ * DO NOT FORGET THE CLEARTEXT, SAVE IT IN A SAFE PLACE, IT CANNOT BE RECOVERED.
+ */
+
+/* SHELLHASH: SHA1 hash
+ * Use this URL to generate: <a href="http://www.shatow.net/crypt/">http://www.shatow.net/crypt</a>
+ * example: SHELLHASH 637d1f5c6e6d1be22ed907eb3d223d858ca396d8
+ */
+SHELLHASH &lt;sha1hash&gt;
+
+/* DCCPREFIX: 1 char cmd prefix for dcc. (ie, .cmd or !cmd) */
+DCCPREFIX &lt;.&gt;
+
+/* The settings below can each be defined multiple times */
+
+/* OWNER &lt;nick password [host] [host2 ...]&gt;
+ * Multiple OWNER lines may be defined, each will be added as a +a perm owner.
+ * nick: nickname what else?
+ * password: initial password for user. DO NOT MAKE THIS YOUR NORMAL PASSWORD.
+ * hosts are added for telnet access, but telnet is currently not restricted, so it is optional.
+ */
+OWNER &lt;YourNick FirstTimePass&gt;
+
+/* OWNEREMAIL: email addresses that status/errors will be sent to when needed
+ * list as many as needed. (This will be removed soon)
+ */
+OWNEREMAIL &lt;some@email.com&gt;
+
+/* HUB &lt;nick host port&gt;
+ * Hubs are ranked by the order they are listed
+ * nick: nick of hub
+ * host: hostname or ip of hub (A 'dynamic' OR 'changeable' HOSTNAME IS RECOMMENDED)
+ * port: port the hub listens on
+ *
+ * Your hub hosts should NOT be vhosts. They need to be changable dns.
+ * Use a domain you OWN/CONTROL, or a friends.
+ */
+HUB &lt;hub1 hub1.domain.tld 1234&gt;
+HUB &lt;hub2 hub2.domain.tld 1235&gt;
+
+SALT1 <span id="salt1">&nbsp;</span>
+SALT2 <span id="salt2">&nbsp;</span>
+
+/* You will also need to add SALTS to your packconfig. These should only be generated <strong>once per botnet.</strong> */

+ 15 - 0
docs/_includes/footer.html

@@ -0,0 +1,15 @@
+{% if site.github.is_project_page %}
+<div class="footer border-top border-gray-light mt-5 pt-3 text-right text-gray">
+<a href="{{ site.github.repository_url }}" class="button"><small>View repository</small></a>
+</div>
+{% endif %}
+<div id="wiki-footer" class="mt-5 mb-0 wiki-footer gollum-markdown-content">
+  <div class="Box Box--condensed bg-gray box-shadow">
+    <div class="Box-body wiki-writable markdown-body">
+      <p><em>Page was mirrored from trac at <a href="http://wraith.botpack.net" rel="nofollow">http://wraith.botpack.net</a></em></p>
+    </div>
+  </div>
+</div>
+</div>
+</body>
+</html>

+ 18 - 0
docs/_includes/header.html

@@ -0,0 +1,18 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+{% if page.title %}
+<title>
+{{ page.title }} – {{ site.description }}
+</title>
+{% endif %}
+<meta charset="UTF-8">
+<meta http-equiv="X-UA-Compatible" content="IE=edge">
+<meta name="viewport" content="width=device-width, initial-scale=1">
+<link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
+</head>
+<body>
+<div class="container-lg px-3 my-5 markdown-body">
+{% if page.title %}
+<h1>{{ page.title }} – {{ site.description }}</h1>
+{% endif %}

+ 23 - 0
docs/_layouts/default.html

@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html lang="en-US">
+  <head>
+    {% if page.title %}
+    <title>
+      {{ page.title }} – {{ site.description }}
+    </title>
+    {% endif %}
+    <meta charset="UTF-8">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge">
+    <meta name="viewport" content="width=device-width, initial-scale=1">
+    {% seo %}
+    <link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
+  </head>
+  <body>
+    <div class="container-lg px-3 my-5 markdown-body">
+      {% if site.description %}
+      <h1>GitHub Pages: <a href="{{ "/" | absolute_url }}">{{ site.description }}</a></h1>
+      {% endif %}
+
+      {{ content }}
+
+      {% include footer.html %}

+ 75 - 0
docs/_layouts/packconfig.html

@@ -0,0 +1,75 @@
+{% include header.html %}
+<p>
+# <strong>Version 1.2.16.1 (legacy release) requires an older version of this <a class="wiki" href="PackConfig">PackConfig</a>. Please use: <a href="PackConfig_version_28.html">PackConfig?version=28</a></strong>
+</p>
+<p>
+# <strong>Also see a working example at <a class="wiki" href="{{ site.github.repository_url }}/wiki/PackConfigExample">PackConfigExample</a></strong>
+</p>
+<pre>
+/* Salted-SHA1 format:
+ *     rand: 12345 (This should be random)
+ *     pass: password
+ *     format: +12345$SHA1(12345password)
+ *     Result: +12345$c553b125c1f87134911fe18e02f29c7ea7027303
+ */
+</pre>
+
+# <label for="pass">Pass:</label> <input type="text=" size="50" id="pass" />
+<input type="button" value="Generate Salted SHA1" onClick="saltedSHA1();">
+<br />
+# <label for="salted_sha1">salted_sha1:</label> <input type="text" size="50" readonly id="salted_sha1" onclick="javascript:this.focus();this.select();"/>
+
+<script language="JavaScript" src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.1.2/components/core-min.js"></script> 
+<script language="JavaScript" src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.1.2/components/sha1-min.js"></script> 
+<script language="javascript" type="text/javascript">
+function randomString(n) {
+	var chars = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz";
+	var string_length = n;
+	var randomstring = '';
+	for (var i=0; i<string_length; i++) {
+		var rnum = Math.floor(Math.random() * chars.length);
+		randomstring += chars.substring(rnum,rnum+1);
+	}
+        return randomstring;
+}
+
+function saltedSHA1() {
+  
+  var salt = randomString(5);
+  var pass = document.getElementById('pass').value;
+  var salted_sha1 = document.getElementById('salted_sha1');
+  salted_sha1.value = '';
+  if (!pass) return;
+  
+  salted_sha1.value = '+' + salt + '$' + CryptoJS.SHA1(salt + pass);
+}
+</script>
+<form name="randform">
+</form>
+
+<pre>
+{% include PackConfig.conf %}
+SALT1 <span id="salt1">&nbsp;</span>
+SALT2 <span id="salt2">&nbsp;</span>
+</pre>
+
+
+<script language="javascript" type="text/javascript">
+function createSalts() {
+  var salt1 = randomString(32);
+  var salt2 = randomString(16);
+  var s1 = document.getElementById('salt1');
+  s1.innerText = salt1;
+  s1.innerHtml = salt1;
+  s1.textContent = salt1;
+  var s2 = document.getElementById('salt2');
+  s2.innerText = salt2;
+  s2.innerHtml = salt2;
+  s2.textContent = salt2;
+}
+
+</script>
+<form name="randform">
+<input type="button" value="Click to Generate Salts" onClick="createSalts();">
+</form>
+{% include footer.html %}

+ 33 - 0
docs/_layouts/packconfig_v28.html

@@ -0,0 +1,33 @@
+{% include header.html %}
+<pre>
+{% include PackConfig_v28.conf %}
+</pre>
+
+<script language="javascript" type="text/javascript">
+function createSalts() {
+  var salt1 = randomString(32);
+  var salt2 = randomString(16);
+  var s1 = document.getElementById('salt1');
+  s1.innerText = salt1;
+  s1.innerHtml = salt1;
+  s1.textContent = salt1;
+  var s2 = document.getElementById('salt2');
+  s2.innerText = salt2;
+  s2.innerHtml = salt2;
+  s2.textContent = salt2;
+}
+function randomString(n) {
+	var chars = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz";
+	var string_length = n;
+	var randomstring = '';
+	for (var i=0; i<string_length; i++) {
+		var rnum = Math.floor(Math.random() * chars.length);
+		randomstring += chars.substring(rnum,rnum+1);
+	}
+        return randomstring;
+}
+</script>
+<form name="randform">
+<input type="button" value="Click to Generate Salts" onClick="createSalts();">
+</form>
+{% include footer.html %}

+ 107 - 0
docs/mirror.shatow.net/wraith/auth.html

@@ -0,0 +1,107 @@
+<HTML><HEAD>
+<BODY>
+<script language="JavaScript" src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.1.2/rollups/md5.js"></script> 
+<body>
+<form><table class="indented">
+  <tr><th><FONT color=green>randstring</FONT></th><td><input type="text" name="rand" size="50"></td></tr>
+  <tr><th><FONT color=blue>SECPASS</font></th><td><input type="text" name="secpass" size="15"></td></tr>
+  <tr><th><FONT color=red>AUTHKEY</font></th><td><input type="text" name="authkey" size="50"></td></tr>
+  <tr><th>Calculate</th>
+  <td style="text-align:center">
+  <input type="button" onclick="hash.value = '+Auth ' + CryptoJS.MD5(rand.value + secpass.value + authkey.value)" value="MD5">
+  </td></tr>
+  <tr><th>Result</th><td><input type="text" name="hash" size="50"></td></tr>
+</table></form>
+<!--http://pajhome.org.uk/crypt/md5/-->
+
+<BR><BR><BR>This is the concept of the auth 
+system. The hash is always different. <BR>Only chatbots will accept dcc/msg 
+authing/cmds.<BR><BR>Authing for DCC:<BR><BR>[bot] password?<BR>[you] 
+yourpass<BR>[bot] -Auth <FONT 
+color=green>i/P"R2*Go1)Cij8$-1tvT&amp;5-8d36/bA3(E.1tHl+s4#2FqNpxg</FONT> 
+botnick<BR><BR>Now, at this point, you need to know your <FONT color=blue>SECPASS</FONT> from the bot 
+and the <FONT color=green>AUTHKEY</FONT>.<BR>These can be obtained by asking your admin.<BR>Then you 
+would MD5 the three elements together: 
+<OL>
+  <LI><FONT 
+  color=green>i/P"R2*Go1)Cij8$-1tvT&amp;5-8d36/bA3(E.1tHl+s4#2FqNpxg</FONT> 
+  <LI><FONT color=blue>SECPASS</FONT> 
+  <LI><FONT color=red>AUTHKEY</FONT> </LI></OL>
+<p><BR>
+  MD5: <FONT 
+color=green>i/P"R2*Go1)Cij8$-1tvT&amp;5-8d36/bA3(E.1tHl+s4#2FqNpxg</FONT><FONT 
+color=blue>SECPASS</FONT><FONT color=red>AUTHKEY</FONT><BR>
+  The hash comes out to be: <B>8f783879950efd3e71b7de188ebfa1ad</B><BR>
+  You then paste this back to the bot like so:<BR>
+  <BR>
+  [you] +Auth 8f783879950efd3e71b7de188ebfa1ad<BR>
+  <BR>
+  If you used the correct SECPASS and AUTHKEY, then it will grant you access.<BR>
+  <BR>
+  Authing over IRC is much similar:<BR>
+  <BR>
+  /msg bot auth?<BR>
+  [bot] auth. botnick [if the bot responds with &quot;auth<b>!</b>&quot; then 
+  your host is not added, this will be used in the future.]<BR>
+  [you] auth yourpass<BR>
+  [bot] -Auth i/P"R2*Go1)Cij8$-1tvT&amp;5-8d36/bA3(E.1tHl+s4#2FqNpxg botnick<BR>
+  From here, the hash is made as described earlier<BR>
+  [you] +Auth 8f783879950efd3e71b7de188ebfa1ad<BR>
+  [bot] -notice- You are now authorized for cmds, see +help<BR>
+  <BR>
+  You remain authorized for the following commands until you haven't used a cmd 
+  for 60 minutes or when the bot reconnects.<BR>
+  <BR>
+  MSG/CHAN cmds (<B>as of version 1.0.10 </B>9/25/03):<BR>
+  [you] +help<BR>
+  [bot] op invite getkey voice channels test<BR>
+  Usage for cmds:<BR>
+  <BR>
+  <B>+op</B>/<b>+voice</b> can be used in both channels and msgs.</p>
+<p>+voice is same syntax as +op.</p>
+<p>In msg: </p>
+<UL>
+  <LI>+op #chan: Will op you in #chan if you are not already opped. 
+  <LI>+op: Will op you in all chans you are not already opped in. 
+  <LI>+op -f: Will op you in all channels, even if you are already opped. 
+  <LI>+op -f #chan: Will op you in #chan even if you are already opped.</LI>
+</UL>
+<p>In chan:<BR>
+</p>
+<UL>
+  <LI>+op: Will op you in the chan if you are not already opped. 
+  <LI>+op -f: Will op you in the channel even if you are already opped. 
+</LI></UL><BR><B>+invite</B> is msg only.<BR>
+<UL>
+  <LI>+invite: Will invite you to all +i channels you are not already on. 
+  <LI>+invite #chan: Will invite you to #chan if you are not in there and it is 
+  +i. 
+  <LI>+invite -f: Will invite you to all channels. 
+  <LI>+invite -f #chan: Will invite you to #chan even if you are already there. 
+  </LI></UL><BR><B>+getkey</B> is msg only.<BR>
+<UL>
+  <LI>+getkey #chan: Will notice you the key for #chan if there is a key set. 
+  </LI></UL>
+<p><b>+channels</b> works in both msg and channel</p>
+<UL>
+  <LI>+channels: Lists all channels you have op access to.<BR>
+</UL>
+    <BR>
+  Now that you have read all of that you deserve some scripts ;)<BR>
+    <BR>
+    Type /helpauth in these for further instructions.<BR>
+<UL>
+  <li>mIRC <a href="scripts/mIRC.tar.gz">tar.gz</a> <B>5.80 and up</B> 
+  </li>
+  <LI>BitchX/ircii <a href="scripts/BitchX.tgz">tar.gz</a>
+  <LI>irssi/perl <a href="scripts/irssi.tgz">tar.gz</a>
+  <LI>X-chat/perl (I have an unfinished one if you want it, it doesn't work though)
+</UL>
+<p><BR>
+  Any script without a link is in progress, expect it shortly.<BR>
+  Seeing how the script SHOULD operate, maybe you could write one yourself for 
+  your client? ;) [make sure to send it to me so I can post here]<BR>
+</p>
+<p>Until then, use <a href="md5.tgz">this</a> to generate the hashes (Compilable md5 executable for 
+  *nix) </p>
+</BODY></HTML>

BIN
docs/mirror.shatow.net/wraith/md5.tgz


BIN
docs/mirror.shatow.net/wraith/scripts/BitchX.tgz


BIN
docs/mirror.shatow.net/wraith/scripts/irssi.tgz


BIN
docs/mirror.shatow.net/wraith/scripts/mIRC.tar.gz


+ 4 - 0
docs/wraith.botpack.net/wiki/PackConfig.html

@@ -0,0 +1,4 @@
+---
+title: PackConfig
+layout: packconfig
+---

+ 126 - 0
docs/wraith.botpack.net/wiki/PackConfig.txt

@@ -0,0 +1,126 @@
+# '''Version 1.2.16.1 (legacy release) requires an older version of this PackConfig. Please use: http://wraith.botpack.net/wiki/PackConfig?version=28'''
+
+# '''Also see a working example at PackConfigExample'''
+
+{{{
+#!html
+<pre>
+/* Salted-SHA1 format:
+ *     rand: 12345 (This should be random)
+ *     pass: password
+ *     format: +12345$SHA1(12345password)
+ *     Result: +12345$c553b125c1f87134911fe18e02f29c7ea7027303
+ */
+</pre>
+
+# <label for="pass">Pass:</label> <input type="text=" size="50" id="pass" />
+<input type="button" value="Generate Salted SHA1" onClick="saltedSHA1();">
+<br />
+# <label for="salted_sha1">salted_sha1:</label> <input type="text" size="50" readonly id="salted_sha1" onclick="javascript:this.focus();this.select();"/>
+
+<script language="JavaScript" src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.1.2/components/core-min.js"></script> 
+<script language="JavaScript" src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.1.2/components/sha1-min.js"></script> 
+<script language="javascript" type="text/javascript">
+function randomString(n) {
+  var chars = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz";
+  var string_length = n;
+  var randomstring = '';
+  for (var i=0; i<string_length; i++) {
+    var rnum = Math.floor(Math.random() * chars.length);
+    randomstring += chars.substring(rnum,rnum+1);
+  }
+        return randomstring;
+}
+
+function saltedSHA1() {
+  
+  var salt = randomString(5);
+  var pass = document.getElementById('pass').value;
+  var salted_sha1 = document.getElementById('salted_sha1');
+  salted_sha1.value = '';
+  if (!pass) return;
+  
+  salted_sha1.value = '+' + salt + '$' + CryptoJS.SHA1(salt + pass);
+}
+</script>
+<form name="randform">
+</form>
+
+<pre>
+/* The &lt; && &gt; indicates the area you must change!
+ * Do not leave the &lt;&gt;
+ * Credit to Excelsior / CELDROP for this design
+ */
+
+/* PACKNAME: name of the pack (no spaces) */
+PACKNAME &lt;name&gt;
+
+/* HASHES
+ * This must remain 100% secure/private, this key can retrieve the salts, and
+ * the entire botnet could be hijacked, a pass 8 chars or more is suggested
+ * DO NOT FORGET THE CLEARTEXT, SAVE IT IN A SAFE PLACE, IT CANNOT BE RECOVERED.
+ */
+
+/* BINARYPASS: salted-SHA1
+ *   BINARYPASS should be a salted-sha1. (Use the form at the top of this page)
+ */
+BINARYPASS &lt;salted-SHA1&gt;
+
+/* DCCPREFIX: 1 char cmd prefix for dcc. (ie, .cmd or !cmd) */
+DCCPREFIX &lt;.&gt;
+
+/* The settings below can each be defined multiple times */
+
+/* OWNER &lt;nick password&gt;
+ * Multiple OWNER lines may be defined, each will be added as a +a perm owner.
+ *   All perm owners will have remote shell access to your bots.
+ * nick: nickname what else?
+ * password: initial password for user. DO NOT MAKE THIS YOUR NORMAL PASSWORD.
+ *   Password should be a salted-sha1. (Use the form at the top of this page)
+ */
+OWNER &lt;YourNick salted-SHA1&gt;
+
+/* HUB &lt;nick host port&gt;
+ * Hubs are ranked by the order they are listed.
+ * Hubs DO NOT come on IRC.
+ * nick: nick of hub
+ * host: hostname or ip of hub (A 'dynamic' OR 'changeable' HOSTNAME IS RECOMMENDED)
+ * port: port the hub listens on
+ *
+ * Your hub hosts should NOT be vhosts. They need to be changeable dns,
+ *  so you can easily move the hubs later if needed.
+ * Use a domain you OWN/CONTROL, or a trusted friend's.
+ */
+HUB &lt;hub1 hub1.domain.tld 1234&gt;
+HUB &lt;hub2 hub2.domain.tld 1235&gt;
+
+/* You will also need to add SALTS to your packconfig. These should only be generated <strong>once per botnet.</strong>
+Click the button below to generate SALTS for your botnet. */
+
+SALT1 <span id="salt1">&nbsp;</span>
+SALT2 <span id="salt2">&nbsp;</span>
+</pre>
+
+
+<script language="javascript" type="text/javascript">
+function createSalts() {
+  var salt1 = randomString(32);
+  var salt2 = randomString(16);
+  var s1 = document.getElementById('salt1');
+  s1.innerText = salt1;
+  s1.innerHtml = salt1;
+  s1.textContent = salt1;
+  var s2 = document.getElementById('salt2');
+  s2.innerText = salt2;
+  s2.innerHtml = salt2;
+  s2.textContent = salt2;
+}
+
+</script>
+<form name="randform">
+<input type="button" value="Click to Generate Salts" onClick="createSalts();">
+</form>
+
+}}}
+
+

+ 4 - 0
docs/wraith.botpack.net/wiki/PackConfig_version_28.html

@@ -0,0 +1,4 @@
+---
+title: PackConfig version 28
+layout: packconfig_v28
+---

+ 90 - 0
docs/wraith.botpack.net/wiki/PackConfig_version_28.txt

@@ -0,0 +1,90 @@
+{{{
+#!html
+<pre>
+/* The &lt; && &gt; indicates the area you must change!
+ * Do not leave the &lt;&gt;
+ * Credit to Excelsior / CELDROP for this design
+ */
+
+/* PACKNAME: name of the pack (no spaces) */
+PACKNAME &lt;name&gt;
+
+/* HASHES
+ * This must remain 100% secure/private, this key can retrieve the salts, and
+ * the entire botnet could be hijacked, a pass 8 chars or more is suggested
+ * DO NOT FORGET THE CLEARTEXT, SAVE IT IN A SAFE PLACE, IT CANNOT BE RECOVERED.
+ */
+
+/* SHELLHASH: SHA1 hash
+ * Use this URL to generate: <a href="http://www.shatow.net/crypt/">http://www.shatow.net/crypt</a>
+ * example: SHELLHASH 637d1f5c6e6d1be22ed907eb3d223d858ca396d8
+ */
+SHELLHASH &lt;sha1hash&gt;
+
+/* DCCPREFIX: 1 char cmd prefix for dcc. (ie, .cmd or !cmd) */
+DCCPREFIX &lt;.&gt;
+
+/* The settings below can each be defined multiple times */
+
+/* OWNER &lt;nick password [host] [host2 ...]&gt;
+ * Multiple OWNER lines may be defined, each will be added as a +a perm owner.
+ * nick: nickname what else?
+ * password: initial password for user. DO NOT MAKE THIS YOUR NORMAL PASSWORD.
+ * hosts are added for telnet access, but telnet is currently not restricted, so it is optional.
+ */
+OWNER &lt;YourNick FirstTimePass&gt;
+
+/* OWNEREMAIL: email addresses that status/errors will be sent to when needed
+ * list as many as needed. (This will be removed soon)
+ */
+OWNEREMAIL &lt;some@email.com&gt;
+
+/* HUB &lt;nick host port&gt;
+ * Hubs are ranked by the order they are listed
+ * nick: nick of hub
+ * host: hostname or ip of hub (A 'dynamic' OR 'changeable' HOSTNAME IS RECOMMENDED)
+ * port: port the hub listens on
+ *
+ * Your hub hosts should NOT be vhosts. They need to be changable dns.
+ * Use a domain you OWN/CONTROL, or a friends.
+ */
+HUB &lt;hub1 hub1.domain.tld 1234&gt;
+HUB &lt;hub2 hub2.domain.tld 1235&gt;
+
+SALT1 <span id="salt1">&nbsp;</span>
+SALT2 <span id="salt2">&nbsp;</span>
+</pre>
+
+/* You will also need to add SALTS to your packconfig. These should only be generated <strong>once per botnet.</strong> */
+
+<script language="javascript" type="text/javascript">
+function createSalts() {
+  var salt1 = randomString(32);
+  var salt2 = randomString(16);
+  var s1 = document.getElementById('salt1');
+  s1.innerText = salt1;
+  s1.innerHtml = salt1;
+  s1.textContent = salt1;
+  var s2 = document.getElementById('salt2');
+  s2.innerText = salt2;
+  s2.innerHtml = salt2;
+  s2.textContent = salt2;
+}
+function randomString(n) {
+  var chars = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz";
+  var string_length = n;
+  var randomstring = '';
+  for (var i=0; i<string_length; i++) {
+    var rnum = Math.floor(Math.random() * chars.length);
+    randomstring += chars.substring(rnum,rnum+1);
+  }
+        return randomstring;
+}
+</script>
+<form name="randform">
+<input type="button" value="Click to Generate Salts" onClick="createSalts();">
+</form>
+
+}}}
+
+