[hobbit] RE: website login-help Needed.

Ralph Mitchell ralphmitchell at gmail.com
Thu Oct 30 07:32:32 CET 2008


I think you pretty much got it - grab the first page, extract the login
form, post it back.  Lather, rinse, repeat.

I use curl to grab the pages, rather than links, but the principal is the
same.  Curl has bindings for perl, php, and othe languages, as well as a C
library.

Ralph Mitchell


On Wed, Oct 29, 2008 at 6:23 PM, Everett, Vernon <
Vernon.Everett at woodside.com.au> wrote:

>  Hi
>
> In a previous job, we had a similar requirement, and I was unable to find a
> way round this problem.
> I eventually wrote a custom hobbit script, that used links (a text based
> web browser) with a links script to navigate the web page, enter the login
> info, and then check the output.
>
> It's a more complex solution than you probably want, but it worked.
> If anybody has a better solution, I am all for it.
>
> Regards
>     Vernon
>
>  ------------------------------
> *From:* Perumal, Santoshbabu [mailto:santoshbabu_perumal at platts.com]
> *Sent:* Thursday, 30 October 2008 12:56 AM
> *To:* hobbit at hswn.dk
> *Subject:* [hobbit] website login-help Needed.
>
>   HI hobbit gurus,
>
>    Is there any way that we can monitor website logins. I know there is a
> way if the URL requires authentication we can use
>
> http://USERNAME:PASSWORD@www.sample.com/
>
> If URL does not require authentication (uname and passwd) to get the page.
> But after get the page it has SIGN IN boxes which I need to check
> periodically by giving username and password. is this possible using hobbit.
> Please help here.
>
> Thanks
>
> Santhoshbabu Perumal
>
> Unix system Administrator
>
> System Engineering, GO & I
>
> The Mcgraw-Hill companies
>
> HTS East Windsor, NJ
>
> 609-371-6317 (Desk)
>
> 609-385-5016 (work cell)
>
>   ------------------------------
>
> The information contained in this message is intended only for the
> recipient, and may be a confidential attorney-client communication or may
> otherwise be privileged and confidential and protected from disclosure. If
> the reader of this message is not the intended recipient, or an employee or
> agent responsible for delivering this message to the intended recipient,
> please be aware that any dissemination or copying of this communication is
> strictly prohibited. If you have received this communication in error,
> please immediately notify us by replying to the message and deleting it from
> your computer.  The McGraw-Hill Companies, Inc. reserves the right, subject
> to applicable local law, to monitor and review the content of any electronic
> message or information sent to or from McGraw-Hill employee e-mail addresses
> without informing the sender or recipient of the message.
>  ------------------------------
>
> NOTICE: This email and any attachments are confidential.
> They may contain legally privileged information or
> copyright material. You must not read, copy, use or
> disclose them without authorisation. If you are not an
> intended recipient, please contact us at once by return
> email and then delete both messages and all attachments.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20081030/9bd7f4ec/attachment.html>


More information about the Xymon mailing list