Skip to content
Closed

ok #11

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 27 additions & 24 deletions code/discordchecker.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import string
import requests
from code.colors import *

def main():


Expand Down Expand Up @@ -41,31 +42,33 @@ def main():
wbk = webhook

try:
if psd >= "10":
try:
for i in range(int(psd)):
gen = ''.join(random.choices(string.digits + string.ascii_lowercase, k=4))

url = "https://discord.com/api/v9/unique-username/username-attempt-unauthed"

payload = {"username": gen}

response = requests.post(url, json=payload, timeout=10)

data = response.json()

if response.status_code == 200:
data = {
"content": data,
"username": "WhiteWolf",
"avatar_url": "https://i.postimg.cc/nhfNtJbK/f65aba67730462b50f7ec15c4bdb605d.jpg"
}
requests.post(wbk, json=data)
else:
print("Le pseudo ne marché pas passont a un autre", gen)
except Exception as e:
print(f"Error {e}")
nombre = int(psd)
for i in range(nombre):
gen = ''.join(random.choices(string.digits + string.ascii_lowercase, k=4))

url = "https://discord.com/api/v9/unique-username/username-attempt-unauthed"

payload = {"username": gen}

response = requests.post(url, json=payload, timeout=10)

data = response.json()

if response.status_code == 200:
if data.get("taken") == False:
data_to_send = {
"content": f"**PSEUDO DISPONIBLE !** `{gen}`\n{data}",
"username": "WhiteWolf",
"avatar_url": "https://i.postimg.cc/nhfNtJbK/f65aba67730462b50f7ec15c4bdb605d.jpg"
}
requests.post(wbk, json=data_to_send)
print(f"Trv env : {gen}")
else:
print(f"Pris : {gen}")
else:
print("Le pseudo ne marché pas passont a un autre", gen)
except Exception as e:
print(f"Error {e}")

if __name__ == "__main__":
main()
44 changes: 37 additions & 7 deletions code/webstatus.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,48 @@ def webstatus():
Choisis l'url du site que tu veux check : """)
except ValueError as e:
print(f"Error {e}")

url = site
response = requests.get(url)
try:
if response.ok:
print(f"Le site a répondu en : {response.elapsed.total_seconds() * 1000:.2f} ms")
time.sleep(3)
if response.status_code == 200:
print(f"Le site répond en : {response.time} ")
time.sleep(2)
else:
print("Le site na pas répondu présents")
time.sleep(3)
print(f"Le site ne répond pas {response.status_code}")
time.sleep(2)
except Exception as e:
print(f"Error {e}")

if __name__ == "__main__":
webstatus()
webstatus()


# OLD LOGIC

# def webstatus():
# os.system("cls")
# try:
# site = input("""
# ██╗ ██╗███████╗██████╗ ███████╗████████╗ █████╗ ████████╗██╗ ██╗███████╗
# ██║ ██║██╔════╝██╔══██╗ ██╔════╝╚══██╔══╝██╔══██╗╚══██╔══╝██║ ██║██╔════╝
# ██║ █╗ ██║█████╗ ██████╔╝ ███████╗ ██║ ███████║ ██║ ██║ ██║███████╗
# ██║███╗██║██╔══╝ ██╔══██╗ ╚════██║ ██║ ██╔══██║ ██║ ██║ ██║╚════██║
# ╚███╔███╔╝███████╗██████╔╝ ███████║ ██║ ██║ ██║ ██║ ╚██████╔╝███████║
# ╚══╝╚══╝ ╚══════╝╚═════╝ ╚══════╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚══════╝

# Choisis l'url du site que tu veux check : """)
# except ValueError as e:
# print(f"Error {e}")

# url = site
# response = requests.get(url)
# try:
# if response.ok:
# print(f"Le site a répondu en : {response.elapsed.total_seconds() * 1000:.2f} ms")
# time.sleep(3)
# else:
# print("Le site na pas répondu présents")
# time.sleep(3)
# except Exception as e:
# print(f"Error {e}")
3 changes: 2 additions & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,7 @@
<a class="nav-logo" href="#">WHITE WOLF</a>
</div>
<div class="nav-right">
<a class="btn btn-ghost" href="tos.html">TOS</a>
<a class="btn btn-ghost" href="cgu.html">cgu</a>
<a class="btn btn-ghost" href="contributeur.html">contributors</a>
<a class="btn btn-fill" href="https://github.com/Python-loving/WHITEWOLF-TOOLS/archive/refs/heads/main.zip">↓ install</a>
Expand Down Expand Up @@ -358,7 +359,6 @@ <h1 class="hero-title">WHITE WOLF</h1>

<hr class="section-divider">

<!-- FEATURES -->
<div style="max-width:1000px;margin:56px auto;padding:0 48px;">
<div class="features">
<div class="feature">
Expand Down Expand Up @@ -397,6 +397,7 @@ <h1 class="hero-title">WHITE WOLF</h1>
<div class="footer-links">
<a class="footer-link" href="https://github.com/Python-loving/WHITEWOLF-TOOLS">GitHub</a>
<a class="footer-link" href="cgu.html">CGU</a>
<a class="footer-link" href="tos.html">TOS</a>
<a class="footer-link" href="contributeur.html">Contributors</a>
<a class="footer-link" href="https://github.com/Python-loving/WHITEWOLF-TOOLS/issues">Issues</a>
</div>
Expand Down
50 changes: 50 additions & 0 deletions docs/static/scripttos.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
let min = 0;
let max = 1;
let ok = document.getElementById("allo");
let btn = document.querySelector(".btn");
let popup = document.getElementById("popup");
let open = document.getElementById("open");
let close = document.getElementById("close");
let pooop = document.querySelector(".popup-content");
let txt = document.querySelector(".txt")
const mousmoov = document.querySelector(".mousmoov")

let random = Math.floor(Math.random() * (max - min + 1)) + min;

if (random == 1) {
ok.innerHTML = "WHITE - WOLF TOOLS | TOS";
// setInterval(() => {
// let randomColor = "#" + Math.floor(Math.random()*16777215).toString(16);
// ok.style.color = randomColor;
// }, 1000);
} else {
ok.innerHTML = "TOS - WHITE WOLF TOOLS";
// setInterval(() => {
// let randomColor = "#" + Math.floor(Math.random()*16777215).toString(16);
// ok.style.color = randomColor;
// }, 1000);
}

setInterval(() => {
let randomColor = "#" + Math.floor(Math.random()*16777215).toString(16);
txt.style.borderColor = randomColor;
}, 1000);

btn.addEventListener("click", function (e) {
window.location.href = "index.html"
})


open.addEventListener("click", function () {
popup.style.display = "flex";
pooop.style.backgroundColor = "black";
});

window.onload = function () {
document.getElementById("popup").style.display = "flex";
pooop.style.backgroundColor = "black"
};

close.addEventListener("click", function () {
popup.style.display = "none";
});
79 changes: 79 additions & 0 deletions docs/static/styles/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
* {
background-color: black;
color: white;
}

h1 {
font-size: 2.1rem;
text-shadow: -4px 14px 4px #ffffff73;
}

#allo {
display: flex;
align-items: center;
justify-content: center;
}

.btn {
border-radius: 30px;
height: 2rem;
}

#arbi {
display: flex;
align-items: center;
justify-content: center;
height: 100px;
}

#copy {
display: flex;
align-items: center;
justify-content: center;
margin-top: 80px;
}

/* change to rem for acces */

.popup {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(255, 255, 255, 0.137);
justify-content: center;
align-items: center;
}

.popup-content {
background: white;
padding: 20px;
border-radius: 10px;
}

#close {
display: flex;
align-items: center;
justify-content: center;
border-radius: 16px;
background-color: white;
color: black;
}

.txt {
border: 2px solid blue;
padding-top: -10rem;
padding-bottom: 1rem;
width: fit-content;
color: white;
margin: auto;
}

#open {
border-radius: 16px;
position: fixed;
top: 10px;
right: 10px;
}
1 change: 0 additions & 1 deletion docs/static/styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ body {
font-family: Arial, sans-serif;
line-height: 1.6;
padding: 20px;

text-align: center;
}

Expand Down
92 changes: 92 additions & 0 deletions docs/tos.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TOS</title>
<link rel="icon" href="https://i.postimg.cc/gk3fSryy/Icon.jpg" type="image/x-icon">
<link rel="stylesheet" href="static/styles/style.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined" />
<style>
.material-symbols-outlined {
font-variation-settings:
'FILL' 0,
'wght' 400,
'GRAD' 0,
'opsz' 24
}
</style>

</head>
<body>
</div>

<button id="open">Ouvrir Explication</button>
<div id="popup" class="popup">
<div class="popup-content">
<p>Bonjour ce site et pour m'entrainer</p>
<p>Merci de votre compation</p>
<button id="close">Fermer</button>
</div>
</div>

<button class="btn">
<strong>
<span>
RETOUR
</span>
</strong>
</button>
<div>
<h1 id="allo">
<!--
Title in script
-->
</h1>
</div>

<div>
<strong>
<p style="white-space: pre-line; text-align: center; justify-content: center;" class="txt">
<span class="material-symbols-outlined" id="arbi">
flag
</span>
Terms of Service — WHITEWOLF-TOOLS

Acceptance of Terms:
By using WHITEWOLF-TOOLS, you agree to these Terms of Service. If you do not agree, stop using the tool immediately.

Description:
WHITEWOLF-TOOLS is an open-source Python toolkit for educational and development purposes. It is provided “as is”.

Acceptable Use:
You agree NOT to use the tool for illegal or harmful activities, hacking, malware distribution, system disruption, or unauthorized resale.

Responsibility:
You are fully responsible for how you use the tool. The author is not liable for any damages, data loss, or issues caused by usage.

No Warranty:
The tool is provided without any guarantees of performance, security, or reliability.

Limitation of Liability:
The author is not responsible for any direct or indirect damages, including financial loss or system failure.

External Services:
The tool may use third-party libraries. The author is not responsible for external services or APIs.

Changes:
These terms may be updated at any time. Continued use means acceptance of changes.

Contact:
https://github.com/Python-loving/WHITEWOLF-TOOLS
</p>
</strong>
</div>

<p id="copy">
© 2026 WHITEWOLF-TOOLS
</p>

<script src="static/scripttos.js"></script>
</body>
</html>
Loading