<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/1224" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2002-03-11T06:25:00-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/1224</id>

		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2002-03-11T06:25:00-04:00</updated>

		<published>2002-03-11T06:25:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=5231#p5231</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=5231#p5231"/>
		<title type="html"><![CDATA[Stumped on a module.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=5231#p5231"><![CDATA[
There's no builtin access to blowfish, since it's possible to load other encryption modules. The builtin functions simply access whatever encryption module is currently loaded. Eggdrop may be switching to AES (rijndael) in the next version, so if you use the builtin encryption and don't provide your own, then your encrypted scripts may become unusable.<br><br>Ok, so copy woobie.mod, copy some code to create a new tcl command called sourceencrypt, and then fill it in.<br><br>To create a new tcl command, look at an existing module for an example. For instance, the server module has its tcl functions in tclserv.c, and creates them with the add_tcl_commands() call in server_start().<br><br>The Tcl function should read in the file, decrypt it, and pass the result to Tcl_EvalGlobal. You can find plenty of examples of new Tcl functions in tclserv.c (already mentioned).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Mon Mar 11, 2002 6:25 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-03-11T03:55:00-04:00</updated>

		<published>2002-03-11T03:55:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=5226#p5226</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=5226#p5226"/>
		<title type="html"><![CDATA[Stumped on a module.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=5226#p5226"><![CDATA[
I was going to use blowfish since that is already in the bot. The module would code in the key it used, and it would be loaded from the configuration file like all the others.  Just with a special command in the conf file like sourceencrypt scripts/bah.tcl.<p>Statistics: Posted by Guest — Mon Mar 11, 2002 3:55 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2002-03-11T03:42:00-04:00</updated>

		<published>2002-03-11T03:42:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=5225#p5225</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=5225#p5225"/>
		<title type="html"><![CDATA[Stumped on a module.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=5225#p5225"><![CDATA[
Basically, copy woobie.mod for the skeleton, and fill in parts from other modules that do something like what you want already.<br><br>You still haven't said how you want to load the script, so it's kind of hard to help more than that hehe.<br><br>Is it one that eggdrop loads automatically, like the config file?<br><br>Do you want a dcc command, like ".loadscript scripts/blah.tcl &lt;password&gt;"?<br><br>Do you want a new tcl command, like "mysource scripts/blah.tcl &lt;password&gt;"?<br><br>What sort of encryption are you using, eggdrop's builtin encryption, or your own?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Mon Mar 11, 2002 3:42 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-03-10T07:52:00-04:00</updated>

		<published>2002-03-10T07:52:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=5201#p5201</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=5201#p5201"/>
		<title type="html"><![CDATA[Stumped on a module.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=5201#p5201"><![CDATA[
More specificly. The entire script would be in the scripts folder, but be encrypted.  And the module decrypt it as the eggdrop loads it.<p>Statistics: Posted by Guest — Sun Mar 10, 2002 7:52 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2002-03-10T07:03:00-04:00</updated>

		<published>2002-03-10T07:03:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=5199#p5199</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=5199#p5199"/>
		<title type="html"><![CDATA[Stumped on a module.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=5199#p5199"><![CDATA[
It depends what you want to do. For instance, if you just want a new tcl command like "source_encrypted" that you pass a filename and a decryption key, that's easy. If you want to make it load an encrypted config file, or maybe even compile the config file into the bot, that's entirely different.<br><br>Maybe ask a more specific question?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Sun Mar 10, 2002 7:03 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-03-10T06:29:00-04:00</updated>

		<published>2002-03-10T06:29:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=5198#p5198</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=5198#p5198"/>
		<title type="html"><![CDATA[Stumped on a module.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=5198#p5198"><![CDATA[
I am trying to make a module that will read a blowfish encrypted tcl script.  However I am stumped on how.  I know this is the type of module people dont release, however, is there one out there that someone made to help others?  I have looked at woobie.mod and blowfish.mod.  Can anyone help?<br><br>&lt;font size=-1&gt;[ This Message was edited by: Stumped on 2002-03-10 04:02 ]&lt;/font&gt;<p>Statistics: Posted by Guest — Sun Mar 10, 2002 6:29 am</p><hr />
]]></content>
	</entry>
	</feed>
