[hobbit] URLplus

Morsiani, Massimo massimo.morsiani at gilbarco.com
Thu Jun 25 19:20:11 CEST 2009


Hi Darryl,

I'm interested in 
- go to a web page
- insert username/password to login
- surf the web site following specific links
- grab some data from a specific web page
- check the grabbed data (ie if GRABBED_DATA < MY_THRESHOLD then alert)

Thanks.


Regards.

Massimo Morsiani
Information Technology Dept.
------
Gilbarco S.r.l.
via de' Cattani, 220/G
50145 Firenze, Italy
tel:	+39-055-30941
fax:	+39-055-318603
email:	massimo.morsiani at gilbarco.com
web:	http://www.gilbarco.it


-----Original Message-----
From: Darryl Wisneski [mailto:dkw at trilegiant.com] 
Sent: martedì 23 giugno 2009 20.39
To: hobbit at hswn.dk
Subject: Re: [hobbit] URLplus

On Tue, Jun 23, 2009 at 10:19:44AM -0400, Gary Baluha wrote:
> 
>    I haven't checked The Shire in a while, but I think it still has an
>    older version.  I personally haven't been working on URLPlus for a few
>    months (actually, I left the company I was using the script at), but a
>    former coworker of mine has taken the task of updating the code.  I
>    will check with him to see where he's at. Also, I do plan on getting
>    back to developing it, hopefully in the near future (sometime later
>    this year).

Massimo:

What exactly are you looking for out of urlplus?

I am working on changing urlplus to use libcurl instead of the using the curl command line tool.  Some website monitoring I needed involved using shared session data (in a nefarious cross-site scripting way, but that is what our app was doing) and hitting multiple links on a website with the same initial login authentication session data.  You can only do the shared cookies/session stuff with libcurl.

I am using a bare bones perl/libcurl script to do the aforementioned monitoring now and have not yet plugged it into Gary's urlplus.
Furthermore, given the complexity of what I am trying to do with shared session login the urlplus configuration file layout has to be looked at again.

We'll keep the list posted on any progress.

Gary has a 1.22 version laying around but I am not sure what's changed and it's a year old already.

Regards,
-dkw


> 
>    On Mon, Jun 22, 2009 at 4:59 AM, Morsiani, Massimo
>    <[1]massimo.morsiani at gilbarco.com> wrote:
> 
>    Hi Gary,
> 
>    is there any new URLPlus version?
>    I'm currently using v1.21 ($Id: url-plus.pl,v 1.21 2008/04/30
>    13:56:07).
> 
>    Thanks.
> 
> 
>    Regards.
> 
>    Massimo Morsiani
>    Information Technology Dept.
>    ------
>    Gilbarco S.r.l.
>    via de' Cattani, 220/G
>    50145 Firenze, Italy
>    tel:    +39-055-30941
>    fax:    +39-055-318603
>    email:  [2]massimo.morsiani at gilbarco.com
>    web:    [3]http://www.gilbarco.it
>      _________________________________________________________________
> 
>    From: Gary Baluha [mailto:[4]gumby3203 at gmail.com]
>    Sent: mercoledì 30 aprile 2008 16.13
>    To: [5]hobbit at hswn.dk
>    Subject: Re: [hobbit] URLplus
>    I have an updated version of URLPLus which supports single-form
>    submissions.
>    I haven't gotten around to being able to submit directly to The Shire,
>    so I'm attaching it here.
>    I've also updated this to do multi-page checking (i.e. full
>    "end-to-end" transaction monitoring), but consider that feature mostly
>    experimental at this time.
>    On Wed, Apr 30, 2008 at 4:16 AM, Thomas Laurids Pedersen
>    <[6]tlp at mach.com> wrote:
> 
>    Would you share the bourne script. I need something quickly for only 1
>    site at the moment, so anything will do.
>    Regards, Thomas
>    Inactive hide details for "Ralph Mitchell" <ralphmitchell at gmail.com>
>    "Ralph Mitchell" <[7]ralphmitchell at gmail.com>
> 
>    "Ralph Mitchell" <[8]ralphmitchell at gmail.com>
>        29-04-2008 22:04
> 
>                              Please respond to
>                              [9]hobbit at hswn.dk
> 
>                                                                        
> To
> 
>    [10]hobbit at hswn.dk
> 
>                                                                        
> cc
> 
>                                                                   
> Subject
> 
>    Re: [hobbit] URLplus
>    On Tue, Apr 29, 2008 at 2:28 PM, Thomas Laurids Pedersen
>    <[11]tlp at mach.com> wrote:
> 
>    Can this new extension do the post like the builtin http test can do ?
>        Regards, Thomas
> 
>    I don't think so, as it currently stands. This line:
>    $ret=qx(curl -m $tout -s -k -S $pstr "$url" 2>&1);
>    in showUrl is the bit that actually fetches the web page. To do a POST
>    using curl, you would need to change that to:
>    $ret=qx(curl -m $tout -s -k -S -d $postArgs $pstr "$url" 2>&1);
>    with matching additions elsewhere to fill the $postArgs variable with
>    whatever you want to post. If you're wanting to implement something
>    that performs a login, you'd probably want to track cookies as well.
>    I'm not much of a perl programmer, so I'm not confident about making
>    such changes. On the other hand, I've done quite a lot of this in
>    Bourne shell...
>    Ralph Mitchell
> 
>    Please be advised that this email may contain confidential
>    information.
>    If you are not the intended recipient, please do not read, copy or
>    re-transmit this email. If you have received this email in error,
>    please notify us by email by replying to the sender and by telephone
>    (call us collect at +1 202-828-0850) and delete this message and any
>    attachments. Thank you in advance for your cooperation and assistance.
>    In addition, Danaher and its subsidiaries disclaim that the content of
>    this email constitutes an offer to enter into, or the acceptance of,
>    any
>    contract or agreement or any amendment thereto; provided that the
>    foregoing disclaimer does not invalidate the binding effect of any
>    digital or other electronic reproduction of a manual signature that is
>    included in any attachment to this email.
> 
> References
> 
>    1. mailto:massimo.morsiani at gilbarco.com
>    2. mailto:massimo.morsiani at gilbarco.com
>    3. http://www.gilbarco.it/
>    4. mailto:gumby3203 at gmail.com
>    5. mailto:hobbit at hswn.dk
>    6. mailto:tlp at mach.com
>    7. mailto:ralphmitchell at gmail.com
>    8. mailto:ralphmitchell at gmail.com
>    9. mailto:hobbit at hswn.dk
>   10. mailto:hobbit at hswn.dk
>   11. mailto:tlp at mach.com




To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk




Please be advised that this email may contain confidential information.
 If you are not the intended recipient, please do not read, copy or
re-transmit this email.  If you have received this email in error,
please notify us by email by replying to the sender and by telephone
(call us collect at +1 202-828-0850) and delete this message and any
attachments.  Thank you in advance for your cooperation and assistance.

In addition, Danaher and its subsidiaries disclaim that the content of
this email constitutes an offer to enter into, or the acceptance of, 
any
contract or agreement or any amendment thereto; provided that the
foregoing disclaimer does not invalidate the binding effect of any
digital or other electronic reproduction of a manual signature that is
included in any attachment to this email.



More information about the Xymon mailing list