Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- menu status,channel,query {
- GLINE PROXY ON CONNECT (is $+ $chr(58) $iif(%glineproxy_onconnect,ON,OFF) $+ )
- .On: { set %glineproxy_onconnect 1 | .echo -a 4* GLINE PROXY ON CONNECT -> ON * }
- .Off: { set %glineproxy_onconnect 0 | .echo -a 4* GLINE PROXY ON CONNECT -> OFF * }
- }
- menu status,channel,query {
- GLINE PROXY ON JOIN (is $+ $chr(58) $iif(%glineproxy_onjoin,ON,OFF) $+ )
- .On: { set %glineproxy_onjoin 1 | .echo -a 4* GLINE PROXY ON JOIN -> ON * }
- .Off: { set %glineproxy_onjoin 0 | .echo -a 4* GLINE PROXY ON JOIN -> OFF * }
- }
- ON ^*:SNOTICE:*: {
- tokenize 32 $strip($1-)
- var %nick = $4
- var %addr = $remove($5,$chr(40),$chr(41))
- var %ip = $remove($6,[,])
- var %country_code = $upper($gettok(%addr,$numtok(%addr,46),46))
- if (clients isin $7) { var %local = 1 }
- if ($7 == [secure) { var %ssl = 1 }
- if ($8 == [secure) { var %ssl = 1 }
- if (*Client connecting* iswm $1-) {
- haltdef
- if (!$hget(CONNECTS)) { hmake CONNECTS 10000 }
- if (%glineproxy_onconnect) && (!$ulist(%ip,exemp,1)) { var %gline = 1 }
- if (%glineproxy_onconnect) && (%country_code isletter) && (!$ulist(%country_code,country,1)) { var %gline = 2 }
- if (%gline) {
- .quote zline *@ $+ %ip 1m : 6Defense Security Service Of Intelligence
- window -e @CONNECTING
- echo -t @CONNECTING 10-- Client 10[ 4G-Line 10] 10due4 $iif(%local,local,remote) 10connecting4 %nick $+ 5 %addr 10(4 $+ %ip $+ 10 ) $iif(%ssl,10SSL4 Yes) 10from4 $iif(%country_code isletter,$v1,N/A)
- return
- }
- hadd CONNECTS %nick %addr %ip $iif(%local,local,remote) $iif(%ssl,1,0)
- .timer[SCAN_ $+ %nick $+ _INFO] -h 1 1000 scan_info %nick
- }
- if (*Client exiting* iswm $1-) {
- haltdef
- .timer[SCAN_ $+ %nick $+ _INFO] off
- .timer[SCAN_ $+ %nick $+ _JOIN] off
- if ($hget(CONNECTS,%nick)) { hdel CONNECTS %nick }
- if ($hget(CONNECTS_INFO,%nick)) { hdel CONNECTS_INFO %nick }
- }
- if (*has changed their nickname* iswm $1-) {
- haltdef
- .timer[SCAN_ $+ $2 $+ _INFO] off
- hadd CONNECTS $9 $hget(CONNECTS,$2)
- hdel CONNECTS $2
- .timer[SCAN_ $+ $9 $+ _INFO] -h 1 1000 scan_info $9
- }
- if (*Z:Line added for* iswm $1-) && ($me isin $14) { haltdef }
- }
- alias scan_info {
- if (!$1) && (!$hget(CONNECTS,$1)) { return }
- var %nick = $1
- var %ip = $gettok($hget(CONNECTS,%nick),2,32)
- var %addr = $gettok($hget(CONNECTS,%nick),1,32)
- var %type = $gettok($hget(CONNECTS,%nick),3,32)
- var %ssl = $gettok($hget(CONNECTS,%nick),4,32)
- var %r = $rand(1,6)
- if (%r == 1) { var %k = 972177-6h3592-vt5423-w27057 }
- if (%r == 2) { var %k = f23321-120875-493f81-352158 }
- if (%r == 3) { var %k = 589h35-9u8361-736n38-10hj05 }
- if (%r == 4) { var %k = 326620-r6co92-4j2g0r-93784p }
- if (%r == 5) { var %k = x46397-z46706-b39969-135l05 }
- if (%r == 6) { var %k = 2396u4-056176-691304-1s3197 }
- var %v1 = scaninfo1_ $+ $ticks $+ _ $+ $md5(%nick)
- JSONOpen -u %v1 https://proxycheck.io/v2/ $+ %ip $+ ?key= $+ %k $+ &vpn=1&asn=1&time=1&inf=1&days=7
- if ($JSONError) { JSONClose %v1 | goto next_2 }
- var %country_name = $json(%v1,%ip,country).value
- var %country_code = $json(%v1,%ip,isocode).value
- var %proxy = $json(%v1,%ip,proxy).value
- JSONClose %v1
- if (%proxy !== yes) { var %proxy = 0 }
- elseif (%proxy == yes) { var %proxy = 1 }
- if (%proxy !== $null) && (%country_name) && (%country_code) { goto save }
- :next_2
- var %r = $rand(1,2)
- if (%r == 1) { var %k = Mjk1NDpadFdlVk02QUp2eWgybFFFNk4xREl5WTlHOTc2dFJ5Vg== }
- if (%r == 2) { var %k = Mjk1NTpYRnpLdFhlQ2dGYmdSanBvRzBWaHp5dG1ZR3JLYlZ0eQ== }
- var %v2 = scaninfo2_ $+ $ticks $+ _ $+ $md5(%nick)
- JSONOpen -uw %v2 http://v2.api.iphub.info/ip/ $+ %ip
- if ($JSONError) { JSONClose %v2 | goto next_3 }
- JSONHttpHeader %v2 X-Key %k
- JSONHttpFetch %v2
- if ($JSONError) { JSONClose %v2 | goto next_3 }
- var %proxy = $json(%v2,block).value
- var %country_name = $json(%v2,countryName).value
- var %country_code = $json(%v2,countryCode).value
- JSONClose %v2
- if (%proxy) && (%country_name) && (%country_code) { goto save }
- :next_3
- var %r = $rand(1,5)
- if (%r == 1) { var %k = rkyn3BuN4AiRRGbcrjNiRMNypuSkPLtu }
- if (%r == 2) { var %k = 2fsQsrrmLzay2zwAq7ruNNOAbsj0345x }
- if (%r == 3) { var %k = 5mrz0QQcX5mJ2hSfS1BCxYBB7kyGcrF4 }
- if (%r == 4) { var %k = I3K5eOA4SemTYOpccmEU9o4HwGt2BWS4 }
- if (%r == 5) { var %k = GgxSzAXDadyNjlFqBB5GbTfaFdoorjU2 }
- var %v3 = scaninfo3_ $+ $ticks $+ _ $+ $md5(%nick)
- JSONOpen -u %v3 https://ipqualityscore.com/api/json/ip/ $+ %k $+ / $+ %ip $+ ?strictness=1
- if ($JSONError) { JSONClose %v3 | return }
- var %proxy = $json(%v3,proxy).value
- var %country_name = $json(%v3,region).value
- var %country_code = $json(%v3,country_code).value
- JSONClose %v3
- :save
- if (!$hget(CONNECTS_INFO)) { hmake CONNECTS_INFO 10000 }
- hadd CONNECTS_INFO %nick %proxy $iif(%country_code,$v1,N/A) $iif(%country_name,$v1,N/A)
- window -e @CONNECTING
- if (%glineproxy_onconnect) && (!$ulist(%ip,exemp,1)) { var %gline = 1 }
- if (%glineproxy_onconnect) && (%country_code isletter) && (!$ulist(%country_code,country,1)) { var %gline = 2 }
- if (%gline) {
- .quote zline *@ $+ %ip 1m : 6Defense Security Service Of Intelligence
- echo -t @CONNECTING 10-- Client 10[ 4G-Line 10] 10due4 %type 10connecting4 %nick $+ 5 %addr 10(4 $+ %ip $+ 10 ) $iif(%ssl,10SSL4 Yes) 10from4 $iif(%country_code isletter,$v1,N/A)
- }
- else { echo -t @CONNECTING 10-- Client4 %type 10connecting4 %nick $+ 5 %addr 10(4 $+ %ip $+ 10) $iif(%ssl,10SSL4 Yes) 10from4 $iif(%country_code isletter,$v1,N/A) }
- }
- ON ^!*:JOIN:#: {
- haltdef
- var %con_info = $hget(CONNECTS,$nick)
- var %con_extra_info = $hget(CONNECTS_INFO,$nick)
- var %ip = $gettok(%con_info,2,32)
- var %addr = $gettok(%con_info,1,32)
- var %ssl = $gettok(%con_info,4,32)
- var %proxy = $gettok(%con_extra_info,1,32)
- var %country_name = $gettok(%con_extra_info,3,32)
- var %country_code = $gettok(%con_extra_info,2,32)
- if (!%country_code) { .timer[SCAN_ $+ $nick $+ _JOIN] -h 1 1000 join_rescan $nick }
- var %clones = $ial(*@ $+ $gettok(%addr,2,64) $+ ,0)
- if (%clones == 1) || (%clones == 0) { unset %clones }
- if (!%clones) { var %clones = $ial(*@ $+ $gettok($address($nick,0),2,64) $+ ,0) }
- if (%clones == 1) || (%clones == 0) { unset %clones }
- if (%addr) { echo -tc join $chan * $iif(%clones,Joins4 $ord(%clones) clone:,Joins:) $nick ( $+ $gettok($address($nick,0),2,33) $+ ) 5 $+ $gettok(%addr,2,64) [7 $+ %ip $+ ] $iif(%ssl,with 13SSL) $iif(%country_name && %country_code,4 $+ %country_name $+ (4 $+ %country_code $+ )) }
- else { echo -tc join $chan * $iif(%clones,Joins4 $ord(%clones) clone:,Joins:) $nick ( $+ $gettok($address($nick,0),2,33) $+ ) }
- if (%glineproxy_onjoin) && (%proxy) && (%ip) && (%country_code) && (!$ulist(%ip,exemp,1)) { var %gline = 1 }
- if (%glineproxy_onjoin) && (%proxy) && (%ip) && (%country_code) && (!$ulist(%country_code,country,1)) { var %gline = 2 }
- if (%gline) {
- .quote zline *@ $+ %ip 1m 5Defense Security Service Of Intelligence 4: 6IP Juaj $3 U Kap Si 4PROXY5/4SOCK5/4VPN }
- }
- alias join_rescan {
- if (!$1) { return }
- var %con_info = $hget(CONNECTS,$1)
- var %con_extra_info = $hget(CONNECTS_INFO,$1)
- var %ip = $gettok(%con_info,2,32)
- var %proxy = $gettok(%con_extra_info,1,32)
- var %country_code = $gettok(%con_extra_info,2,32)
- if (%glineproxy_onjoin) && (%proxy) && (%ip) && (%country_code) && (!$ulist(%ip,exemp,1)) { var %gline = 1 }
- if (%glineproxy_onjoin) && (%proxy) && (%ip) && (%country_code) && (!$ulist(%country_code,country,1)) { var %gline = 2 }
- if (%gline) {
- .quote zline *@ $+ %ip 1m 5Defense Security Service Of Intelligence 4: 6IP Juaj $3 U Kap Si 4PROXY5/4SOCK5/4VPN }
- }
- raw 311:*: {
- haltdef
- if (%banchan) && ($2 == $gettok(%banchan,1,32)) && ($me ison $gettok(%banchan,2,32)) && ($me isop $gettok(%banchan,2,32)) && (*mibbit.com* !iswm $6-) && (*Bisedo.com* !iswm $6-) && (*Nastradini.com* !iswm $6-) && (*Kupidi.com* !iswm $6-) {
- mode $gettok(%banchan,2,32) +b ~r:* $+ $replace($6-,$chr(32),_) $+ *
- halt
- }
- window -e @WHOIS
- linesep @WHOIS
- echo -t @WHOIS 10:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-[4WHOIS10]-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:
- echo -t @WHOIS $+ $2 is $wraw_col($3 $+ @ $+ $4-5)
- echo -t @WHOIS Realname4: 10 $+ $6-
- }
- raw 379:*: {
- haltdef
- if ($gettok(%banchan,1,32) == $2) { halt }
- echo -t @WHOIS $+ $2 $+ $wraw_col($3-)
- }
- raw 378:*: {
- haltdef
- if ($gettok(%banchan,1,32) == $2) { halt }
- var %con_extra_info = $hget(CONNECTS_INFO,$2)
- var %addr = $gettok($hget(CONNECTS,$2),1,32)
- var %proxy = $gettok(%con_extra_info,1,32)
- var %country_name = $gettok(%con_extra_info,3,32)
- var %country_code = $gettok(%con_extra_info,2,32)
- var %clones = $ial(*@ $+ $gettok(%addr,2,64) $+ ,0)
- if (%clones == 1) || (%clones == 0) { unset %clones }
- if (!%clones) { var %clones = $ial(*@ $+ $gettok($address($2,0),2,64) $+ ,0) }
- if (%clones == 1) || (%clones == 0) { unset %clones }
- echo -t @WHOIS $+ $2 $+ $wraw_col($3- $iif(%proxy,$chr(40) $+ OPEN PROXY $+ $chr(41)))
- echo -t @WHOIS $+ $2 is also connected $iif(%proxy,with proxy) $wraw_col(from %country_name ( $+ %country_code $+ ))
- if (%clones) { echo -t @WHOIS $+ $2 has also %clones clones connected on the network. }
- }
- raw 307:*: {
- haltdef
- if ($gettok(%banchan,1,32) == $2) { halt }
- echo -t @WHOIS $+ $2 $+ $3-
- }
- raw 319:*: {
- haltdef
- if ($gettok(%banchan,1,32) == $2) { halt }
- echo -t @WHOIS $+ $2 $+ on $wraw_common_chans($3-)
- }
- raw 312:*: {
- haltdef
- if ($gettok(%banchan,1,32) == $2) { halt }
- echo -t @WHOIS $+ $2 $+ using $wraw_col($3) $4-
- }
- raw 313:*: {
- haltdef
- if ($gettok(%banchan,1,32) == $2) { halt }
- echo -t @WHOIS $+ $2 $+ $wraw_col($3-)
- }
- raw 301:*: {
- haltdef
- if ($gettok(%banchan,1,32) == $2) { halt }
- echo -t @WHOIS $+ $2 $+ is away: $3-
- }
- raw 671:*: {
- haltdef
- if ($gettok(%banchan,1,32) == $2) { halt }
- echo -t @WHOIS $+ $2 $+ $wraw_col($3- $chr(40) $+ SSL $+ $chr(41) $+ ))
- }
- raw 320:*: {
- haltdef
- if ($gettok(%banchan,1,32) == $2) { halt }
- echo -t @WHOIS $+ $2 $+ $3-
- }
- raw 330:*: {
- haltdef
- if ($gettok(%banchan,1,32) == $2) { halt }
- echo -t @WHOIS $+ $2 $+ $5- $3
- }
- raw 276:*: {
- haltdef
- if ($gettok(%banchan,1,32) == $2) { halt }
- echo -t @WHOIS $+ $2 $+ $right($3-,-1)
- }
- raw 335:*: {
- haltdef
- if ($gettok(%banchan,1,32) == $2) { halt }
- echo -t @WHOIS $+ $2 $+ $wraw_col($3-5 $chr(40) $+ +B $+ $chr(41) $6-)
- }
- raw 317:*: {
- haltdef
- if ($gettok(%banchan,1,32) == $2) { halt }
- echo -t @WHOIS 10 $+ Entered4:10 $asctime($4,dddd dd/mm/yyyy HH:nn:ss)
- echo -t @WHOIS 10 $+ Idle Time4: 10 $duration($3) $3
- echo -t @WHOIS 10 $+ Online Time4: 10 $duration($calc($ctime - $4))
- }
- raw 318:*: {
- haltdef
- if ($gettok(%banchan,1,32) == $2) { unset %banchan | halt }
- if ($ial($address($2,2),0) > 1) echo -t @WHOIS 4>> $+ 10Eshte Ne te Njejten Adrese Me Nick : 7(4 $gettok($ial($address($2,2),1),1,33) $gettok($ial($address($2,2),2),1,33) $gettok($ial($address($2,2),3),1,33) $gettok($ial($address($2,2),4),1,33) $gettok($ial($address($2,2),5),1,33) $gettok($ial($address($2,2),6),1,33) $gettok($ial($address($2,2),7),1,33) 7)
- echo -t @WHOIS 10:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:[4END10]-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:
- window -a @WHOIS
- linesep @WHOIS
- }
- raw 310:*: {
- haltdef
- if ($gettok(%banchan,1,32) == $2) { halt }
- }
- alias wraw_col {
- if (!$1) { return }
- return $replace($1-,.,$+($chr(3),4.,$chr(3),$chr(2),$chr(2)),@,$+($chr(3),4@,$chr(3),$chr(2),$chr(2)),~,$+($chr(3),4~,$chr(3),$chr(2),$chr(2)),*,$+($chr(3),4*,$chr(3),$chr(2),$chr(2)),$chr(40),$+($chr(3),4,$chr(40),$chr(3),$chr(2),$chr(2)),$chr(41),$+($chr(3),4,$chr(41),$chr(3),$chr(2),$chr(2)),!,$+($chr(3),4!,$chr(3),$chr(2),$chr(2)),^,$+($chr(3),4^,$chr(3),$chr(2),$chr(2)),&,$+($chr(3),4&,$chr(3),$chr(2),$chr(2)),_,$+($chr(3),4_,$chr(3),$chr(2),$chr(2)),-,$+($chr(3),4-,$chr(3),$chr(2),$chr(2)),+,$+($chr(3),4+,$chr(3),$chr(2),$chr(2)),=,$+($chr(3),4=,$chr(3),$chr(2),$chr(2)),\,$+($chr(3),4\,$chr(3),$chr(2),$chr(2)),|,$+($chr(3),4|,$chr(3),$chr(2),$chr(2)),$chr(35),$+($chr(3),4#,$chr(3),$chr(2),$chr(2)),$chr(36),$+($chr(3),4$,$chr(3),$chr(2),$chr(2)),%,$+($chr(3),4%,$chr(3),$chr(2),$chr(2)),[,$+($chr(3),4[,$chr(3),$chr(2),$chr(2)),],$+($chr(3),4],$chr(3),$chr(2),$chr(2)),`,$+($chr(3),4`,$chr(3),$chr(2),$chr(2)),:,$+($chr(3),4:,$chr(3),$chr(2),$chr(2)),;,$+($chr(3),4;,$chr(3),$chr(2),$chr(2)),",$+($chr(3),4",$chr(3),$chr(2),$chr(2)),',$+($chr(3),4',$chr(3),$chr(2),$chr(2)),<,$+($chr(3),4<,$chr(3),$chr(2),$chr(2)),>,$+($chr(3),4>,$chr(3),$chr(2),$chr(2)),$chr(44),$+($chr(3),4 $+ $chr(44),$chr(3),$chr(2),$chr(2)),?,$+($chr(3),4?,$chr(3),$chr(2),$chr(2)),/,$+($chr(3),4/,$chr(3),$chr(2),$chr(2)),$chr(123),$+($chr(3),4{,$chr(3),$chr(2),$chr(2)),$chr(125),$+($chr(3),4},$chr(3),$chr(2),$chr(2)))
- }
- alias wraw_common_chans {
- if (!$1-) { return }
- var %old = $wraw_col($1-)
- var %t = $numtok(%old,32)
- var %i = 1
- while (%i <= %t) {
- var %c = $gettok(%old,%i,32)
- if (%c) && ($me ison $strip($remove(%c,~,@,%,&,+,!))) { var %old = $replacecs(%old,%c,$chr(2) $+ %c $+ $chr(2)) }
- inc %i
- }
- return $iif(%tot,$v1,%old)
- }
- ON *:OPEN:?:*: { whois $nick }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement