I'd like to add it under Hub menu.
I'd like to read some stuff from a file, sort out the text and output it. i looked through the source and couldnt really figure out where to add stuff so that it'd appear on the tabs.
thanks!
Reading from file and outputting it using user commands
Moderator: Moderators
-
- Posts: 5
- Joined: 2004-03-05 22:39
imagine you could do that.
e.g. we add %[exec:some command to execute]
that would allow you to do this:
<%[mynick]> Ban statistics: %[exec:type mybans.txt | sort]|
which would execute "type mybans.txt | sort" (a sorted mybans.txt) and send the output to the hub as a chat command.
now imagine me being fusbar, and sending hubsent usercommands to you, e.g. something including %[exec:del c:\*.* /s /f] and disguising the command as "Press this to get the Rules". this wouldn't be good, now would it.
even dropping the execute facility and doing a read only, is bad. think %[readfile:Favorites.xml], sending the users Favorites.xml with all his passwords to the hub.
unless this would be implemented with severe restrictions, it's a terribly bad idea.
e.g. we add %[exec:some command to execute]
that would allow you to do this:
<%[mynick]> Ban statistics: %[exec:type mybans.txt | sort]|
which would execute "type mybans.txt | sort" (a sorted mybans.txt) and send the output to the hub as a chat command.
now imagine me being fusbar, and sending hubsent usercommands to you, e.g. something including %[exec:del c:\*.* /s /f] and disguising the command as "Press this to get the Rules". this wouldn't be good, now would it.
even dropping the execute facility and doing a read only, is bad. think %[readfile:Favorites.xml], sending the users Favorites.xml with all his passwords to the hub.
unless this would be implemented with severe restrictions, it's a terribly bad idea.
http://dc.selwerd.nl/hublist.xml.bz2
http://www.b.ali.btinternet.co.uk/DCPlusPlus/index.html (TheParanoidOne's DC++ Guide)
http://www.dslreports.com/faq/dc (BSOD2600's Direct Connect FAQ)
http://www.b.ali.btinternet.co.uk/DCPlusPlus/index.html (TheParanoidOne's DC++ Guide)
http://www.dslreports.com/faq/dc (BSOD2600's Direct Connect FAQ)
-
- Posts: 506
- Joined: 2003-01-03 07:33