Top

Chatspace Proxy Detector


mIRC Code
+ 0 likes
Please Register to submit score.
Average Score  4.0
Scores Submitted  2
Date Added  Jun 19, 2006
Last Updated  Jun 25, 2006
Tags  chatspace  detector  proxy  scan  scanner 
  Bookmark and Share

Introduction

I'm posting this script to make it more visible than on the forums:

<p>This script will scan connecting users for open proxies. If a proxy is found, the script will K-line the user off of that server. Therefore, in order for the script to work, you may need IRCop priv.
<p>Keep in mind, this script may not be entirely effective. Firewalls, or certain servers being hosted on that system may interfere with the script, and end in the users connection being terminated from the server.
<p>Notes have been added into the code to help users port this script to any IRCD server.
<p><b>UPDATE:</b> Wrong chr in both $gettok functions. Error fixed, should now work if it didn't work before :)

Grab the Code

Comments

  (6)  RSS
independent911
Comments: 1
 
mIRC Snippet:  Chatspace Proxy Detector
Posted on Jun 20, 2006 12:32 pm
i have better scanner, try flooding my server pxyBNC.bounceme.net:6667
:) (My scanner doesnt even need to open a connection to the host) your script looks cool but there need a lot more ports like 80 8080 3128 6588 7212 4480
KuTsuM
Comments: 139
 
mIRC Snippet:  Chatspace Proxy Detector
Posted on Jun 20, 2006 5:26 pm
Ports can be added, plus your script doesn't cover closed proxies, only open. Plus, you can add all the ports you need to, and theres alot more ports than that are used by proxies. 65536 ports can be used by a proxy. Next time you comment, please make sure it's constructive, thanks :)
DarkWatcher
Comments: 4
 
mIRC Snippet:  Chatspace Proxy Detector
Posted on Jun 20, 2006 7:51 pm
Nice job, KuTsuM, my server has already found proxys on people's connections. Thanks. :)
bynw
Comments: 1
 
mIRC Snippet:  Chatspace Proxy Detector
Posted on Feb 19, 2007 2:58 pm
I am unable to get this to work on UnrealIRCd. If anyone has any pointers to get it to work it would be greatly appriciated.
LaBo
Comments: 5
 
mIRC Snippet:  Chatspace Proxy Detector
Posted on Jul 23, 2007 11:39 am
Anybody got this script to work on UnrealIRCD? Mine Whois's then lets the proxies through. i tested it and tested and added LOTS of ports for example:
23*80*1053*1080*1180*1182*1335
*1336*1813*1978*2280
*2282*3128*3380
*3382*3777*4480*5490
*6588*6667*7462*7777*7778*8000
*8080*8081*8090*:
As you can see your standerd ports for proxies. Anyways it doesnt work on UnrealIRCD as i said it does whois then thats it.
EXAMPLE: [15:08] -BillaBong.kicks-ass.net- *** Notice -- Client connecting on port 6667: southernUS (~zxbjgkwfm@200.254.132.135) [clients]
-
southernUS is ~zxbjgkwfm@36EFA4CE.3DE202CF.FC8EF50F.IP * Test Proxies
southernUS is using modes +iwx
southernUS is connecting from *@200.254.132.135 200.254.132.135
southernUS using BillaBong.kicks-ass.net BillaBong IRC Server
southernUS has been idle 0secs, signed on Mon Jul 23 15:08:20
southernUS End of /WHOIS list.
Anybody :(
paklang
Comments: 1
 
mIRC Snippet:  Chatspace Proxy Detector
Posted on Sep 10, 2007 4:19 am
hi ... i form server http://www.chat-comet.com
i try

on *:SNOTICE:*client connecting*: {
set %proxy. [ $+ [ $9 ] ] 1
whois $9
}
raw ^311:*: {
if (%proxy. [ $+ [ $2 ] ]) {
unset %proxy . [ $+ [ $2 ] ]
set %proxya [ $+ [ $4 ] ] $2
dns $4
haltdef
}
}
on ^*:DNS: {
var %ports = 23*80*1053*1080*1180*1182*1335*1336*1813*1978*2280*2282*3128*3380*3382*3777*4480*5490*6588*6667*7462*7777*7778*8000*8080*8081*8090,%x = 1
while ($gettok(%ports,%x,42)) {
if (%proxya [ $+ [ $dns(0).addr ] ]) {
var %w = $+(proxy,$r(1000,9999))
sockopen %w $gettok(%ports,%x,42)
sockmark %w $dns(0).ip $v1
}
else { break }
inc %x
}
}
on *:SOCKOPEN:proxy*: {
if ($sockerr) { halt }
kline $gettok($sock($sockname).mark,2,32) Proxy Detected on port: $sock($sockname).port (If you disagree, send an email to: unknown@unknown.com)

sockclose $sockname
}

in my script mirc cant resporn why ?? need help

Please Register or Login to start posting comments.
Bottom