https://github.com/mediacomem/phishing
A dynamic phishing page to demontrate web vulnerabilities such as CSRF
https://github.com/mediacomem/phishing
Last synced: 5 months ago
JSON representation
A dynamic phishing page to demontrate web vulnerabilities such as CSRF
- Host: GitHub
- URL: https://github.com/mediacomem/phishing
- Owner: MediaComem
- License: mit
- Created: 2022-01-28T07:12:47.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-28T07:13:05.000Z (over 4 years ago)
- Last Synced: 2025-06-17T21:50:56.798Z (12 months ago)
- Language: HTML
- Size: 11.7 KB
- Stars: 0
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Phishing page
A dynamic phishing page to demonstrate web vulnerabilities such as
[CSRF](https://owasp.org/www-community/attacks/csrf).
## Usage
The phishing website consists of the `index.html`, `avatar.svg`, `script.js` and
`script.css` files. You can serve these as static content with any web server.
You can also simply open the `index.html` file locally.
Configure the page with any combination of the following query parameters:
| Query parameter | Sample value | Description |
| :-------------- | :--------------------------- | :--------------------------------------------------------------- |
| `method` | `POST` | HTML [form method][form-method] to submit the form with |
| `action` | `https://example.com/action` | HTML [form action][form-action] |
| `params` | `foo:bar` | Named valued to submit with the form (can be set multiple times) |
Clicking the button displayed on the page will submit a form with this
configuration.
> For example, accessing the page with the following URL and clicking the button
> would submit a `POST` request to `https://example.com/bank/transfer` with the
> parameter `amount` equal to 1000 and the parameter `recipient` equal to
> "h4ck3r":
>
> `file:///path/to/index.html?method=POST&action=https://example.com/bank/transfer¶ms=amount:1000¶ms=recipient:h4ck3r`.
[form-action]: https://developer.mozilla.org/en-US/docs/Learn/Forms/Sending_and_retrieving_form_data#the_method_attribute
[form-method]: https://developer.mozilla.org/en-US/docs/Learn/Forms/Sending_and_retrieving_form_data#the_method_attribute