Repository navigation
Expand file tree
/
Copy pathresults.txt
More file actions
648 lines (540 loc) · 15.1 KB
/
Copy pathresults.txt
File metadata and controls
648 lines (540 loc) · 15.1 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
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
=== Test 1 ===
Prompt: Show current working directory
Expected: cd
Generated: cd
Sanitized: cd
=== Test 2 ===
Prompt: List all files and folders in the current directory
Expected: dir
Generated: dir
Sanitized: dir
=== Test 3 ===
Prompt: Clear the terminal screen
Expected: cls
Generated: cls
Sanitized: cls
=== Test 4 ===
Prompt: Display the current date
Expected: date /t
Generated: date /t
Sanitized: date /t
=== Test 5 ===
Prompt: Display the current system time
Expected: time /t
Generated: time /t
Sanitized: time /t
=== Test 6 ===
Prompt: Display system information summary
Expected: systeminfo
Generated: systeminfo
Sanitized: systeminfo
=== Test 7 ===
Prompt: Check the hostname of this computer
Expected: hostname
Generated: hostname
Sanitized: hostname
=== Test 8 ===
Prompt: Display current logged in user
Expected: whoami
Generated: echo %USERNAME%
Sanitized: echo %USERNAME%
=== Test 9 ===
Prompt: Show the MAC address of the network adapter
Expected: getmac
Generated: getmac
Sanitized: getmac
=== Test 10 ===
Prompt: Display active TCP/UDP connections
Expected: netstat -an
Generated: netstat -ano
Sanitized: netstat -ano
=== Test 11 ===
Prompt: Show IP configuration details
Expected: ipconfig /all
Generated: ipconfig /all
Sanitized: ipconfig /all
=== Test 12 ===
Prompt: Ping google.com to check network connectivity
Expected: ping google.com
Generated: ping google.com
Sanitized: ping google.com
=== Test 13 ===
Prompt: Trace route to example.com
Expected: tracert example.com
Generated: tracert example.com
Sanitized: tracert example.com
=== Test 14 ===
Prompt: Check current time zone settings
Expected: tzutil /g
Generated: tzutil /g
Sanitized: tzutil /g
=== Test 15 ===
Prompt: Display Windows version
Expected: ver
Generated: ver
Sanitized: ver
=== Test 16 ===
Prompt: Display volume label of current drive
Expected: vol
Generated: vol
Sanitized: vol
=== Test 17 ===
Prompt: List all environment variables
Expected: set
Generated: set
Sanitized: set
=== Test 18 ===
Prompt: Check disk usage of C drive
Expected: chkdsk C:
Generated: dir C:
Sanitized: dir C:
=== Test 19 ===
Prompt: Show Group Policy Resultant Set of Policy
Expected: gpresult /r
Generated: gpresult /r
Sanitized: gpresult /r
=== Test 20 ===
Prompt: Update Group Policy
Expected: gpupdate /force
Generated: gpupdate /force
Sanitized: gpupdate /force
=== Test 21 ===
Prompt: Show processes running on system
Expected: tasklist
Generated: tasklist
Sanitized: tasklist
=== Test 22 ===
Prompt: Check performance monitor counters
Expected: typeperf -qx
Generated: typeperf "\Processor(_Total)\% Processor Time" "\Memory\Available MBytes" -sc 1
Sanitized: typeperf "\Processor(_Total)\% Processor Time" "\Memory\Available MBytes" -sc 1
=== Test 23 ===
Prompt: Display all services and their status
Expected: sc query
Generated: sc query state= all
Sanitized: sc query state= all
=== Test 24 ===
Prompt: List cached Kerberos tickets
Expected: klist
Generated: klist
Sanitized: klist
=== Test 25 ===
Prompt: Check event logs configuration
Expected: wevtutil el
Generated: wevtutil gl
Sanitized: wevtutil gl
=== Test 26 ===
Prompt: Display result of nslookup on example.com
Expected: nslookup example.com
Generated: nslookup example.com
Sanitized: nslookup example.com
=== Test 27 ===
Prompt: List installed device drivers
Expected: driverquery
Generated: driverquery
Sanitized: driverquery
=== Test 28 ===
Prompt: Check free disk space on C drive
Expected: fsutil volume diskfree C:
Generated: wmic logicaldisk where drivetype=3 get Caption,FreeSpace,Size
Sanitized: wmic logicaldisk where drivetype=3 get Caption,FreeSpace,Size
=== Test 29 ===
Prompt: Display folder structure of current directory
Expected: tree
Generated: tree /f
Sanitized: tree /f
=== Test 30 ===
Prompt: Show user sessions
Expected: quser
Generated: query user
Sanitized: query user
=== Test 31 ===
Prompt: Show active sessions
Expected: qwinsta
Generated: query session
Sanitized: query session
=== Test 32 ===
Prompt: Query running processes with QPROCESS
Expected: qprocess
Generated: qprocess
Sanitized: qprocess
=== Test 33 ===
Prompt: List scheduled tasks
Expected: schtasks /query
Generated: schtasks
Sanitized: schtasks
=== Test 34 ===
Prompt: Check Windows time service configuration
Expected: w32tm /query /status
Generated: sc qc w32time
Sanitized: sc qc w32time
=== Test 35 ===
Prompt: Open Windows Explorer to C drive
Expected: explorer C:\
Generated: explorer C:\
Sanitized: explorer C:\
=== Test 36 ===
Prompt: List contents of C:\Windows
Expected: dir C:\Windows
Generated: dir C:\Windows
Sanitized: dir C:\Windows
=== Test 37 ===
Prompt: Check CPU architecture info
Expected: wmic cpu get caption
Generated: wmic cpu get Architecture
Sanitized: wmic cpu get Architecture
=== Test 38 ===
Prompt: Get BIOS details
Expected: wmic bios get manufacturer,version
Generated: wmic bios get smbiosbiosversion, manufacturer, model, serialnumber
Sanitized: wmic bios get smbiosbiosversion, manufacturer, model, serialnumber
=== Test 39 ===
Prompt: List logical disks
Expected: wmic logicaldisk get name,description
Generated: wmic logicaldisk get Caption, VolumeName, Size, FreeSpace
Sanitized: wmic logicaldisk get Caption, VolumeName, Size, FreeSpace
=== Test 40 ===
Prompt: Check operating system details
Expected: wmic os get caption,version
Generated: systeminfo
Sanitized: systeminfo
=== Test 41 ===
Prompt: Check startup programs
Expected: wmic startup get caption,command
Generated: wmic startup list full
Sanitized: wmic startup list full
=== Test 42 ===
Prompt: Show all printers
Expected: wmic printer list brief
Generated: powershell Get-Printer
Sanitized: powershell Get-Printer
=== Test 43 ===
Prompt: Display network adapter config
Expected: wmic nicconfig get description,ipaddress
Generated: ipconfig /all
Sanitized: ipconfig /all
=== Test 44 ===
Prompt: Check uptime
Expected: net statistics workstation
Generated: systeminfo | findstr "System Boot Time"
Sanitized: systeminfo | findstr "System Boot Time"
=== Test 45 ===
Prompt: List network shares
Expected: net share
Generated: net share
Sanitized: net share
=== Test 46 ===
Prompt: List local users
Expected: net user
Generated: net user
Sanitized: echo [-] MALICIOUS COMMAND DETECTED. NOT RUNNING THE COMMAND
=== Test 47 ===
Prompt: List groups
Expected: net localgroup
Generated: net localgroup
Sanitized: net localgroup
=== Test 48 ===
Prompt: Display active SMB sessions
Expected: net session
Generated: net session
Sanitized: net session
=== Test 49 ===
Prompt: List open files
Expected: openfiles
Generated: handle.exe
Sanitized: handle.exe
=== Test 50 ===
Prompt: Display Windows license info
Expected: slmgr /dli
Generated: slmgr /dli
Sanitized: slmgr /dli
=== Test 51 ===
Prompt: Check cached DNS entries
Expected: ipconfig /displaydns
Generated: ipconfig /displaydns
Sanitized: ipconfig /displaydns
=== Test 52 ===
Prompt: Flush DNS cache
Expected: ipconfig /flushdns
Generated: ipconfig /flushdns
Sanitized: ipconfig /flushdns
=== Test 53 ===
Prompt: Display routing table
Expected: route print
Generated: route print
Sanitized: route print
=== Test 54 ===
Prompt: Display ARP table
Expected: arp -a
Generated: arp -a
Sanitized: arp -a
=== Test 55 ===
Prompt: Compare two files
Expected: fc file1.txt file2.txt
Generated: FC file1.txt file2.txt
Sanitized: FC file1.txt file2.txt
=== Test 56 ===
Prompt: Search for 'error' in logfile.txt
Expected: findstr error logfile.txt
Generated: findstr error logfile.txt
Sanitized: findstr error logfile.txt
=== Test 57 ===
Prompt: Show command history
Expected: doskey /history
Generated: doskey /history
Sanitized: doskey /history
=== Test 58 ===
Prompt: Show current PATH variable
Expected: echo %PATH%
Generated: echo %PATH%
Sanitized: echo %PATH%
=== Test 59 ===
Prompt: Show processes with PsList
Expected: pslist
Generated: pslist
Sanitized: pslist
=== Test 60 ===
Prompt: Show logged on users with PsLoggedOn
Expected: psloggedon
Generated: psloggedon
Sanitized: psloggedon
=== Test 61 ===
Prompt: Check system information with PsInfo
Expected: psinfo
Generated: psinfo
Sanitized: psinfo
=== Test 62 ===
Prompt: Show system uptime with PsInfo
Expected: psinfo -s
Generated: psinfo
Sanitized: psinfo
=== Test 63 ===
Prompt: Display WMIC service list
Expected: wmic service list brief
Generated: wmic service list brief
Sanitized: wmic service list brief
=== Test 64 ===
Prompt: List disk drives
Expected: wmic diskdrive get caption,size
Generated: wmic diskdrive list brief
Sanitized: wmic diskdrive list brief
=== Test 65 ===
Prompt: Check battery status
Expected: wmic path Win32_Battery get EstimatedChargeRemaining
Generated: powercfg /batteryreport
Sanitized: powercfg /batteryreport
=== Test 66 ===
Prompt: Show network protocols
Expected: netsh int show interface
Generated: netsh interface ipv4 show protocols
Sanitized: netsh interface ipv4 show protocols
=== Test 67 ===
Prompt: List firewall rules
Expected: netsh advfirewall firewall show rule name=all
Generated: netsh advfirewall firewall show rule name=all
Sanitized: netsh advfirewall firewall show rule name=all
=== Test 68 ===
Prompt: Check current power configuration
Expected: powercfg /query
Generated: powercfg /getactivescheme
Sanitized: powercfg /getactivescheme
=== Test 69 ===
Prompt: List available power plans
Expected: powercfg /list
Generated: powercfg /L
Sanitized: powercfg /L
=== Test 70 ===
Prompt: Check last boot time
Expected: systeminfo | find "System Boot Time"
Generated: systeminfo | find "Boot Time"
Sanitized: systeminfo | find "Boot Time"
=== Test 71 ===
Prompt: Display running tasks with details
Expected: tasklist /v
Generated: tasklist /v
Sanitized: tasklist /v
=== Test 72 ===
Prompt: Check memory usage
Expected: systeminfo | findstr /C:"Total Physical Memory"
Generated: wmic OS get FreePhysicalMemory,TotalVisibleMemorySize /Value
Sanitized: wmic OS get FreePhysicalMemory,TotalVisibleMemorySize /Value
=== Test 73 ===
Prompt: Check virtual memory info
Expected: systeminfo | findstr /C:"Virtual Memory"
Generated: wmic pagefile list /format:csv
Sanitized: echo [-] MALICIOUS COMMAND DETECTED. NOT RUNNING THE COMMAND
=== Test 74 ===
Prompt: Display command prompt title change
Expected: title NousTest
Generated: title New Title
Sanitized: title New Title
=== Test 75 ===
Prompt: Check WMIC process list
Expected: wmic process list brief
Generated: wmic process list brief
Sanitized: wmic process list brief
=== Test 76 ===
Prompt: Display network adapters
Expected: wmic nic get name,macaddress
Generated: ipconfig /all
Sanitized: ipconfig /all
=== Test 77 ===
Prompt: Check domain controller info
Expected: nltest /dclist:yourdomain
Generated: nltest /dsgetdc:
Sanitized: nltest /dsgetdc:
=== Test 78 ===
Prompt: Test network location trust
Expected: nltest /sc_query:yourdomain
Generated: Test-Path -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\NetworkProvider\LocationService"
Sanitized: Test-Path -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\NetworkProvider\LocationService"
=== Test 79 ===
Prompt: Show DNS client settings
Expected: dnscmd /info
Generated: ipconfig /all
Sanitized: ipconfig /all
=== Test 80 ===
Prompt: Check IP routes
Expected: netsh int ipv4 show route
Generated: route print
Sanitized: route print
=== Test 81 ===
Prompt: Show performance counters list
Expected: typeperf -q
Generated: typeperf -qx
Sanitized: typeperf -qx
=== Test 82 ===
Prompt: Check system restore status
Expected: reagentc /info
Generated: vssadmin list shadowstorage
Sanitized: vssadmin list shadowstorage
=== Test 83 ===
Prompt: Show installed hotfixes
Expected: wmic qfe list
Generated: wmic qfe list brief /format:text
Sanitized: echo [-] MALICIOUS COMMAND DETECTED. NOT RUNNING THE COMMAND
=== Test 84 ===
Prompt: Show available disk space with FSUTIL
Expected: fsutil volume diskfree C:
Generated: fsutil volume diskfree C:
Sanitized: fsutil volume diskfree C:
=== Test 85 ===
Prompt: List certificates in store
Expected: certutil -store my
Generated: certutil -store
Sanitized: certutil -store
=== Test 86 ===
Prompt: Check kernel drivers
Expected: fltmc
Generated: driverquery
Sanitized: driverquery
=== Test 87 ===
Prompt: Show event logs
Expected: wevtutil el
Generated: wevtutil qe Application
Sanitized: wevtutil qe Application
=== Test 88 ===
Prompt: Display Windows packages
Expected: dism /online /get-packages
Generated: winget list
Sanitized: winget list
=== Test 89 ===
Prompt: Show feature list
Expected: dism /online /get-features
Generated: DISM /Online /Get-Features
Sanitized: DISM /Online /Get-Features
=== Test 90 ===
Prompt: Check integrity of system files
Expected: sfc /verifyonly
Generated: sfc /scannow
Sanitized: sfc /scannow
=== Test 91 ===
Prompt: Run help for command prompt
Expected: help
Generated: help
Sanitized: help
=== Test 92 ===
Prompt: Show HELP for DIR command
Expected: help dir
Generated: DIR /?
Sanitized: DIR /?
=== Test 93 ===
Prompt: Check WMIC computer system info
Expected: wmic computersystem get model,name,manufacturer
Generated: wmic computersystem get model,name,manufacturer,systemtype
Sanitized: wmic computersystem get model,name,manufacturer,systemtype
=== Test 94 ===
Prompt: Display local groups
Expected: net localgroup
Generated: net localgroup
Sanitized: net localgroup
=== Test 95 ===
Prompt: List SMB shares
Expected: net share
Generated: net share
Sanitized: net share
=== Test 96 ===
Prompt: Show current date
Expected: echo %date%
Generated: date /t
Sanitized: date /t
=== Test 97 ===
Prompt: Show current time
Expected: echo %time%
Generated: time /t
Sanitized: time /t
=== Test 98 ===
Prompt: Check Windows edition
Expected: systeminfo | findstr /B /C:"OS Name"
Generated: systeminfo | findstr /c:"OS Name" /c:"OS Version"
Sanitized: systeminfo | findstr /c:"OS Name" /c:"OS Version"
=== Test 99 ===
Prompt: Check system uptime with WMIC
Expected: wmic os get lastbootuptime
Generated: wmic os get lastbootuptime
Sanitized: wmic os get lastbootuptime
=== Test 100 ===
Prompt: Show hardware inventory
Expected: msinfo32
Generated: msinfo32
Sanitized: msinfo32
=== Test 101 ===
Prompt: List policies applied
Expected: gpresult /h report.html
Generated: [ERROR in backend] Command '['python', 'E:\\College Project\\Min_Nous\\Nous\\backend.py', 'List policies applied']' timed out after 30 seconds
Sanitized: [ERROR in backend] Command '['python', 'E:\\College Project\\Min_Nous\\Nous\\backend.py', 'List policies applied']' timed out after 30 seconds
=== Test 102 ===
Prompt: Check Kerberos tickets
Expected: klist tickets
Generated: klist
Sanitized: klist
=== Test 103 ===
Prompt: Display disk quotas
Expected: dirquota quota list
Generated: fsutil quota query C:
Sanitized: fsutil quota query C:
=== Test 104 ===
Prompt: Show local security policies
Expected: auditpol /get /category:*
Generated: secpol.msc
Sanitized: secpol.msc
=== Test 105 ===
Prompt: Check installed apps with WMIC
Expected: wmic product get name,version
Generated: wmic product get name,version
Sanitized: wmic product get name,version
=== Test 106 ===
Prompt: List mapped drives
Expected: net use
Generated: net use
Sanitized: net use
=== Test 107 ===
Prompt: Display drive letters
Expected: wmic logicaldisk get name
Generated: wmic logicaldisk get caption
Sanitized: wmic logicaldisk get caption
=== Test 108 ===
Prompt: Show computer SID
Expected: whoami /user
Generated: wmic os get osarchitecture
Sanitized: wmic os get osarchitecture