HTTP and Web Form based Auth

Randal, Phil prandal at herefordshire.gov.uk
Thu May 28 22:18:00 CEST 2009


Same here.

I did have to apply this patch to get it to work properly with NTLM
authentication:

# diff -Naur webinject.pl /usr/local/webinject/webinject.pl
--- webinject.pl        2006-01-04 18:10:30.000000000 +0000
+++ /usr/local/webinject/webinject.pl   2008-05-14 11:02:21.000000000
+0100
@@ -80,7 +80,7 @@
     whackoldfiles();  #delete files leftover from previous run (do this
here so they are whacked each run)

     #contsruct objects
-    $useragent = LWP::UserAgent->new;
+    $useragent = LWP::UserAgent->new(keep_alive=>1);
     $cookie_jar = HTTP::Cookies->new;
     $useragent->agent('WebInject');  #http useragent that will show up
in webserver logs
     $useragent->max_redirect('0');  #don't follow redirects for GET's
(POST's already don't follow, by default)


Cheers,

Phil

-----Original Message-----
From: Petersen, Mark [mailto:MPetersen at gs1us.org] 
Sent: 28 May 2009 20:46
To: Aaron McKinnon; Nagios Users Mailinglist
Subject: Re: [Nagios-users] HTTP and Web Form based Auth

I use webinject - http://www.webinject.org/plugin.html.

Mark

> -----Original Message-----
> From: Aaron McKinnon [mailto:mckinnon at caltech.edu]
> Sent: Thursday, May 28, 2009 11:22 AM
> To: Nagios Users Mailinglist
> Subject: [Nagios-users] HTTP and Web Form based Auth
> 
> How are folks checking site functionality with sites that use auth
> *other* than basic (apache) auth?
> I didn't find any plugins that support populating forms and posting.
> 
> Thanks.
> 
> -Aaron
> 
>
-----------------------------------------------------------------------
> -------
> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
> is a gathering of tech-side developers & brand creativity 
> professionals. Meet the minds behind Google Creative Lab, Visual 
> Complexity, Processing, & iPhoneDevCamp as they present alongside 
> digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. 
> http://p.sf.net/sfu/creativitycat-com
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when 
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null

------------------------------------------------------------------------
------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is
a gathering of tech-side developers & brand creativity professionals.
Meet the minds behind Google Creative Lab, Visual Complexity,
Processing, & iPhoneDevCamp as they present alongside digital
heavyweights like Barbarian Group, R/GA, & Big Spaceship.
http://p.sf.net/sfu/creativitycat-com
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when
reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list