-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathUtama.frm
More file actions
187 lines (177 loc) · 6.23 KB
/
Copy pathUtama.frm
File metadata and controls
187 lines (177 loc) · 6.23 KB
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
VERSION 5.00
Begin VB.Form Form1
BorderStyle = 1 'Fixed Single
Caption = "Enigma Tool - GPL 2"
ClientHeight = 4590
ClientLeft = 45
ClientTop = 375
ClientWidth = 3315
Icon = "Utama.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
Picture = "Utama.frx":15162
ScaleHeight = 4590
ScaleWidth = 3315
StartUpPosition = 2 'CenterScreen
Begin VB.CommandButton Command2
Caption = "Close"
Height = 375
Left = 120
TabIndex = 13
Top = 4080
Width = 975
End
Begin VB.PictureBox Picture1
BorderStyle = 0 'None
Height = 975
Left = 0
Picture = "Utama.frx":168B7
ScaleHeight = 975
ScaleWidth = 3375
TabIndex = 9
Top = 0
Width = 3375
End
Begin VB.CommandButton pushMe
Caption = "APPLY !"
Height = 375
Left = 240
TabIndex = 2
Top = 3480
Width = 2775
End
Begin VB.Frame Frame1
Caption = "Computer Option : "
Height = 3015
Left = 120
TabIndex = 1
Top = 960
Width = 3015
Begin VB.Frame Frame2
Caption = "Task manager"
Height = 615
Left = 120
TabIndex = 10
Top = 240
Width = 2775
Begin VB.OptionButton tskE
Caption = "Enable"
Height = 255
Left = 240
TabIndex = 12
Top = 240
Width = 1095
End
Begin VB.OptionButton tskD
Caption = "Disable"
Height = 255
Left = 1560
TabIndex = 11
Top = 240
Width = 975
End
End
Begin VB.Frame Frame6
Caption = "USB Port"
Height = 615
Left = 120
TabIndex = 6
Top = 1680
Width = 2775
Begin VB.OptionButton usbE
Caption = "Enable"
Height = 255
Left = 240
TabIndex = 8
Top = 240
Width = 1335
End
Begin VB.OptionButton usbD
Caption = "Disable"
Height = 255
Left = 1560
TabIndex = 7
Top = 240
Width = 975
End
End
Begin VB.Frame Frame4
Caption = "Registry"
Height = 615
Left = 120
TabIndex = 3
Top = 960
Width = 2775
Begin VB.OptionButton regD
Caption = "Disable"
Height = 255
Left = 1560
TabIndex = 5
Top = 240
Width = 975
End
Begin VB.OptionButton regE
Caption = "Enable"
Height = 255
Left = 240
TabIndex = 4
Top = 240
Width = 1335
End
End
End
Begin VB.CommandButton Command1
Caption = "About Me ?"
Height = 375
Left = 1920
TabIndex = 0
Top = 4080
Width = 1215
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Form1.Enabled = False
Form2.Show
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
Private Sub pushMe_Click()
''# Task manager - DONE!
If tskE.Value = True Then
''Enable task manager
A = Shell("REG add HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System /v DisableTaskMgr /t REG_DWORD /d 0 /f", vbNormalFocus)
MsgBox "Enabled TASK MANAGER !", vbInformation, "EIO!"
ElseIf tskD.Value = True Then
A = Shell("REG add HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System /v DisableTaskMgr /t REG_DWORD /d 1 /f", vbNormalFocus)
MsgBox "Disabled TASK MANAGER !", vbInformation, "EIO!"
End If
''# Registry - DONE !
If regE.Value = True Then
''Enable registry
SetKeyValue HKEY_CURRENT_USER, "Software\Microsoft\Windows\CurrentVersion\Policies\System", "DisableRegistryTools", "0", REG_DWORD
SetKeyValue HKEY_USERS, ".Default\Software\Microsoft\Windows\CurrentVersion\Policies\System", "DisableRegistryTools", "0", REG_DWORD
MsgBox "Enabled REGEDIT !", vbInformation, "EIO!"
ElseIf regD.Value = True Then
''Disable registry
SetKeyValue HKEY_CURRENT_USER, "Software\Microsoft\Windows\CurrentVersion\Policies\System", "DisableRegistryTools", "1", REG_DWORD
SetKeyValue HKEY_USERS, ".Default\Software\Microsoft\Windows\CurrentVersion\Policies\System", "DisableRegistryTools", "1", REG_DWORD
MsgBox "Disabled REGEDIT !", vbInformation, "EIO!"
End If
''# USB Port - DONE !
If usbE.Value = True Then
''Enable USB
C = Shell("REG add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR /v Start /t REG_DWORD /d 3 /f", vbNormalFocus)
MsgBox "Enabled USB PORT !", vbInformation, "EIO!"
ElseIf usbD.Value = True Then
''Disable USB
C = Shell("REG add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR /v Start /t REG_DWORD /d 4 /f", vbNormalFocus)
MsgBox "Disabled USB PORT !", vbInformation, "EIO!"
End If
End Sub