-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c0d476c
commit 57801cf
Showing
3 changed files
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
|
||
<head> | ||
<meta charset="utf-8"> | ||
<title>Malware download page</title> | ||
<script> | ||
// eslint-disable-next-line no-unused-vars | ||
function run() { | ||
const url = "/security/badware/phishing-redirect/download"; | ||
const link = document.createElement('a'); | ||
link.href = url; | ||
document.body.appendChild(link); | ||
link.click(); | ||
document.body.removeChild(link); | ||
} | ||
</script> | ||
</head> | ||
|
||
<body> | ||
<p><a href="/security/badware/">[Back]</a></p> | ||
|
||
<h1>Malware download page</h1> | ||
|
||
<p>This is an example malware page that DuckDuckGo clients intend to block. If you arrive here by mistake; there's | ||
nothing to worry about, we just use this page to test if our client blocking is working.</p> | ||
|
||
<button id="run" onclick="run()">Download</button> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters