Forum

Notifications
Clear all

nmap.tcl


just nobody
(@nobody)
Active Member
Joined: 2 months ago
Posts: 6
Topic starter  

idk if this free or $..

 

can you modify or make a nmap.tcl ( for nmap command )

1. while the nmap command is running no one can send another request

2. maybe speed matters

 

my problem is the bot dies when im using the STOCK nmap.tcl from the web

 

bind pub - !nmap port_scan
proc port_scan {nick uhost handle chan args} {
putserv "PRIVMSG $chan : Scanning $args wait boss,lagi gua cari dulu soalnya ga enak sama bang Galang!"
global data_var
set data_var [exec nmap $args]
set l [split $data_var "\r\n"]
foreach i $l { puthelp "PRIVMSG $chan : $i " }
putlog "<<$chan>> !$handle! !nmap"
}
putlog "s4ve !nmap loaded.."
This topic was modified 2 months ago by BLaCkShaDoW

Quote
BLaCkShaDoW
(@blackshadow)
Member Admin
Joined: 10 months ago
Posts: 85
 

the nmap command does that because the eggdrop runs the nmap command and then waits untill the command is finished and thats why it freezez. Cant make it more fast.


ReplyQuote
just nobody
(@nobody)
Active Member
Joined: 2 months ago
Posts: 6
Topic starter  

appreciated, noted


ReplyQuote
just nobody
(@nobody)
Active Member
Joined: 2 months ago
Posts: 6
Topic starter  

btw is there any option that the bot cannot be killed during the process?


ReplyQuote
BLaCkShaDoW
(@blackshadow)
Member Admin
Joined: 10 months ago
Posts: 85
 

well i dont thing the bots kills himself, it just ping timeouts and not joining until it finishes what it has to do.


ReplyQuote
just nobody
(@nobody)
Active Member
Joined: 2 months ago
Posts: 6
Topic starter  

yeah that's my observation too, btw can i make a request where if someone send a command already the bot will not responds the request of the nmap to avoid being abused

 

 


ReplyQuote
Share: