Updated Docs

master
y_k_oo7 2019-02-22 01:34:28 +05:30
parent a3d0c93ff7
commit 9696083eb8
2 changed files with 16 additions and 11 deletions

View File

@ -15,30 +15,26 @@ This module can abuse misconfigured web servers to upload and delete web content
### ACTION
Set `ACTION` to either `PUT` or `DELETE`. (Default: `PUT`)
**PUT**
Action is set to PUT to upload files to the server. If `FILENAME` isn't specified, the module will generate a random string as a .txt file.
**DELETE**
Deletes the file specified in the `FILENAME` option. (default: `msf_http_put_test.txt`)
`FILENAME` is required when Action is set to DELETE
### PATH
The path at which this module will attempt to either PUT the content or DELETE it.
### FILEDATA
The file whose data is to be uploaded.
## Scenarios
Here Action is set to `PUT`.
Here `ACTION` is by default set to `PUT`.
```
msf > use auxiliary/scanner/http/http_put
msf auxiliary(scanner/http/http_put) > set ACTION PUT
ACTION => PUT
msf auxiliary(scanner/http/http_put) > set RHOSTS 1.1.1.23
RHOSTS => 1.1.1.23
msf auxiliary(scanner/http/http_put) > set RPORT 8585

View File

@ -7,15 +7,22 @@ This module scrapes data from a specific web page based on a regular expression.
2. Do: ```set RHOSTS [IP]```
3. Do: ```run```
## Options
### PATH
The path from where the data is to be scraped from.
### PATTERN
The regular expression to use . Default value:`<title>(.*)</title>` which simply grabs page title.
## Scenarios
By default this module scrapes the `title` of a web page.
```
msf > use auxiliary/scanner/http/scraper
msf auxiliary(scanner/http/scraper) > set RHOSTS 1.1.1.18
RHOSTS => 1.1.1.18
msf auxiliary(scanner/http/scraper) > set PATTERN '<title>(.*)</title>'
PATTERN => (?-mix:<title>(.*)<\/title>)
msf auxiliary(scanner/http/scraper) > run
[+] 1.1.1.18 / [Index of /]
@ -24,3 +31,5 @@ msf auxiliary(scanner/http/scraper) > run
msf auxiliary(scanner/http/scraper) >
```
The title of `1.1.1.18/` page is `Index of /`.