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

	<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>2024-01-30T10:20:57-04:00</updated>

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

		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2024-01-30T10:20:57-04:00</updated>

		<published>2024-01-30T10:20:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112397#p112397</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112397#p112397"/>
		<title type="html"><![CDATA[Re: scan ip from a proxy scanner site]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112397#p112397"><![CDATA[
So it may work.<br><br>Why don't you try and just ask when you have an error ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Tue Jan 30, 2024 10:20 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[FmX]]></name></author>
		<updated>2024-01-30T07:31:54-04:00</updated>

		<published>2024-01-30T07:31:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112396#p112396</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112396#p112396"/>
		<title type="html"><![CDATA[Re: scan ip from a proxy scanner site]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112396#p112396"><![CDATA[
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/atom-one-dark-reasonable.min.css"> <strong>script</strong>  <strong>script</strong> <div class="codebox"><pre><code class="language-tcl">proc ipcheck {frm key text} {if {[string match *!*@* $frm] || ![string match -nocase "*client connecting*" $text]} { return }regexp {:\ ([^ ]+)\s\(([^@]+)@([^\)])+\)\s\[([^\]]+)} $text - unick ident host ip </code></pre></div> <strong>script</strong> <p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8470">FmX</a> — Tue Jan 30, 2024 7:31 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2024-01-30T07:16:36-04:00</updated>

		<published>2024-01-30T07:16:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112395#p112395</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112395#p112395"/>
		<title type="html"><![CDATA[Re: scan ip from a proxy scanner site]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112395#p112395"><![CDATA[
What is $unick ? How do you get it ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Tue Jan 30, 2024 7:16 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[FmX]]></name></author>
		<updated>2024-01-30T06:47:31-04:00</updated>

		<published>2024-01-30T06:47:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112394#p112394</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112394#p112394"/>
		<title type="html"><![CDATA[Re: scan ip from a proxy scanner site]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112394#p112394"><![CDATA[
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/atom-one-dark-reasonable.min.css"> <strong>script</strong>  <strong>script</strong> <div class="codebox"><pre><code class="language-tcl"> ::pchecker::isvpn $ip $unick</code></pre></div> <strong>script</strong> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/atom-one-dark-reasonable.min.css"> <strong>script</strong>  <strong>script</strong> <div class="codebox"><pre><code class="language-tcl">proc isvpn {ip unick} </code></pre></div> <strong>script</strong> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/atom-one-dark-reasonable.min.css"> <strong>script</strong>  <strong>script</strong> <div class="codebox"><pre><code class="language-tcl">putquick "PRIVMSG #test33 :$unick *@$ip +7d :$::pchecker::gmsg"</code></pre></div> <strong>script</strong> is that good CrazyCat ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8470">FmX</a> — Tue Jan 30, 2024 6:47 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[FmX]]></name></author>
		<updated>2024-01-30T06:15:30-04:00</updated>

		<published>2024-01-30T06:15:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112393#p112393</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112393#p112393"/>
		<title type="html"><![CDATA[Re: scan ip from a proxy scanner site]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112393#p112393"><![CDATA[
Everything is fine now. Thanks mate. I have 1 more request but i will try alone to figure out how to achieve it. After Gline i want to report in certain channel nick and IP who was glined. now i will try to do it myself<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8470">FmX</a> — Tue Jan 30, 2024 6:15 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2024-01-30T06:01:21-04:00</updated>

		<published>2024-01-30T06:01:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112392#p112392</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112392#p112392"/>
		<title type="html"><![CDATA[Re: scan ip from a proxy scanner site]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112392#p112392"><![CDATA[
<blockquote class="uncited"><div>and 1 latest request. Can you make to not scanning IPs start with 53.*</div></blockquote>Just replace:<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/atom-one-dark-reasonable.min.css"> <strong>script</strong>  <strong>script</strong> <div class="codebox"><pre><code class="language-tcl">   ::pchecker::isvpn $ip}</code></pre></div> <strong>script</strong> With:<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/atom-one-dark-reasonable.min.css"> <strong>script</strong>  <strong>script</strong> <div class="codebox"><pre><code class="language-tcl">   if {[string first "53." $ip]==0} { return }   ::pchecker::isvpn $ip}</code></pre></div> <strong>script</strong> <p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Tue Jan 30, 2024 6:01 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[FmX]]></name></author>
		<updated>2024-01-30T05:18:47-04:00</updated>

		<published>2024-01-30T05:18:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112391#p112391</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112391#p112391"/>
		<title type="html"><![CDATA[Re: scan ip from a proxy scanner site]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112391#p112391"><![CDATA[
My bad, there is space in api key that i missed. Everything wokrs fine. Thank you <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>and 1 latest request. Can you make to not scanning IPs start with 53.*<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8470">FmX</a> — Tue Jan 30, 2024 5:18 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[FmX]]></name></author>
		<updated>2024-01-30T05:07:09-04:00</updated>

		<published>2024-01-30T05:07:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112390#p112390</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112390#p112390"/>
		<title type="html"><![CDATA[Re: scan ip from a proxy scanner site]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112390#p112390"><![CDATA[
Still gives error:<br>[11:06:22] &lt;ATAS&gt; [09:06:21] Tcl error [::pchecker::ipcheck]: Illegal characters in URL path<br>[11:06:22] &lt;ATAS&gt; [09:06:21] -NOTICE- connect.LOCAL_CLIENT_CONNECT [info] Client connecting: obssesedwithme (<a href="mailto:Chat@1143552215554986125.discord.com">Chat@1143552215554986125.discord.com</a>) [53.98.128.141] [vhost: Portal-F5EDA4FF.discord.com] [class: clients] [country: DE] [reputation: 0] [security-groups: unknown-users,webirc-users]<br>[11:06:22] &lt;ATAS&gt; [09:06:21] Checking: 53.98.128.141<br>[11:06:22] &lt;ATAS&gt; [09:06:21] Tcl error [::pchecker::ipcheck]: Illegal characters in URL path<br>[11:06:22] &lt;ATAS&gt; [09:06:21] -NOTICE- connect.REMOTE_CLIENT_CONNECT [info] Client connecting: obssesedwithme (<a href="mailto:Chat@1143552215554986125.discord.com">Chat@1143552215554986125.discord.com</a>) [53.98.128.141] [vhost: 90A44659.6F5C8A2F.4EB8A045.IP] [secure] [country: DE] [reputation: 0] [security-groups: unknown-users,webirc-users]<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8470">FmX</a> — Tue Jan 30, 2024 5:07 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2024-01-30T04:10:45-04:00</updated>

		<published>2024-01-30T04:10:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112388#p112388</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112388#p112388"/>
		<title type="html"><![CDATA[Re: scan ip from a proxy scanner site]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112388#p112388"><![CDATA[
Just before the line<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/atom-one-dark-reasonable.min.css"> <strong>script</strong>  <strong>script</strong> <div class="codebox"><pre><code class="language-tcl">::http::config -useragent "lynx"</code></pre></div> <strong>script</strong> add<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/atom-one-dark-reasonable.min.css"> <strong>script</strong>  <strong>script</strong> <div class="codebox"><pre><code class="language-tcl">putlog "Checking: $ip"</code></pre></div> <strong>script</strong> <p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Tue Jan 30, 2024 4:10 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[FmX]]></name></author>
		<updated>2024-01-30T03:49:21-04:00</updated>

		<published>2024-01-30T03:49:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112386#p112386</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112386#p112386"/>
		<title type="html"><![CDATA[Re: scan ip from a proxy scanner site]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112386#p112386"><![CDATA[
Bringing up a bit of an old topic. I tried this script but I get the following error:<br> Tcl error [::pchecker::ipcheck]: Illegal characters in URL path<br><br>Client  connection is this way:<br>[09:40:42] Connect: (<a href="mailto:Chat@1005633945813123113.discord.com">Chat@1005633945813123113.discord.com</a>) [53.92.95.41] [vhost: 3D6263FF.C15E8851.D7BC4C45.IP] [secure] [country: DE] [reputation: 0] [security-groups: unknown-users,webirc-users]<br>Connect: (<a href="mailto:webirc@62-73-100-175.ip.btc-net.bg">webirc@62-73-100-175.ip.btc-net.bg</a>) [62.73.100.175] [vhost: 306D8AA.C305ADBD.62D3FB63.IP] [class: clients] [secure: TLSv1.3-TLS_CHACHA20_POLY1305_SHA256] [country: BG] [reputation: 5] [security-groups: unknown-users,webirc-users,tls-and-known-users,tls-users]<br><br>Maybe the script need to read IPs from brackets [] ? <br>This is UnrealIRCD.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8470">FmX</a> — Tue Jan 30, 2024 3:49 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TimeRider]]></name></author>
		<updated>2023-02-18T21:28:00-04:00</updated>

		<published>2023-02-18T21:28:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111691#p111691</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111691#p111691"/>
		<title type="html"><![CDATA[scan ip from a proxy scanner site]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111691#p111691"><![CDATA[
<blockquote class="uncited"><div>Not tested (the write/read file come from another of my scripts):<br><div class="codebox"><p>Code: </p><pre><code>package require httpnamespace eval pchecker {# proxycheck.io api keyvariable pckey "xxxxxx-xxxxxx-xxxxxx-xxxxxxxx"# gzline messagevariable gmsg "Sorry, VPN are not allowed"# List of IP not checkedvariable whitelist {}# List of blacklisted IPvariable blacklist {}variable pcheckerwl "scripts/pcheckerwl.txt"# To enable on a chan, think to do# .chanset #chan +scanipsetudef flag scanipbind join - * ::pchecker::whoisbind raw - 378 ::pchecker::ipcheckbind pub - !add ::pchecker::ipaddbind pub - !rem ::pchecker::ipremproc whois {nick uhost handle chan} {if {![channel get $chan scanip]} { return }if {[isbotnick $nick]} { return }putquick "WHOIS $nick"}proc ipadd {nick uhost handle chan text} {if {[lsearch $::pchecker::whitelist $text] == -1} {lappend ::pchecker::whitelist $text}::pchecker::l2file $::pchecker::whitelist $::pchecker::pcheckerwl}proc iprem {nick uhost handle chan text} {set n [lsearch $::pchecker::whitelist $text]if {$n != -1} {set ::pchecker::whitelist [lreplace $::pchecker::whitelist $n $n]::pchecker::l2file $::pchecker::whitelist $::pchecker::pcheckerwl}}proc ipcheck {frm key text} {set ip [lindex [split $text " "] end]foreach w $::pchecker::whitelist {if {[string match $w $text]} { return }}foreach b $::pchecker::blacklist {if {[string match $w $text]} {putquick "GLINE *@$ip +7d :$::pchecker::gmsg"return}}::pchecker::isvpn $ip}proc json2dict {JSONtext} {string range [string trim [string trimleft [string map {\t {} \n {} \r {} , { } : { } \[ \{ \] \}} $JSONtext] {\uFEFF}]] 1 end-1}proc isvpn {ip} {::http::config -useragent "lynx"set pcheck [::http::geturl http://api.isproxyip.com/v1/check.php?key=$::pchecker::pckey&amp;ip=${ip}&amp;format=json]set data [json2dict [::http::data $pcheck]]if {[dict get $data status] eq "success"} {set proxy [dict get $data proxy]if {$proxy == 1 } {lappend $::pchecker::blacklist $ipputquick "GLINE *@$ip +7d :$::pchecker::gmsg"}}::http::cleanup $pcheck}proc l2file {olist dfile} {set fo [open $dfile w]puts $fo [join $olist "\n"]close $fo}proc f2list {dfile} {set fi [open $dfile r]set olist [split [read -nonewline $fi] "\n"]close $fireturn $olist}set ::pchecker::whitelist [::pchecker::f2list $::pchecker::pcheckerwl]}</code></pre></div></div></blockquote>CrazyCat, this script is generating an error now: Tcl error [::pchecker::ipcheck]: Illegal characters in URL path<br><br>Could you please fix it?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12879">TimeRider</a> — Sat Feb 18, 2023 9:28 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TimeRider]]></name></author>
		<updated>2023-01-13T21:08:33-04:00</updated>

		<published>2023-01-13T21:08:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111623#p111623</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111623#p111623"/>
		<title type="html"><![CDATA[scan ip from a proxy scanner site]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111623#p111623"><![CDATA[
Hello CrazyCat,<br><br>I am bumping this thread because I want to make 2 Anti-VPN TCL script work as it will be helpful to ban the connection one VPN scanner can't detect and the limit of scanning will be increased from 2 Anti-VPN TCL scripts.<br><br>The one you already made works well, <a href="https://tools.eggdrop.fr/privatebin/?400cf8cc0c7532e4#3iH1HymTobmUfcxrFr6wcBUa4sBsAhs9nt5DxPazBmet" class="postlink">https://tools.eggdrop.fr/privatebin/?40 ... 5DxPazBmet</a><br><br>What I want now is a new same TCL script where I would use a different bind like !antiproxy or .antiproxy And it will scan the IPs from proxycheck.io with the API key But will also add exception scans or will not scan IPs of the country Nepal (NP). <br><br>Thank you!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12879">TimeRider</a> — Fri Jan 13, 2023 9:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TimeRider]]></name></author>
		<updated>2022-12-25T10:21:47-04:00</updated>

		<published>2022-12-25T10:21:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111575#p111575</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111575#p111575"/>
		<title type="html"><![CDATA[scan ip from a proxy scanner site]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111575#p111575"><![CDATA[
Thank you CrazyCat! The script is working as expected. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12879">TimeRider</a> — Sun Dec 25, 2022 10:21 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2022-12-25T08:47:19-04:00</updated>

		<published>2022-12-25T08:47:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111574#p111574</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111574#p111574"/>
		<title type="html"><![CDATA[scan ip from a proxy scanner site]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111574#p111574"><![CDATA[
Check <a href="https://tools.eggdrop.fr/privatebin/?400cf8cc0c7532e4#3iH1HymTobmUfcxrFr6wcBUa4sBsAhs9nt5DxPazBmet" class="postlink">https://tools.eggdrop.fr/privatebin/?40 ... 5DxPazBmet</a><br><br>I've added wlcountries variable, which is a list of countries code (I put NP for Nepal and FR for France, you can add more), modified the http query to add the countryCode in the answer and added a check to bypass the iplog proc if the IP come from one of the white-listed countries.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Sun Dec 25, 2022 8:47 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TimeRider]]></name></author>
		<updated>2022-12-24T11:51:19-04:00</updated>

		<published>2022-12-24T11:51:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111573#p111573</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111573#p111573"/>
		<title type="html"><![CDATA[scan ip from a proxy scanner site]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111573#p111573"><![CDATA[
Hey CrazyCat,<br><br>Here is the link to the tcl script<br><a href="https://tools.eggdrop.fr/privatebin/?58fe87a24b21549f#B11twQqv5j3Q4DCunES7CijFYHShoKYJXBW3bby91pMg" class="postlink">https://tools.eggdrop.fr/privatebin/?58 ... W3bby91pMg</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12879">TimeRider</a> — Sat Dec 24, 2022 11:51 am</p><hr />
]]></content>
	</entry>
	</feed>
