Go Back   Wireless and Wifi Forums > News > Newsgroups > alt.internet.wireless
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #61 (permalink)  
Old 01-17-2008, 11:05 AM
stuart.t.taylor@gmail.com
Guest
 
Posts: n/a
Default Re: Script to disconnect Linksys WRT54G wireless router on Windows

I stumbled across this posting quite by chance.

I don't own that router, but what you are trying to archive is a cake
walk for perl even without the mechanize stuff.

Your main problem is that your are focusing on the perl and not on the
html that controls the router. I see you posted the complete source of
the page, but i'll be buggered if i work my way through that for you,
after all i have no interest in your "project" other than to nudge you
in the right direction.

You need to go back to square one.

Get firefox if haven't got it already, and install the live headers
plugin.
The with the plugin activated, browse to the page and click the button
as you normally would.
You should now have captured all of the conversation between your
browser and you router. Among the general noise of HTTP will be the
small requests actually required to send the connect / disconnect
command to the router.

At the end of the day, the button are on an html form (regardless of
the javascript functions) and they will submit some data to the router
via get or post, and you need to determine what that is.

Recreating the steps in perl will be trivial (you will kick yourself).

Good luck.

Stuart


On 26 Nov 2007, 14:37, Wilson <davewilso...@sbcglobal.net> wrote:
> On Mon, 26 Nov 2007 05:41:09 -0800, Wilson wrote:
> > The way I tested that was to set it to http instead of https

>
> Drat. Failed again.
> Does anyone know what a "read timeout" is telling me?
> Wilson
>
> C:\perl>fixrouter.pl
> 500 read timeout
> Content-Type: text/plain
> Client-Date: Mon, 26 Nov 2007 14:17:22 GMT
> Client-Warning: Internal response
>
> 500 read timeout



Reply With Quote
  #62 (permalink)  
Old 01-17-2008, 05:14 PM
John Navas
Guest
 
Posts: n/a
Default Re: Script to disconnect Linksys WRT54G wireless router on Windows

You omitted the security issue. Leaving the router wide open for a Perl
script is like unprotected sex, and the security programming in Perl is
non-trivial to do safely.


On Thu, 17 Jan 2008 03:05:57 -0800 (PST), stuart.t.taylor@gmail.com
wrote in
<ffe2e64d-2987-4951-923a-9bfcacf91037@h11g2000prf.googlegroups.com>:

>I stumbled across this posting quite by chance.
>
>I don't own that router, but what you are trying to archive is a cake
>walk for perl even without the mechanize stuff.
>
>Your main problem is that your are focusing on the perl and not on the
>html that controls the router. I see you posted the complete source of
>the page, but i'll be buggered if i work my way through that for you,
>after all i have no interest in your "project" other than to nudge you
>in the right direction.
>
>You need to go back to square one.
>
>Get firefox if haven't got it already, and install the live headers
>plugin.
>The with the plugin activated, browse to the page and click the button
>as you normally would.
>You should now have captured all of the conversation between your
>browser and you router. Among the general noise of HTTP will be the
>small requests actually required to send the connect / disconnect
>command to the router.
>
>At the end of the day, the button are on an html form (regardless of
>the javascript functions) and they will submit some data to the router
>via get or post, and you need to determine what that is.
>
>Recreating the steps in perl will be trivial (you will kick yourself).
>
>Good luck.
>
>Stuart
>
>
>On 26 Nov 2007, 14:37, Wilson <davewilso...@sbcglobal.net> wrote:
>> On Mon, 26 Nov 2007 05:41:09 -0800, Wilson wrote:
>> > The way I tested that was to set it to http instead of https

>>
>> Drat. Failed again.
>> Does anyone know what a "read timeout" is telling me?
>> Wilson
>>
>> C:\perl>fixrouter.pl
>> 500 read timeout
>> Content-Type: text/plain
>> Client-Date: Mon, 26 Nov 2007 14:17:22 GMT
>> Client-Warning: Internal response
>>
>> 500 read timeout


--
Best regards, FAQ for Wireless Internet: <http://Wireless.wikia.com>
John Navas FAQ for Wi-Fi: <http://wireless.wikia.com/wiki/Wi-Fi>
Wi-Fi How To: <http://wireless.wikia.com/wiki/Wi-Fi_HowTo>
Fixes to Wi-Fi Problems: <http://wireless.wikia.com/wiki/Wi-Fi_Fixes>

Reply With Quote
Sponsored Links
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
WRT54G as wireless bridge jch alt.internet.wireless 4 09-14-2007 12:03 AM
Help my Linksys WRT54G router was broken into using the "curl" command Debbie Hurley alt.internet.wireless 51 07-14-2007 06:42 PM
Help my Linksys WRT54G router was broken into using the "curl" command Debbie Hurley alt.computer.security 46 07-14-2007 06:42 PM
Don't fall victim to the 'Free Wi-Fi' scam Ablang alt.internet.wireless 5 02-04-2007 09:44 AM
From Internet to Wireless Fidelity (Wi-Fi): A Study of Wi-Fi Public Hotspots Users. EsPUdeh@gmail.com alt.internet.wireless 1 07-31-2006 09:26 PM


All times are GMT. The time now is 08:45 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45