Upload files to "/"

main
Cristian Cezar Moisés 2024-09-28 02:29:43 +00:00
parent d298d5be44
commit eec736f0b9
1 changed files with 3 additions and 0 deletions

View File

@ -62,6 +62,7 @@
</tr>
<tr>
<td colspan="2">
<label><input type="checkbox" id="number" checked> Include Numbers</label><br>
<label><input type="checkbox" id="russian" checked> Include Russian characters</label><br>
<label><input type="checkbox" id="chinese" checked> Include Chinese characters</label><br>
<label><input type="checkbox" id="japanese" checked> Include Japanese characters</label><br>
@ -94,6 +95,7 @@
<script>
function generatePassword() {
// Character sets
const numberChars = '0123456789'
const russianChars = 'АБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя';
const chineseChars = '你好世界abc'; // Add more characters as needed
const japaneseChars = 'こんにちは世界'; // Add more characters as needed
@ -105,6 +107,7 @@ function generatePassword() {
// Get selected character sets
let charSet = '';
if (document.getElementById("number").checked) charSet += numberChars;
if (document.getElementById("russian").checked) charSet += russianChars;
if (document.getElementById("chinese").checked) charSet += chineseChars;
if (document.getElementById("japanese").checked) charSet += japaneseChars;