| View previous topic :: View next topic |
| Author |
Message |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Mon Jun 04, 2007 4:04 pm Post subject: |
|
|
| nml375 wrote: | | Never heard of opnotice, but then again I do not use services such as chanserv... However, this being a service, means that it will not trigger notc-bindings, virtually making the @#-matching useless... |
When /onotice is used, @#channel is received instead of just #channel (on DALnet, don't know about other networks).
| nml375 wrote: | Finally, would'nt it just be simpler matching something like this?:
| Code: | | string match "DCC Send % (%)" $text |
|
A file name may contain spaces, so % won't match it in this case. So it's better to use "dcc send * (%)" (in bind, case won't matter).
But as you said, using bind ctcp is the best solution. It does work on DALnet, I tried it myself. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
Sedition Voice
Joined: 14 Dec 2011 Posts: 16 Location: Bolivia, Beni, Trinidad / DALnet
|
Posted: Sun Sep 14, 2014 8:39 pm Post subject: |
|
|
| Sir_Fz wrote: | | nml375 wrote: | | Never heard of opnotice, but then again I do not use services such as chanserv... However, this being a service, means that it will not trigger notc-bindings, virtually making the @#-matching useless... |
When /onotice is used, @#channel is received instead of just #channel (on DALnet, don't know about other networks).
| nml375 wrote: | Finally, would'nt it just be simpler matching something like this?:
| Code: | | string match "DCC Send % (%)" $text |
|
A file name may contain spaces, so % won't match it in this case. So it's better to use "dcc send * (%)" (in bind, case won't matter).
But as you said, using bind ctcp is the best solution. It does work on DALnet, I tried it myself. |
to me me the code like that works well:
bind ctcp - DCC check_send
proc check_send {nick host hand dest key text} {
set subkey [lindex [split $text] 0]
if {[string equal -nocase $subkey "send"]} {
foreach chan [channels] {
pushmode $chan +b "*!*@[lindex [split $host "@"] end]"
putkick $chan $nick "Unsolisticed dcc send requested. Banning..."
}
return 1
}
return 0
}
but it does not work pushing the attacks back dcc for xploits someone helps me please.. example that pushes back the dcc that are sent by texts as well as make it the xploits
[20:22] <(Kantuta> [01:23:28] [miguelito!~miguelito@190.129.197.165] DCC SeND "+ h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h + h
this is an example of attack xploit but the tcl does not recognize such attacks and does not punish
he would be grateful to them very much if friends help me thank you  _________________ good I wait for all that he learns more on tcl thanks for shaping a solid group of help |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|