-
Notifications
You must be signed in to change notification settings - Fork 21
/
frmConfiguration.frm
1998 lines (1799 loc) · 69.1 KB
/
frmConfiguration.frm
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
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "COMDLG32.OCX"
Begin VB.Form frmConfiguration
BorderStyle = 1 'Fixed Single
Caption = "Configuration"
ClientHeight = 4260
ClientLeft = 150
ClientTop = 435
ClientWidth = 7125
Icon = "frmConfiguration.frx":0000
KeyPreview = -1 'True
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 4260
ScaleWidth = 7125
StartUpPosition = 1 'CenterOwner
Begin VB.Frame fraLogs
Caption = "Logs"
Height = 3375
Left = 240
TabIndex = 25
Top = 600
Visible = 0 'False
Width = 6615
Begin VB.TextBox txtLogsDirectory
Height = 285
Left = 1320
TabIndex = 33
Top = 2040
Width = 5175
End
Begin VB.CommandButton cmdBrowseLogsDirectory
Caption = "Browse"
Height = 255
Left = 4920
TabIndex = 34
Top = 2400
Width = 735
End
Begin VB.CommandButton cmdDefaultLogsDirectory
Caption = "Default"
Height = 255
Left = 5760
TabIndex = 35
Top = 2400
Width = 735
End
Begin VB.ComboBox cmbLogsSecurityLevel
Height = 315
ItemData = "frmConfiguration.frx":0CCA
Left = 1320
List = "frmConfiguration.frx":0CCC
Style = 2 'Dropdown List
TabIndex = 32
Top = 1560
Width = 5175
End
Begin VB.CheckBox chkActivateLogs
Caption = "Activate lo&gs"
Height = 255
Left = 120
TabIndex = 31
Top = 360
Value = 1 'Checked
Width = 6255
End
Begin VB.Label lblLabel
Caption = "Security Level"
Height = 255
Index = 16
Left = 120
TabIndex = 41
Top = 1560
Width = 1095
End
Begin VB.Label lblLabel
Caption = "Logs directory"
Height = 255
Index = 17
Left = 120
TabIndex = 27
Top = 2040
Width = 1095
End
Begin VB.Label lblLabel
Caption = $"frmConfiguration.frx":0CCE
Height = 615
Index = 15
Left = 360
TabIndex = 26
Top = 720
Width = 6015
End
End
Begin VB.Frame fraReports
Caption = "Reporting"
Height = 3375
Left = 240
TabIndex = 16
Top = 600
Visible = 0 'False
Width = 6615
Begin VB.CheckBox chkReportOpenAfterGeneration
Caption = "Open a report with the default application after report generation"
Height = 255
Left = 120
TabIndex = 62
Top = 1200
Value = 1 'Checked
Width = 4935
End
Begin VB.TextBox txtReportsDirectory
Height = 285
Left = 1560
TabIndex = 59
Top = 360
Width = 4935
End
Begin VB.CommandButton cmdBrowseReportsDirectory
Caption = "Browse"
Height = 255
Left = 4920
TabIndex = 60
Top = 720
Width = 735
End
Begin VB.CommandButton cmdDefaultReportsDirectory
Caption = "Default"
Height = 255
Left = 5760
TabIndex = 61
Top = 720
Width = 735
End
Begin VB.Label lblReportTemplateNote
Caption = "Editing of the report templates can be done in the report configuration."
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = -1 'True
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF0000&
Height = 255
Left = 1560
MouseIcon = "frmConfiguration.frx":0DA9
MousePointer = 99 'Custom
TabIndex = 63
Top = 3000
Width = 4935
End
Begin VB.Label lblLabel
Caption = "Reports Directory"
Height = 255
Index = 14
Left = 120
TabIndex = 17
Top = 360
Width = 1335
End
End
Begin VB.Frame fraSearchengine
Caption = "Searchengine"
Height = 3375
Left = 240
TabIndex = 46
Top = 600
Visible = 0 'False
Width = 6615
Begin VB.ComboBox cmbSearchEngineURL
Height = 315
Left = 240
TabIndex = 47
Text = "https://www.google.com/search?q="
Top = 720
Width = 6135
End
Begin VB.Label lblSearchEngineTest
Alignment = 2 'Center
AutoSize = -1 'True
Caption = "Test the selected search engine query url by searching for the ATK project."
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = -1 'True
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF0000&
Height = 195
Left = 645
MouseIcon = "frmConfiguration.frx":10B3
MousePointer = 99 'Custom
TabIndex = 49
Top = 1440
Width = 5325
End
Begin VB.Label lblLabel
Caption = "Search engine default query string for online searches"
Height = 255
Index = 13
Left = 240
TabIndex = 48
Top = 480
Width = 6135
End
End
Begin VB.Frame fraSuggestions
Caption = "Suggestions"
Height = 3375
Left = 240
TabIndex = 12
Top = 600
Visible = 0 'False
Width = 6615
Begin VB.TextBox txtSuggestionsDirectory
Height = 285
Left = 2040
TabIndex = 74
Top = 840
Width = 4455
End
Begin VB.CommandButton cmdBrowseSuggestionsDirectory
Caption = "Browse"
Height = 255
Left = 4920
TabIndex = 75
Top = 1200
Width = 735
End
Begin VB.CommandButton cmdDefaultSuggestionsDirectory
Caption = "Default"
Height = 255
Left = 5760
TabIndex = 76
Top = 1200
Width = 735
End
Begin VB.CheckBox chkSuggestions
Caption = "&Activate suggestions"
Height = 255
Left = 120
TabIndex = 73
Top = 360
Value = 1 'Checked
Width = 1815
End
Begin VB.Label lblLabel
Caption = "Suggestions Directory"
Height = 255
Index = 12
Left = 120
TabIndex = 13
Top = 840
Width = 1575
End
End
Begin VB.Frame fraResponses
Caption = "Responses"
Height = 3375
Left = 240
TabIndex = 68
Top = 600
Visible = 0 'False
Width = 6615
Begin VB.TextBox txtResponsesDirectory
Height = 285
Left = 2040
TabIndex = 69
Top = 360
Width = 4455
End
Begin VB.CommandButton cmdBrowseResponsesDirectory
Caption = "Browse"
Height = 255
Left = 4920
TabIndex = 71
Top = 720
Width = 735
End
Begin VB.CommandButton cmdDefaultResponsesDirectory
Caption = "Default"
Height = 255
Left = 5760
TabIndex = 72
Top = 720
Width = 735
End
Begin VB.Label lblLabel
Caption = "Responses Directory"
Height = 255
Index = 21
Left = 120
TabIndex = 70
Top = 360
Width = 1575
End
End
Begin VB.Frame fraPlugins
Caption = "Plugins"
Height = 3375
Left = 240
TabIndex = 0
Top = 600
Visible = 0 'False
Width = 6615
Begin VB.ComboBox cmbPluginsExternalEditor
Height = 315
Left = 1560
TabIndex = 58
Text = "notepad.exe"
Top = 2760
Width = 4935
End
Begin VB.CommandButton cmdPluginsDirectoryDefault
Caption = "Default"
Height = 255
Left = 5760
TabIndex = 54
Top = 720
Width = 735
End
Begin VB.CommandButton cmdPluginsDirectoryBrowse
Caption = "Browse"
Height = 255
Left = 4920
TabIndex = 53
Top = 720
Width = 735
End
Begin VB.TextBox txtPluginsDirectory
Height = 285
Left = 1560
TabIndex = 52
Top = 360
Width = 4935
End
Begin VB.ComboBox cmbPluginsDownloadURL
Height = 315
Left = 1560
TabIndex = 55
Text = "https://www.computec.ch/projekte/atk/plugins/pluginslist/"
Top = 1200
Width = 4935
End
Begin VB.TextBox txtDefaultSleep
Height = 285
Left = 1560
MaxLength = 6
TabIndex = 57
Text = "3000"
ToolTipText = "Default wait time for sleep command"
Top = 2160
Width = 735
End
Begin VB.TextBox txtTimeout
Height = 285
Left = 1560
MaxLength = 6
TabIndex = 56
Text = "30000"
ToolTipText = "Timeout for the plugins"
Top = 1680
Width = 735
End
Begin VB.Label lblLabel
Caption = "External editor for plugins"
Height = 495
Index = 11
Left = 120
TabIndex = 64
Top = 2760
Width = 1335
End
Begin VB.Label lblLabel
Caption = "Plugins Download"
Height = 255
Index = 6
Left = 120
TabIndex = 40
Top = 1200
Width = 1455
End
Begin VB.Label lblLabel
Caption = "(Default: 3000 = 3 seconds)"
Height = 255
Index = 9
Left = 2400
TabIndex = 28
Top = 2160
Width = 2295
End
Begin VB.Label lblLabel
Caption = "Default wait value (ms) for sleep"
Height = 495
Index = 10
Left = 120
TabIndex = 10
Top = 2160
Width = 1335
End
Begin VB.Label lblLabel
Caption = "(Default: 30000 = 30 seconds)"
Height = 255
Index = 8
Left = 2400
TabIndex = 4
Top = 1680
Width = 2295
End
Begin VB.Label lblLabel
Caption = "Plugins Directory"
Height = 255
Index = 5
Left = 120
TabIndex = 3
Top = 360
Width = 1335
End
Begin VB.Label lblLabel
Caption = "Timeout (ms) for stucked plugins"
Height = 495
Index = 7
Left = 120
TabIndex = 2
Top = 1680
Width = 1335
End
End
Begin VB.Frame fraPreferences
BorderStyle = 0 'None
Height = 3375
Left = 240
TabIndex = 18
Top = 600
Visible = 0 'False
Width = 6615
Begin VB.Frame fraSafety
Caption = "Safety"
Height = 2175
Left = 0
TabIndex = 65
Top = 1200
Width = 6615
Begin VB.CheckBox chkDoNoDoSChecks
Caption = "Do no Denial of Service checks"
Height = 255
Left = 120
TabIndex = 9
Top = 1200
Width = 2655
End
Begin VB.CheckBox chkDoSilentChecks
Caption = "&Do silent checks"
Height = 255
Left = 120
TabIndex = 8
Top = 360
Value = 1 'Checked
Width = 1575
End
Begin VB.Label lblLabel
Caption = $"frmConfiguration.frx":13BD
Height = 495
Index = 4
Left = 480
TabIndex = 67
Top = 1560
Width = 6015
End
Begin VB.Label lblLabel
Caption = $"frmConfiguration.frx":1463
Height = 495
Index = 3
Left = 480
TabIndex = 66
Top = 720
Width = 6015
End
End
Begin VB.Frame fraMode
Caption = "Mode"
Height = 1095
Left = 0
TabIndex = 19
Top = 0
Width = 6615
Begin VB.OptionButton optSingleCheck
Caption = "&Single Check"
Height = 255
Left = 120
TabIndex = 6
ToolTipText = "Only check specific potential flaws on demand."
Top = 360
Value = -1 'True
Width = 1815
End
Begin VB.OptionButton optFullAudit
Caption = "&Full Audit"
Height = 255
Left = 120
TabIndex = 7
ToolTipText = "Check the target for all possible potential flaws."
Top = 720
Width = 1815
End
Begin VB.Label lblLabel
Caption = "Only check specific potential flaws on demand."
Height = 255
Index = 1
Left = 2040
TabIndex = 21
Top = 360
Width = 4455
End
Begin VB.Label lblLabel
Caption = "Check the target for all possible potential flaws."
Height = 255
Index = 2
Left = 2040
TabIndex = 20
Top = 720
Width = 4455
End
End
End
Begin VB.Frame fraAlerting
Caption = "Alerting"
Height = 3375
Left = 240
TabIndex = 37
Top = 600
Visible = 0 'False
Width = 6615
Begin VB.CheckBox chkAlertingVulnerabilityNotFound
Caption = "Produce alert when vulnerbility is not found."
Height = 255
Left = 240
TabIndex = 39
Top = 720
Width = 3495
End
Begin VB.CheckBox chkAlertingVulnerabilityFound
Caption = "Produce alert when vulnerability is found."
Height = 255
Left = 240
TabIndex = 38
Top = 360
Width = 3495
End
End
Begin VB.Frame fraHelp
Caption = "Help"
Height = 3375
Left = 240
TabIndex = 42
Top = 600
Visible = 0 'False
Width = 6615
Begin VB.ComboBox cmbHelpURL
Height = 315
Left = 1080
TabIndex = 43
Text = "https://www.computec.ch/projekte/atk/documentation/help/"
Top = 1200
Width = 5415
End
Begin VB.Label lblOnlineHelpURLTest
Alignment = 2 'Center
AutoSize = -1 'True
Caption = "Test the selected online help url."
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = -1 'True
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF0000&
Height = 195
Left = 2145
MouseIcon = "frmConfiguration.frx":1509
MousePointer = 99 'Custom
TabIndex = 50
Top = 1920
Width = 2325
End
Begin VB.Label lblLabel
Caption = $"frmConfiguration.frx":1813
Height = 615
Index = 19
Left = 120
TabIndex = 45
Top = 360
Width = 6375
End
Begin VB.Label lblLabel
Caption = "Help URL"
Height = 255
Index = 20
Left = 120
TabIndex = 44
Top = 1200
Width = 855
End
End
Begin VB.Frame fraSpeech
Caption = "Speech"
Height = 3375
Left = 240
TabIndex = 29
Top = 600
Visible = 0 'False
Width = 6615
Begin VB.CheckBox chkActivateSpeech
Caption = "Activate Speech"
Height = 255
Left = 120
TabIndex = 36
Top = 360
Width = 6255
End
Begin VB.Label lblTestSpeechFeature
Alignment = 2 'Center
AutoSize = -1 'True
Caption = "Test the speech feature."
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = -1 'True
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF0000&
Height = 195
Left = 2400
MouseIcon = "frmConfiguration.frx":18CE
MousePointer = 99 'Custom
TabIndex = 51
Top = 1680
Width = 1755
End
Begin VB.Label lblLabel
Caption = $"frmConfiguration.frx":1BD8
Height = 615
Index = 18
Left = 480
TabIndex = 30
Top = 720
Width = 5895
End
End
Begin VB.Frame fraMapping
BorderStyle = 0 'None
Height = 3375
Left = 240
TabIndex = 22
Top = 600
Visible = 0 'False
Width = 6615
Begin VB.Frame fraICMPMapping
Caption = "ICMP Mapping"
Height = 3375
Left = 0
TabIndex = 23
Top = 0
Width = 6615
Begin VB.CheckBox chkDoICMPMapping
Caption = "Do &ICMP mapping (ICMP echo request)"
Height = 255
Left = 120
TabIndex = 14
Top = 360
Value = 1 'Checked
Width = 3255
End
Begin VB.CheckBox chkScanifICMPfails
Caption = "Scan if ICMP mapping fails"
Height = 255
Left = 480
TabIndex = 15
Top = 720
Width = 2295
End
End
End
Begin VB.Frame fraTarget
Caption = "Target"
Height = 3375
Left = 240
TabIndex = 5
Top = 600
Width = 6615
Begin VB.TextBox txtTarget
Height = 285
Left = 120
MaxLength = 200
TabIndex = 1
Text = "localhost"
ToolTipText = "Host name or IP address of the target"
Top = 360
Width = 6375
End
Begin VB.Label lblLabel
Alignment = 2 'Center
Caption = "Warning: You should never scan a network ressource without permission."
Height = 375
Index = 0
Left = 1800
TabIndex = 24
Top = 1560
Width = 3015
End
End
Begin MSComDlg.CommonDialog cdgSaveAs
Left = 600
Top = 0
_ExtentX = 847
_ExtentY = 847
_Version = 393216
CancelError = -1 'True
DialogTitle = "Save file"
FileName = "newdefault.config"
Filter = "ATK Configuration (*.config)|*.config|INI Files (*.ini)|*.ini|All Files (*.*)|*.*"
End
Begin MSComDlg.CommonDialog cdgOpen
Left = 0
Top = 0
_ExtentX = 847
_ExtentY = 847
_Version = 393216
DialogTitle = "Open file"
FileName = "default.config"
Filter = "ATK Configuration (*.config)|*.config|INI Files (*.ini)|*.ini|All Files (*.*)|*.*"
End
Begin MSComctlLib.TabStrip tspConfiguration
Height = 3975
Left = 120
TabIndex = 11
Top = 120
Width = 6855
_ExtentX = 12091
_ExtentY = 7011
_Version = 393216
BeginProperty Tabs {1EFB6598-857C-11D1-B16A-00C0F0283628}
NumTabs = 12
BeginProperty Tab1 {1EFB659A-857C-11D1-B16A-00C0F0283628}
Caption = "&Target"
Object.ToolTipText = "Selection of the target"
ImageVarType = 2
EndProperty
BeginProperty Tab2 {1EFB659A-857C-11D1-B16A-00C0F0283628}
Caption = "P&references"
Object.ToolTipText = "Preferences for program behavior"
ImageVarType = 2
EndProperty
BeginProperty Tab3 {1EFB659A-857C-11D1-B16A-00C0F0283628}
Caption = "&Mapping"
Object.ToolTipText = "Settings for mapping (e.g. target deteciton)"
ImageVarType = 2
EndProperty
BeginProperty Tab4 {1EFB659A-857C-11D1-B16A-00C0F0283628}
Caption = "&Plugins"
Object.ToolTipText = "Plugin directory and plugin behavior"
ImageVarType = 2
EndProperty
BeginProperty Tab5 {1EFB659A-857C-11D1-B16A-00C0F0283628}
Caption = "&Alerting"
Object.ToolTipText = "Settings for the alerting"
ImageVarType = 2
EndProperty
BeginProperty Tab6 {1EFB659A-857C-11D1-B16A-00C0F0283628}
Caption = "&Responses"
Object.ToolTipText = "Responses directory and responses behavior"
ImageVarType = 2
EndProperty
BeginProperty Tab7 {1EFB659A-857C-11D1-B16A-00C0F0283628}
Caption = "&Suggestions"
Object.ToolTipText = "Suggestions directory and suggestions behavior"
ImageVarType = 2
EndProperty
BeginProperty Tab8 {1EFB659A-857C-11D1-B16A-00C0F0283628}
Caption = "Search&engine"
Object.ToolTipText = "Searchengine settings"
ImageVarType = 2
EndProperty
BeginProperty Tab9 {1EFB659A-857C-11D1-B16A-00C0F0283628}
Caption = "&Reporting"
Object.ToolTipText = "Reports directory and report behavior"
ImageVarType = 2
EndProperty
BeginProperty Tab10 {1EFB659A-857C-11D1-B16A-00C0F0283628}
Caption = "&Logs"
Object.ToolTipText = "Logs directory and logs behavior"
ImageVarType = 2
EndProperty
BeginProperty Tab11 {1EFB659A-857C-11D1-B16A-00C0F0283628}
Caption = "&Speech"
Object.ToolTipText = "Speech settings"
ImageVarType = 2
EndProperty
BeginProperty Tab12 {1EFB659A-857C-11D1-B16A-00C0F0283628}
Caption = "&Help"
Object.ToolTipText = "Help settings"
ImageVarType = 2
EndProperty
EndProperty
End
Begin VB.Menu mnuFile
Caption = "&File"
Begin VB.Menu mnuFileNewItem
Caption = "&New"
Shortcut = ^N
End
Begin VB.Menu mnuFileOpenItem
Caption = "&Open"
Shortcut = ^O
End
Begin VB.Menu mnuFileSpererator1
Caption = "-"
End
Begin VB.Menu mnuFileSaveItem
Caption = "&Save"
Shortcut = ^S
End
Begin VB.Menu mnuFileSaveAsItem
Caption = "Save As ..."
End
Begin VB.Menu mnuFileSpererator2
Caption = "-"
End
Begin VB.Menu mnuFileCloseItem
Caption = "&Close"
Shortcut = ^Q
End
End
Begin VB.Menu mnuHelp
Caption = "&Help"
Begin VB.Menu mnuHelpConfigurationHelpItem
Caption = "&Configuration Help"
Shortcut = {F1}
End
End
End
Attribute VB_Name = "frmConfiguration"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
' ************************************************************************************
' * Developement History *
' * *
' * Version 4.1 2005-01-16 *
' * - Fixed the tab select order. *
' * Version 4.0 2004-12-12 *
' * - Added a tagging routine and editing check as like in the Attack Editor. *
' * - Added the ToolTipText for the TabStrip sheets. *
' * Version 4.0 2004-12-07 *
' * - Added the elements and procedures for handling the external plugin editor. *
' * Version 4.0 2004-12-06 *
' * - Replaced the DirListBoxes with simple TextBoxes. *
' * - Added an error checking routine for the existence of selected directories. *
' * - Added a browse and default button for all the directory TextBoxes. *
' * - Re-activated the plugin reload procedure if a new plugin directory has been *
' * specified. *
' * Version 3.0 2004-11-05 *
' * - Added an error routine withing the save as function if the cancel button is *
' * pressed. *
' * Version 3.0 2004-11-03 *
' * - Fixed a bug if opening the report configuration. *
' * Version 3.0 2004-11-01 *
' * - Fixed the File/New function. It should work now. *
' * - Deleted all not needed nor supported elements. *
' * Version 3.0 2004-10-30 *
' * - Fully enhanced and re-sorted the configuration file output. We are now using a *
' * Unix/Linux conf file format that allows commenting out lines by using the # *
' * Version 3.0 2004-10-28 *
' * - Added the menu save as function to save specific/other configuration files. *
' * Version 3.0 2004-10-23 *
' * - Added the menu file open function to open specific/other configuration files. *
' * Version 3.0 2004-10-22 *
' * - Added the error message behavior if the target specifying is wrong. *
' * Version 3.0 2004-10-20 *
' * - Added the tab and routines for the online help configuration. *
' * Version 3.0 2004-10-08 *
' * - Enhanced and bugfixed the whole logging. *
' * - Added the update features for the AutoUpdate. *
' * Version 2.1 2004-09-08 *
' * - Corrected and enhanced the full audit mode warning. *
' * Version 2.0 2004-04-08 *
' * - Added the actualizing of the target data in frmAttackVisualizing after *
' * clicking accept. *
' * Version 1.1 2004-03-20 *
' * - Added the configuration file name in the frame caption for more verbosity. *
' * - Added a warning message if the full audit mode is selected. *
' ************************************************************************************
Private bolConfigurationIsEdited As Boolean
Private Sub chkActivateLogs_Click()
If chkActivateLogs.Value = 1 Then
cmbLogsSecurityLevel.Enabled = True
txtLogsDirectory.Enabled = True
cmdBrowseLogsDirectory.Enabled = True
cmdDefaultLogsDirectory.Enabled = True
Else
cmbLogsSecurityLevel.Enabled = False
txtLogsDirectory.Enabled = False
cmdBrowseLogsDirectory.Enabled = False
cmdDefaultLogsDirectory.Enabled = False
End If
End Sub
Private Sub chkActivateLogs_LostFocus()
Call TagConfigAsEdited
End Sub
Private Sub chkActivateSpeech_Click()
Call TagConfigAsEdited
End Sub
Private Sub chkAlertingVulnerabilityFound_LostFocus()
Call TagConfigAsEdited
End Sub
Private Sub chkAlertingVulnerabilityNotFound_LostFocus()
Call TagConfigAsEdited
End Sub
Private Sub chkDoICMPMapping_Click()
If chkDoICMPMapping.Value = 0 Then
chkScanifICMPfails.Enabled = False
Else
chkScanifICMPfails.Enabled = True
End If
End Sub
Private Sub chkDoICMPMapping_LostFocus()
Call TagConfigAsEdited
End Sub
Private Sub chkDoNoDoSChecks_LostFocus()
Call TagConfigAsEdited
End Sub
Private Sub chkDoSilentChecks_LostFocus()
Call TagConfigAsEdited
End Sub
Private Sub chkReportOpenAfterGeneration_LostFocus()
Call TagConfigAsEdited
End Sub
Private Sub chkScanifICMPfails_Click()
If chkScanifICMPfails.Value = 0 Then
chkScanifICMPfails.Enabled = False
Else
chkScanifICMPfails.Enabled = True
End If
End Sub
Private Sub chkScanifICMPfails_LostFocus()
Call TagConfigAsEdited
End Sub
Private Sub chkSuggestions_Click()
If chkSuggestions.Value <> 1 Then
txtSuggestionsDirectory.Enabled = False
cmdBrowseSuggestionsDirectory.Enabled = False
cmdDefaultSuggestionsDirectory.Enabled = False
Else
txtSuggestionsDirectory.Enabled = True
cmdBrowseSuggestionsDirectory.Enabled = True
cmdDefaultSuggestionsDirectory.Enabled = True
End If
End Sub
Private Sub chkSuggestions_LostFocus()
Call TagConfigAsEdited
End Sub
Private Sub cmbHelpURL_LostFocus()
Call DetectConfigAltering("help url", application_help_url, cmbHelpURL.Text)
End Sub
Private Sub cmbLogsSecurityLevel_LostFocus()
Call DetectConfigAltering("logs security level", CStr(application_log_security_level), cmbLogsSecurityLevel.ListIndex)