Websites, Forms and Transactions

html form

Description:

html_form.pl – Authenticate a web page by filling in a form using browser emulation allowing javascript and cookies to be processed.

This script fills in the username and password boxes within a form and then searches the output for an expected string.

This script relies on WWW::HtmlUnit being installed

http://search.cpan.org/~awwaiid/WWW-HtmlUnit-0.15/lib/WWW/HtmlUnit.pm

Current Version

0.3

Last Release Date

2011-11-21

Compatible With

  • Nagios 2.x
  • Nagios 3.x
  • Nagios XI
  • Nagios Fusion

Owner

Tim

License

GPL


Project Files
Project Notes
This script requires that you know a bit about html and the way it works I have tried to document this as best I can as it is not a simple script. SYNOPSIS html_form.pl -w -c -u -f
-e (-p) (-d) Options: --help or -h This brief help message --man or -m Full documentation --warning or -w Time before a warning in seconds --critical or -c Time before going critical in seconds --url or -u The url of server (https://someserver.com) --form or -f The form string Formname&UserBoxName=username&PassBoxName=password&SubmitButtonName --expect or -e String to find in returned page --page or -p Show returned page --debug or -d File to redirect STDERR output to
Reviews (0) Add a Review
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
0 (0)
Favorites
1
Views
81,532