@@ -11,9 +11,10 @@ module.exports = {
11
11
let member = await interaction . options . getUser ( "user" ) . fetch ( true ) ;
12
12
13
13
function randomPassword ( ) {
14
- var length = 8 ,
15
- charset = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%^&*()-_+=" ,
16
- retVal = "" ;
14
+ var charset = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~" ;
15
+ var length = Math . floor ( Math . random ( ) * ( 24 - 12 + 1 ) ) + 12 ;
16
+ var retVal = "" ;
17
+
17
18
for ( var i = 0 , n = charset . length ; i < length ; ++ i ) {
18
19
retVal += charset . charAt ( Math . floor ( Math . random ( ) * n ) ) ;
19
20
}
@@ -44,14 +45,14 @@ module.exports = {
44
45
}
45
46
46
47
function randomPhrase ( ) {
47
- var phrase = [ "iirc" , "idgaf" , "lol" , "xd" , "haha" , "you sux" , "69420 " , "ratio" ] ;
48
+ var phrase = [ "iirc" , "idgaf" , "lol" , "xd" , "haha" , "u sux" , "drown " , "ratio" , "lmao" , "bruh" , "smh" , "wtf "] ;
48
49
var result = phrase [ Math . floor ( Math . random ( ) * phrase . length ) ] ;
49
50
return result ;
50
51
}
51
52
52
53
function randomDM ( ) {
53
54
var message = [
54
- "ur mom is kinda hot" ,
55
+ "ur mom's kinda hot" ,
55
56
"look at this dude" ,
56
57
"i wanna breakup with you" ,
57
58
"imagine using macos" ,
@@ -81,6 +82,26 @@ module.exports = {
81
82
return result ;
82
83
}
83
84
85
+ function randomDevice ( ) {
86
+ var device = [
87
+ "iPhone" ,
88
+ "iPad" ,
89
+ "Mac" ,
90
+ "Android phone" ,
91
+ "Android tablet" ,
92
+ "Windows Phone" ,
93
+ "Windows PC" ,
94
+ "Linux PC" ,
95
+ "Xbox" ,
96
+ "PlayStation" ,
97
+ "Nintendo Switch" ,
98
+ "Smart Fridge" ,
99
+ "Smart TV" ,
100
+ ] ;
101
+ var result = device [ Math . floor ( Math . random ( ) * device . length ) ] ;
102
+ return result ;
103
+ }
104
+
84
105
function randomBrowser ( ) {
85
106
var browser = [
86
107
"Brave" ,
@@ -99,7 +120,7 @@ module.exports = {
99
120
}
100
121
101
122
function randomUsername ( ) {
102
- var malware = [
123
+ var username = [
103
124
"Minecraft4Life" ,
104
125
"desperate_enuf" ,
105
126
"kissmyaxe" ,
@@ -110,7 +131,7 @@ module.exports = {
110
131
"oprah_wind_fury" ,
111
132
"fresh_out_the_oven" ,
112
133
] ;
113
- var result = malware [ Math . floor ( Math . random ( ) * malware . length ) ] ;
134
+ var result = username [ Math . floor ( Math . random ( ) * username . length ) ] ;
114
135
return result ;
115
136
}
116
137
@@ -119,7 +140,7 @@ module.exports = {
119
140
}
120
141
121
142
// For nerds: IPv4 have digits between 0 and 255,
122
- // so there wouldn't be issues about IPs if I use all digits about 255.
143
+ // so there wouldn't be issues about IPs if I use all digits above 255.
123
144
const randomIP = `${ randomNumber ( 256 , 999 ) } .${ randomNumber ( 256 , 999 ) } .${ randomNumber ( 256 , 999 ) } .${ randomNumber (
124
145
256 ,
125
146
999
@@ -134,11 +155,11 @@ module.exports = {
134
155
const log3 = `Email: ${ randomEmail ( ) } ` ;
135
156
const log4 = `Pasword: ${ randomPassword ( ) } ` ;
136
157
const log5 = `Fetching DMs with closest friends... (if they are any friends at all)` ;
137
- const log6 = `Found latest DM: "${ randomDM ( ) } "` ;
158
+ const log6 = `Found latest DM message : "${ randomDM ( ) } "` ;
138
159
const log7 = `Finding user's most common phrase...` ;
139
160
const log8 = `Found user's most common phrase: ${ randomPhrase ( ) } ` ;
140
- const log9 = `Injecting ${ randomMalware ( ) } into discriminator # ${ member . discriminator } ` ;
141
- const log10 = `Malware injected, stole their ${ randomBrowser ( ) } password too .` ;
161
+ const log9 = `Injecting ${ randomMalware ( ) } into their ${ randomDevice ( ) } ` ;
162
+ const log10 = `Malware injected, stole their passwords on ${ randomBrowser ( ) } as well .` ;
142
163
const log11 = `Hacking their Steam account...` ;
143
164
const log12 = `Breached user's Steam account: ${ randomUsername ( ) } ` ;
144
165
const log13 = `Finding user's IP address...` ;
@@ -163,7 +184,6 @@ module.exports = {
163
184
value : [ `\`\`\`` , `[${ time1 } ] ${ log1 } ` , `\`\`\`` ] . join ( "\n" ) ,
164
185
} ,
165
186
] ,
166
-
167
187
} ,
168
188
] ,
169
189
} ) ;
@@ -181,7 +201,6 @@ module.exports = {
181
201
value : [ `\`\`\`` , `[${ time1 } ] ${ log1 } ` , `[${ time2 } ] ${ log2 } ` , `\`\`\`` ] . join ( "\n" ) ,
182
202
} ,
183
203
] ,
184
-
185
204
} ,
186
205
] ,
187
206
} ) ;
@@ -206,7 +225,6 @@ module.exports = {
206
225
] . join ( "\n" ) ,
207
226
} ,
208
227
] ,
209
-
210
228
} ,
211
229
] ,
212
230
} ) ;
@@ -232,7 +250,6 @@ module.exports = {
232
250
] . join ( "\n" ) ,
233
251
} ,
234
252
] ,
235
-
236
253
} ,
237
254
] ,
238
255
} ) ;
@@ -259,7 +276,6 @@ module.exports = {
259
276
] . join ( "\n" ) ,
260
277
} ,
261
278
] ,
262
-
263
279
} ,
264
280
] ,
265
281
} ) ;
@@ -287,7 +303,6 @@ module.exports = {
287
303
] . join ( "\n" ) ,
288
304
} ,
289
305
] ,
290
-
291
306
} ,
292
307
] ,
293
308
} ) ;
@@ -316,7 +331,6 @@ module.exports = {
316
331
] . join ( "\n" ) ,
317
332
} ,
318
333
] ,
319
-
320
334
} ,
321
335
] ,
322
336
} ) ;
@@ -346,7 +360,6 @@ module.exports = {
346
360
] . join ( "\n" ) ,
347
361
} ,
348
362
] ,
349
-
350
363
} ,
351
364
] ,
352
365
} ) ;
@@ -377,7 +390,6 @@ module.exports = {
377
390
] . join ( "\n" ) ,
378
391
} ,
379
392
] ,
380
-
381
393
} ,
382
394
] ,
383
395
} ) ;
@@ -409,7 +421,6 @@ module.exports = {
409
421
] . join ( "\n" ) ,
410
422
} ,
411
423
] ,
412
-
413
424
} ,
414
425
] ,
415
426
} ) ;
@@ -442,7 +453,6 @@ module.exports = {
442
453
] . join ( "\n" ) ,
443
454
} ,
444
455
] ,
445
-
446
456
} ,
447
457
] ,
448
458
} ) ;
@@ -476,7 +486,6 @@ module.exports = {
476
486
] . join ( "\n" ) ,
477
487
} ,
478
488
] ,
479
-
480
489
} ,
481
490
] ,
482
491
} ) ;
@@ -511,7 +520,6 @@ module.exports = {
511
520
] . join ( "\n" ) ,
512
521
} ,
513
522
] ,
514
-
515
523
} ,
516
524
] ,
517
525
} ) ;
@@ -547,7 +555,6 @@ module.exports = {
547
555
] . join ( "\n" ) ,
548
556
} ,
549
557
] ,
550
-
551
558
} ,
552
559
] ,
553
560
} ) ;
@@ -587,7 +594,6 @@ module.exports = {
587
594
value : [ `\`\`\`` , `[${ time15 } ] ${ maxLengthError } ` , `[${ time15 } ] ${ log16 } ` , `\`\`\`` ] . join ( "\n" ) ,
588
595
} ,
589
596
] ,
590
-
591
597
} ,
592
598
] ,
593
599
} ) ;
@@ -633,7 +639,6 @@ module.exports = {
633
639
] . join ( "\n" ) ,
634
640
} ,
635
641
] ,
636
-
637
642
} ,
638
643
] ,
639
644
} ) ;
@@ -680,7 +685,6 @@ module.exports = {
680
685
] . join ( "\n" ) ,
681
686
} ,
682
687
] ,
683
-
684
688
} ,
685
689
] ,
686
690
} ) ;
@@ -728,7 +732,6 @@ module.exports = {
728
732
] . join ( "\n" ) ,
729
733
} ,
730
734
] ,
731
-
732
735
} ,
733
736
] ,
734
737
} ) ;
@@ -779,7 +782,6 @@ module.exports = {
779
782
value : "This is 100% a joke command that doesn't even hack people..." ,
780
783
} ,
781
784
] ,
782
-
783
785
} ,
784
786
] ,
785
787
} ) ;
0 commit comments