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

	<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>2003-06-20T14:59:52-04:00</updated>

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

		<entry>
		<author><name><![CDATA[soul]]></name></author>
		<updated>2003-06-20T14:59:52-04:00</updated>

		<published>2003-06-20T14:59:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22300#p22300</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22300#p22300"/>
		<title type="html"><![CDATA[cant get real ip address]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22300#p22300"><![CDATA[
how should i do that? have no clue. can you make the necessary changes?<br><br>#### LEAF BOT PROC<br><br>set spychan "#CHAN"<br><br>set patterns {<br>    "*#*"<br>    "*aparece*"<br>    "*canal*"<br>    "*canais*"<br>}<br><br>if {![info exists _spysetup]} {<br><br>    foreach tmpvar $patterns {<br>        bind msgm - $tmpvar msgm:spyreport<br>    }<br>    unset tmpvar<br>    set _spysetup 1<br>}<br><br>proc msgm:spyreport {nick host hand text} {<br>    if {[validuser $hand]} return<br>    putallbots "spydetect $nick [lindex [split $host @] 1]"<br>    return 0<br>}<br><br>#### HUB BOT PROC<br>bind bot - "spydetect" bot:spydetect<br>proc bot:spydetect {from idx text} {<br>    global spychan<br>    foreach {nick hostname} [split $text] {}<br>    puthelp "MODE $spychan +b *!*@$hostname"<br>}<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3075">soul</a> — Fri Jun 20, 2003 2:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2003-06-20T14:40:33-04:00</updated>

		<published>2003-06-20T14:40:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22299#p22299</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22299#p22299"/>
		<title type="html"><![CDATA[cant get real ip address]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22299#p22299"><![CDATA[
Change your script so that the hub gets the real ip address before broadcasting the alert. Try getchanhost.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Fri Jun 20, 2003 2:40 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[soul]]></name></author>
		<updated>2003-06-20T14:15:07-04:00</updated>

		<published>2003-06-20T14:15:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22296#p22296</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22296#p22296"/>
		<title type="html"><![CDATA[cant get real ip address]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22296#p22296"><![CDATA[
its my fault!<br><br>sorry guys, but i didnt explained that OPs (@) can always see the real ip address of all users in chan. the hub bot is opped and the leaf isnt.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3075">soul</a> — Fri Jun 20, 2003 2:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[egghead]]></name></author>
		<updated>2003-06-20T14:00:24-04:00</updated>

		<published>2003-06-20T14:00:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22294#p22294</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22294#p22294"/>
		<title type="html"><![CDATA[cant get real ip address]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22294#p22294"><![CDATA[
<blockquote class="uncited"><div>the network in question uses ip addresses start with 127*, wich means they are fake.<br><br>real ip address looks like:<br><br>a213-22-132-195.netcabo.pt<br>195.22.18.231</div></blockquote>If the hostnames are obscured (possibly on purpose), you have no other choice then using these obscured ones.<br><br>How did you yourself find the conversion from the 127 ip to a213-22-132-195.netcabo.pt and 195.22.18.231?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=282">egghead</a> — Fri Jun 20, 2003 2:00 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[soul]]></name></author>
		<updated>2003-06-20T13:51:30-04:00</updated>

		<published>2003-06-20T13:51:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22293#p22293</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22293#p22293"/>
		<title type="html"><![CDATA[cant get real ip address]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22293#p22293"><![CDATA[
the network in question uses ip addresses start with 127*, wich means they are fake.<br><br>real ip address looks like:<br><br>a213-22-132-195.netcabo.pt<br>195.22.18.231<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3075">soul</a> — Fri Jun 20, 2003 1:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2003-06-20T13:38:25-04:00</updated>

		<published>2003-06-20T13:38:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22292#p22292</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22292#p22292"/>
		<title type="html"><![CDATA[cant get real ip address]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22292#p22292"><![CDATA[
If 127.196.249.24 isn't the real ip address, what is it?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Fri Jun 20, 2003 1:38 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[soul]]></name></author>
		<updated>2003-06-20T13:33:05-04:00</updated>

		<published>2003-06-20T13:33:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22291#p22291</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22291#p22291"/>
		<title type="html"><![CDATA[cant get real ip address]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22291#p22291"><![CDATA[
hello,<br><br>i have botnet [1hub+1leaf]<br><br>---<br># the leaf bot procs this in the END:<br>proc msgm:spyreport {nick host hand text} {<br>    if {[validuser $hand]} return<br>    putallbots "spydetect $nick [lindex [split $host @] 1]"<br>    return 0<br>}<br><br># and then.. the hub has to ban the user using his ip address:<br><br>bind bot - "spydetect" bot:spydetect<br>proc bot:spydetect {from idx text} {<br>    global spychan<br>    foreach {nick hostname} [split $text] {}<br>    puthelp "MODE $spychan +b *!*@$hostname"<br>}<br><br># the problem is with the ban<br>ChanMode: HubBot sets mode [ +b ] *!*@127.196.249.24<br><br>i want it to get the Real ip address and use it in the ban...<br><br>i really appreciate help <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>thanks in advance!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3075">soul</a> — Fri Jun 20, 2003 1:33 pm</p><hr />
]]></content>
	</entry>
	</feed>
