Quote:
Originally Posted by qebab
The hypothetical script we are talking about should clearly be disallowed for the single reason that extending an IRC client to automatically open all links that start with http://game.planetarion is trivial. In python, you'd say
Code:
import webbrowser
if link.startswith("http://game.planetarion"): webbrowser.open(link)
Assuming that there is a variable called link. This is here only for illustration.
It is trivial to make clients like x-chat, irssi and mIRC automatically open links, which actually gives you a botnet. Admittedly only for two hours at a time, but I don't think it should be very hard to come up with a way to get around this.
|
It's also trivial to simple write a script that sends a full HTTP request (as such, dear Phil^, your statement of 'simply switch GET vars to POST vars' does not really cut it there), then fetches the results and passes them back on to your IRC client. The API for such things is available on almost every system.