egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Suitable binding to check for DCC send/resume
Goto page Previous  1, 2
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Mon Jun 04, 2007 4:04 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Sedition
Voice


Joined: 14 Dec 2011
Posts: 16
Location: Bolivia, Beni, Trinidad / DALnet

PostPosted: Sun Sep 14, 2014 8:39 pm    Post subject: Reply with quote

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 Laughing
_________________
good I wait for all that he learns more on tcl thanks for shaping a solid group of help
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help All times are GMT - 4 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
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


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber