-
Notifications
You must be signed in to change notification settings - Fork 0
/
script.js
38 lines (35 loc) · 968 Bytes
/
script.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
let a = [
"Initializing Hack tool...",
"Connecting to Facebook...",
"Connecting to server 1...",
"Connection failed. Retrying...",
"Connecting to server 2",
"Connected Successfully...",
"Username ashishkumar...",
"Trying Brute Force...",
"200K passwords tried...",
"Match not found",
"Another 100K passwords tried...",
"Match not found...",
"Another 100K passwords tried...",
"Match not found...",
"Another 100K passwords tried...",
"Match found...",
"Accessing Account...",
"Hack Successful..."
]
const sleep = async (seconds) => {
return new Promise((resolve, reject) => {
setTimeout(() => { resolve(true) }, seconds * 1000)
})
}
const showHack = async (message) => {
await sleep(2)
// console.log(message)
text.innerHTML = text.innerHTML + message + "<br>"
}
(async () => {
for (let i = 0; i < a.length; i++) {
await showHack(a[i])
}
})()