RE: Testing a web app with heavy JS use

From: Eyal Udassin (eyal@swiftcoders.com)
Date: Sat Sep 11 2004 - 16:05:13 EDT


Hi,

When facing an application with complex logic performed on the client, I
find that the most convenient way to test is to play by the rules when
submitting the input in the browser, allowing it to perform whatever checks
it wishes.
Simply intercept the request with a proxy and manipulate the fields in the
raw HTTP request. This is sometimes the only way to be able to intelligently
test the application as the JS code might add parameters or perform some
other critical functions that you might remove by accident when editing the
HTML.

Good luck,
Eyal Udassin.

-----Original Message-----
From: tblinux@covad.net [mailto:tblinux@covad.net]
Sent: Friday, September 10, 2004 9:54 PM
To: pen-test@securityfocus.com
Subject: Testing a web app with heavy JS use

Anybody know of a good way to strip or catch and manipulate input to a web
app that uses JS to do error checking AND specify the input target address?
...oh and the "submit button" is JS driven too...

Other than hand editing 30 screens of JS code?

----------------------------------------------------------------------------

--
Ethical Hacking at the InfoSec Institute. All of our class sizes are
guaranteed to be 12 students or less to facilitate one-on-one interaction
with one of our expert instructors. Check out our Advanced Hacking course,
learn to write exploits and attack security infrastructure. Attend a course
taught by an expert instructor with years of in-the-field pen testing
experience in our state of the art hacking lab. Master the skills of an
Ethical Hacker to better assess the security of your organization.
http://www.infosecinstitute.com/courses/ethical_hacking_training.html
----------------------------------------------------------------------------
---
------------------------------------------------------------------------------
Ethical Hacking at the InfoSec Institute. All of our class sizes are
guaranteed to be 12 students or less to facilitate one-on-one interaction
with one of our expert instructors. Check out our Advanced Hacking course,
learn to write exploits and attack security infrastructure. Attend a course
taught by an expert instructor with years of in-the-field pen testing
experience in our state of the art hacking lab. Master the skills of an
Ethical Hacker to better assess the security of your organization.
http://www.infosecinstitute.com/courses/ethical_hacking_training.html
-------------------------------------------------------------------------------


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:54:05 EDT