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

	<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>2008-02-01T05:28:04-04:00</updated>

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

		<entry>
		<author><name><![CDATA[REDLiNE1]]></name></author>
		<updated>2008-02-01T05:28:04-04:00</updated>

		<published>2008-02-01T05:28:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80536#p80536</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80536#p80536"/>
		<title type="html"><![CDATA[Portscan]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80536#p80536"><![CDATA[
could <a href="http://insecure.org" class="postlink">http://insecure.org</a> get the ports then tcl print the info to a irc chan?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9120">REDLiNE1</a> — Fri Feb 01, 2008 5:28 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2008-01-31T12:57:43-04:00</updated>

		<published>2008-01-31T12:57:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80515#p80515</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80515#p80515"/>
		<title type="html"><![CDATA[Portscan]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80515#p80515"><![CDATA[
<blockquote class="uncited"><div>@Tosser:<br>Isn't it a bit dangerous using exec with nmap, since scans may take a while. Thought 'bout using "open" with pipe instead? A bit more complex, but wouldn't block your bot while scanning...<br><br>Also, what's the point of this:<div class="codebox"><p>Code: </p><pre><code>foreach x [split $portlist \n] { return "$x"}</code></pre></div>Would'nt it be simpler to just do something like this:<div class="codebox"><p>Code: </p><pre><code>return [lindex [split $portlist \n] 0]</code></pre></div></div></blockquote>That's because he doesn't know that it would stop after the first loop.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Thu Jan 31, 2008 12:57 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2008-01-31T11:46:19-04:00</updated>

		<published>2008-01-31T11:46:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80510#p80510</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80510#p80510"/>
		<title type="html"><![CDATA[Portscan]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80510#p80510"><![CDATA[
@Tosser:<br>Isn't it a bit dangerous using exec with nmap, since scans may take a while. Thought 'bout using "open" with pipe instead? A bit more complex, but wouldn't block your bot while scanning...<br><br>Also, what's the point of this:<div class="codebox"><p>Code: </p><pre><code>foreach x [split $portlist \n] { return "$x"}</code></pre></div>Would'nt it be simpler to just do something like this:<div class="codebox"><p>Code: </p><pre><code>return [lindex [split $portlist \n] 0]</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Thu Jan 31, 2008 11:46 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2008-01-31T11:28:39-04:00</updated>

		<published>2008-01-31T11:28:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80502#p80502</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80502#p80502"/>
		<title type="html"><![CDATA[Portscan]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80502#p80502"><![CDATA[
<blockquote class="uncited"><div>i ddent no there was a scripting request's forum.  </div></blockquote>How could you not see it? Plain as the nose on your face. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Thu Jan 31, 2008 11:28 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[REDLiNE1]]></name></author>
		<updated>2008-01-30T21:17:04-04:00</updated>

		<published>2008-01-30T21:17:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80489#p80489</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80489#p80489"/>
		<title type="html"><![CDATA[Portscan]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80489#p80489"><![CDATA[
i ddent no there was a scripting request's forum.  also i no tcl but i could never get this to work thats why i came here and asked for help<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9120">REDLiNE1</a> — Wed Jan 30, 2008 9:17 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[r0t3n]]></name></author>
		<updated>2008-01-30T20:45:32-04:00</updated>

		<published>2008-01-30T20:45:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80487#p80487</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80487#p80487"/>
		<title type="html"><![CDATA[Portscan]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80487#p80487"><![CDATA[
First of all, if you want this script made, then post @ the scripting request's forum.<br><br>Secondly, if your willing to modify/learn tcl then heres a pointer:<br><br>This is the portscan code from my trojan scanner, with a few tweaks/mods here and there...<br><div class="codebox"><p>Code: </p><pre><code>proc trojan::portscan {host ports} {    set portlist ""    set hostmask ""    set ip ""    set nmap [exec nmap -sT -P0 -p [join $ports ,] $host]    foreach line [split $nmap \n] {        if {[regexp {Interesting ports on (.+) \(([^)]+)\)} $line]} {            set hostmask [lindex [split $line] 3]            set ip [string range [lindex [split $line] 4] 1 end-1]        } elseif {[regexp {[0-9]{1,3}/tcp open|filtered [a-z0-9]} $line]} {            lappend portlist [set p [lindex [split [lindex [split $line] 0] /] 0]]        }    }    if {$portlist == ""} {        set portlist "0"    }    foreach x [split $portlist \n] {        return "$x"    }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6300">r0t3n</a> — Wed Jan 30, 2008 8:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[REDLiNE1]]></name></author>
		<updated>2008-01-30T18:51:17-04:00</updated>

		<published>2008-01-30T18:51:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80484#p80484</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80484#p80484"/>
		<title type="html"><![CDATA[Portscan]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80484#p80484"><![CDATA[
Hi,<br>Can some one help me out i want to make a portscan Script that will scan an ip and bring back somthing like this:<br>!portscan $IP<br>* start scanning $IP<br>* 21 (ftp)<br>* 22 (ssh)<br>* 113 (auth)<br>* 8080 (webcache)<br>* scan finished! 51 ports scanned. (open: 4, closed: 4, stealth: 43)<br><br>this is an other frends eggdrop script unfortunately he will not give it to me.<br>it would be great if someone can help me thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9120">REDLiNE1</a> — Wed Jan 30, 2008 6:51 pm</p><hr />
]]></content>
	</entry>
	</feed>
