Author | Message | Time |
---|---|---|
Yoni | I wrote this to ensure LS (little sister) does not have Internet access between 23:00 and 10:00. It talks to the router via the user-friendly HTTP configuration interface. This script may be useful on other D-Link routers, but I have only this one so I can't tell. Enjoy! http://yoni.valhallalegends.com/stuff/LSKiller.py To use, make a file in the working directory called "router.txt". The first line of the file should contain the router admin username (by default, "admin"). The second line should contain the password, in plaintext. Sample usage: [code][18:30:09] C:\Projects\LSKiller>LSKiller.py add LSComp 00-11-2f-03-17-d8 Request sent. Router returned: "Settings Saved" [18:30:14] C:\Projects\LSKiller>LSKiller.py remove LSComp 00-11-2f-03-17-d8 Request sent. Router returned: "The entry has been deleted." [18:30:18] C:\Projects\LSKiller>LSKiller.py remove LSComp 00-11-2f-03-17-d8 The filter to remove was not found in the filter list![/code] Edit: Screenshot: [img]http://yoni.valhallalegends.com/stuff/LSKiller.png[/img] *evil grin* | June 4, 2005, 3:41 PM |
Yegg | Wow, very nice job Yoni. | June 5, 2005, 1:36 PM |
ColT | Thats really cool, nice job. | June 5, 2005, 2:31 PM |
UserLoser. | Ah hahahaha, what a brother | June 5, 2005, 11:55 PM |
Yegg | Lol, Userloser, that's what I was thinking. | June 6, 2005, 1:10 AM |
Newby | That's a very good idea. Teaches her when she should be online and whatnot. | June 6, 2005, 10:51 PM |