[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] RE: website login-help Needed.
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] RE: website login-help Needed.
- From: "Ralph Mitchell" <ralphmitchell (at) gmail.com>
- Date: Thu, 30 Oct 2008 01:32:32 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=FYrr1+acrx/34LKNczyzG4ZHx3YIB+TLiXca1YwlgDc=; b=A4sCoD/T86FtgkQrxXm1XMylnzAH5UJBaAY9q0DOFfTQ/RB1ksOJP/GDI4BnVWh5yS yZ/L4hEWoNdDvLB2U1oSgpAFT/hzxw9iiN1tYujbzizYwx28fF1HDLowxlj0hwS7IzsY NBILJBNhwnN3KdOU6Z6mA4xwlG3SEBfX0PIe4=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=I/Upl7dulVEDWYcO1OA0hXfcBYhSGJcUCidqIy/W+fQlQOwWewLFVMRAa513Ib/qw0 MiF0IJ9mtU2PhAJZDjCsRL4c3x2RmrfxZnwBnBBVF5db5wxq7Cl8jlUtpQ7Ee489+mFz QAnSXzLdGtzDdxRNcXw0CLNZgjOb3fCzsv+rU=
- References: <9EC0D718B857454E92983981CCDCCE70060074 (at) NJ09EXM508.mhf.mhc> <A3D12FAD74FC8B46991703F40C182BAB39B9C435 (at) permls102.wde.woodside.com.au>
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 (at) 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.
>
>