<?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/18624" />

	<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>2011-09-07T01:08:48-04:00</updated>

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

		<entry>
		<author><name><![CDATA[AviZ1]]></name></author>
		<updated>2011-09-07T01:08:48-04:00</updated>

		<published>2011-09-07T01:08:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=97655#p97655</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=97655#p97655"/>
		<title type="html"><![CDATA[Traceroute]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=97655#p97655"><![CDATA[
so heres what i have so far...<br><div class="codebox"><p>Code: </p><pre><code>set chan #shellsolutionsbind pub o !trace pub_traceproc pub_trace {nick uhost handle chan arg} { set command [concat exec /bin/traceroute $arg | xargs -0 wget post-file.it --post-data] set return [eval $command] foreach output [split pastebin] {  putserv "PRIVMSG $chan :$output" }}</code></pre></div>heres the output within the bot.<br><blockquote class="uncited"><div>[17:06] &lt;Aphex&gt; [22:06:28] Tcl error [pub_trace]: --2011-09-06 22:06:26--  <a href="http://post-file.it/" class="postlink">http://post-file.it/</a><br>[17:06] &lt;Aphex&gt; Resolving post-file.it... 96.31.85.245<br>[17:06] &lt;Aphex&gt; Connecting to post-file.it|96.31.85.245|:80... connected.<br>[17:06] &lt;Aphex&gt; HTTP request sent, awaiting response... 303 See Other<br>[17:06] &lt;Aphex&gt; Location: +: 182b pasted to &gt;&gt;&gt; <a href="http://pastebin.com/0j1kvK86" class="postlink">http://pastebin.com/0j1kvK86</a> &lt;&lt;&lt; [following]<br>[17:06] &lt;Aphex&gt; +: 182b pasted to &gt;&gt;&gt; <a href="http://pastebin.com/0j1kvK86" class="postlink">http://pastebin.com/0j1kvK86</a> &lt;&lt;&lt;: Unsupported scheme.</div></blockquote>what i need to do is spit out the pastebin addy on the irc channel<br>any helpers?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11776">AviZ1</a> — Wed Sep 07, 2011 1:08 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[AviZ1]]></name></author>
		<updated>2011-09-05T04:15:59-04:00</updated>

		<published>2011-09-05T04:15:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=97641#p97641</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=97641#p97641"/>
		<title type="html"><![CDATA[Traceroute]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=97641#p97641"><![CDATA[
Hi,<br><br>im after a script that will do a traceroute on the shell then post the finding to this address.<br><br> usage: <br>wget post-file.it --post-file FILE<br>or to set paste exposure to public:<br>wget post-file.it/p --post-file FILE<br>or to paste output from a command:<br>command | xargs -0 wget post-file.it --post-data<br><br>and have the bot spit out the pastebin output.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11776">AviZ1</a> — Mon Sep 05, 2011 4:15 am</p><hr />
]]></content>
	</entry>
	</feed>
