...
The first thing you should do is executing a curl over the seed URL:
Code Block |
---|
|
$ curl -i http://mysitehost/mysite |
...
- The login form page, this is the place where the site redirects you when you are not authenticated. If you executed the curl command from above, it will most likely be the URL specified in the "Location" response Header.
- The login form html structure, this is the path where to find the html form Aspider will need to fill and send to authenticate.
For example if your login form page consists of the following HTML:
Code Block |
---|
|
<html>
<head>....</head>
<body>
<div ....>
<form method="post" action="...." ...
...
</form>
</div>
</body>
</html> |
Your path would be /html/body/div/form
- Also identify the id attribute of the user and password input elements
...