forked from google/grr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathclient_fixture.py
4313 lines (4285 loc) · 78.9 KB
/
client_fixture.py
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
#!/usr/bin/env python
# -*- mode: python; encoding: utf-8 -*-
"""This is a test fixture for client objects.."""
from grr.lib import rdfvalue
# This file is mostly data so,
# pylint: disable=g-continuation-in-parens-misaligned,g-line-too-long
LINUX_FIXTURE = [
(u"/", ("VFSGRRClient", {
"metadata:hostname": "Linux%(client_id)s",
"metadata:system": "Linux",
"metadata:os_release": "2.6.38.8",
"metadata:os_version": "#2 SMP Fri Feb 24 03:31:23 PST 2012",
"metadata:uname": "Linux-#2 SMP Fri Feb 24 03:31:23 PST 2012-2.6.38.8",
"metadata:clock": "%(age)s329740",
"metadata:ping": "%(age)s329740",
"metadata:install_date": "1303680521557627",
"metadata:ClientInfo": """
client_name: "GRR Monitor"
client_version: 1
revision: 0
build_time: "unknown"
""",
})),
]
# This dict represents a client VFS. It is a list of (path, attributes) tuples,
# where attributes is a tuple of AFF4 object type and a dict of attributes. All
# strings can contain interpolation strings, and protobufs are encoded in text
# form for readability and interpolation-ability.
VFS = [
(u"/", ("VFSGRRClient", {
"metadata:hostname": "Host%(client_id)s",
"metadata:system": "Windows",
"metadata:os_release": "7",
"metadata:os_version": "6.1.7600",
"metadata:uname": "Windows-6.1.7600-7",
"metadata:clock": "%(age)s329740",
"metadata:ping": "%(age)s329740",
"metadata:install_date": "1303680521557627",
"metadata:ClientInfo": """
client_name: "GRR Monitor"
client_version: 1
revision: 0
build_time: "unknown"
labels: "client-label-23"
""",
"aff4:users":
[u"""
username: "Bert"
full_name: "Eric (Bertrand ) 'Russell' \\"Logician\\" Jacobson"
comment: "A Muppet"
""",
u"""
username: "Ernie"
full_name: "Steve O'Bryan"
comment: "A Muppet"
"""],
})),
(u"/fs/os/c/regex.*?][{}--", ("VFSDirectory", {
})),
# This is unlinked in other VFSDirectory objects - tests if we correctly
# merge data store objects.
(u"/fs/tsk/c/bin", ("VFSDirectory", {
})),
(u"/fs/tsk/c/bin/rbash", ("VFSMemoryFile", {
"aff4:size": 12,
"aff4:content": "Hello world",
})),
(u"/fs/tsk/c/bin/bash", ("VFSMemoryFile", {
"aff4:size": 12,
"aff4:content": "Hello world",
})),
(ur"/fs/os/c/regex\V.*?]xx[{}--", ("VFSDirectory", {
})),
(ur"/fs/os/c/regex\V.*?]xx[{}--/regexchild", ("VFSDirectory", {
})),
(u"/fs/os/proc/", ("VFSDirectory", {
})),
(u"/fs/os/c/bin %(client_id)s", ("VFSDirectory", {
})),
(u"/fs/os/c/bin %(client_id)s/rbash", ("VFSMemoryFile", {
"aff4:size": 12,
"aff4:content": "Hello world",
})),
(u"/fs/os/c/bin %(client_id)s/bash", ("VFSMemoryFile", {
"aff4:size": 12,
"aff4:content": "Hello world",
})),
(u"/fs/os/c/bin %(client_id)s/pidof", ("VFSFile", {
"aff4:stat":
"""
st_mode: 33261
st_ino: 1286783
st_dev: 51713
st_nlink: 1
st_uid: 0
st_gid: 0
st_size: 18776
st_atime: 1308899687
st_mtime: 1307651432
st_ctime: 1308353809
st_blocks: 40
st_blksize: 4096
st_rdev: 0
pathspec {
pathtype: OS
path: "/c/bin %(client_id)s/pidof"
}
"""
})),
(u"/fs/os/c/bin %(client_id)s/hostname", ("VFSFile", {
"aff4:stat":
"""
st_mode: 33261
st_ino: 1026226
st_dev: 51713
st_nlink: 1
st_uid: 0
st_gid: 0
st_size: 14736
st_atime: 1308955274
st_mtime: 1268260136
st_ctime: 1299502221
st_blocks: 32
st_blksize: 4096
st_rdev: 0
pathspec {
pathtype: OS
path: "/c/bin %(client_id)s/hostname"
}
"""
})),
(u"/fs/os/c/bin/bash", ("VFSFile", {
"aff4:stat":
"""
st_mode: 33261
st_ino: 1026148
st_dev: 51713
st_nlink: 1
st_uid: 0
st_gid: 0
st_size: 4874
st_atime: 1299502220
st_mtime: 1284154642
st_ctime: 1299502221
st_blocks: 16
st_blksize: 4096
st_rdev: 0
pathspec {
pathtype: OS
path: "/bin/bash"
}
"""
})),
(u"/fs/os/c/bin %(client_id)s/which", ("VFSFile", {
"aff4:stat":
"""
st_mode: 33261
st_ino: 1026179
st_dev: 51713
st_nlink: 1
st_uid: 0
st_gid: 0
st_size: 946
st_atime: 1309030669
st_mtime: 1260277502
st_ctime: 1299502221
st_blocks: 8
st_blksize: 4096
st_rdev: 0
pathspec {
pathtype: OS
path: "/c/bin %(client_id)s/which"
}
"""
})),
(u"/fs/os/c/bin %(client_id)s/netstat", ("VFSFile", {
"aff4:stat":
"""
st_mode: 33261
st_ino: 1026192
st_dev: 51713
st_nlink: 1
st_uid: 0
st_gid: 0
st_size: 120184
st_atime: 1308964271
st_mtime: 1265937325
st_ctime: 1299502221
st_blocks: 248
st_blksize: 4096
st_rdev: 0
pathspec {
pathtype: OS
path: "/c/bin %(client_id)s/netstat"
}
"""
})),
(u"/fs/os/c/bin %(client_id)s/mount", ("VFSFile", {
"aff4:stat":
"""
st_mode: 35309
st_ino: 1026189
st_dev: 51713
st_nlink: 1
st_uid: 0
st_gid: 0
st_size: 82256
st_atime: 1308964262
st_mtime: 1295553386
st_ctime: 1299502221
st_blocks: 176
st_blksize: 4096
st_rdev: 0
pathspec {
pathtype: OS
path: "/c/bin %(client_id)s/mount"
}
"""
})),
(u"/fs/os/c/bin %(client_id)s/zmore", ("VFSFile", {
"aff4:stat":
"""
st_mode: 33261
st_ino: 1026275
st_dev: 51713
st_nlink: 1
st_uid: 0
st_gid: 0
st_size: 2416
st_atime: 1299502220
st_mtime: 1282034615
st_ctime: 1299502221
st_blocks: 8
st_blksize: 4096
st_rdev: 0
pathspec {
pathtype: OS
path: "/c/bin %(client_id)s/zmore"
}
"""
})),
(u"/fs/os/c/bin %(client_id)s/ksh93", ("VFSFile", {
"aff4:stat":
"""
st_mode: 33261
st_ino: 1026210
st_dev: 51713
st_nlink: 1
st_uid: 0
st_gid: 0
st_size: 1322432
st_atime: 1299502220
st_mtime: 1244469385
st_ctime: 1299502221
st_blocks: 2592
st_blksize: 4096
st_rdev: 0
pathspec {
pathtype: OS
path: "/c/bin %(client_id)s/ksh93"
}
"""
})),
(u"/fs/os/c/bin %(client_id)s/rnano", ("VFSFile", {
"aff4:stat":
"""
st_mode: 33261
st_ino: 1026214
st_dev: 51713
st_nlink: 1
st_uid: 0
st_gid: 0
st_size: 191976
st_atime: 1301488817
st_mtime: 1265074241
st_ctime: 1299502221
st_blocks: 384
st_blksize: 4096
st_rdev: 0
pathspec {
pathtype: OS
path: "/c/bin %(client_id)s/rnano"
}
"""
})),
(u"/fs/os/c/bin %(client_id)s/sync", ("VFSFile", {
"aff4:stat":
"""
st_mode: 33261
st_ino: 1026204
st_dev: 51713
st_nlink: 1
st_uid: 0
st_gid: 0
st_size: 35232
st_atime: 1303294466
st_mtime: 1285093975
st_ctime: 1299502221
st_blocks: 72
st_blksize: 4096
st_rdev: 0
pathspec {
pathtype: OS
path: "/c/bin %(client_id)s/sync"
}
"""
})),
(u"/fs/os/c/bin %(client_id)s/mv", ("VFSFile", {
"aff4:stat":
"""
st_mode: 33261
st_ino: 1026181
st_dev: 51713
st_nlink: 1
st_uid: 0
st_gid: 0
st_size: 97352
st_atime: 1309005675
st_mtime: 1285093975
st_ctime: 1299502221
st_blocks: 200
st_blksize: 4096
st_rdev: 0
pathspec {
pathtype: OS
path: "/c/bin %(client_id)s/mv"
}
"""
})),
(u"/fs/os/c/bin %(client_id)s/mt", ("VFSFile", {
"aff4:stat":
"""
st_mode: 33261
st_ino: 1026258
st_dev: 51713
st_nlink: 1
st_uid: 0
st_gid: 0
st_size: 39880
st_atime: 1299502220
st_mtime: 1267760625
st_ctime: 1299502221
st_blocks: 80
st_blksize: 4096
st_rdev: 0
pathspec {
pathtype: OS
path: "/c/bin %(client_id)s/mt"
}
"""
})),
(u"/fs/os/c/bin %(client_id)s/umount", ("VFSFile", {
"aff4:stat":
"""
st_mode: 35309
st_ino: 1026230
st_dev: 51713
st_nlink: 1
st_uid: 0
st_gid: 0
st_size: 56680
st_atime: 1308960934
st_mtime: 1295553386
st_ctime: 1299502221
st_blocks: 120
st_blksize: 4096
st_rdev: 0
pathspec {
pathtype: OS
path: "/c/bin %(client_id)s/umount"
}
"""
})),
(u"/fs/os/c/中国新闻网新闻中/bzcmp", ("VFSFile", {
"aff4:stat":
u"""
st_mode: 33261
st_ino: 1026148
st_dev: 51713
st_nlink: 1
st_uid: 0
st_gid: 0
st_size: 4874
st_atime: 1299502220
st_mtime: 1284154642
st_ctime: 1299502221
st_blocks: 16
st_blksize: 4096
st_rdev: 0
pathspec {
pathtype: OS
path: "/c/中国新闻网新闻中/bzcmp"
}
"""
})),
(u"/fs/os/c/bin %(client_id)s/tailf", ("VFSFile", {
"aff4:stat":
"""
st_mode: 33261
st_ino: 1026220
st_dev: 51713
st_nlink: 1
st_uid: 0
st_gid: 0
st_size: 10552
st_atime: 1299502220
st_mtime: 1295553385
st_ctime: 1299502221
st_blocks: 24
st_blksize: 4096
st_rdev: 0
pathspec {
pathtype: OS
path: "/c/bin %(client_id)s/tailf"
}
"""
})),
(u"/fs/os/c/bin %(client_id)s/bzless", ("VFSFile", {
"aff4:stat":
"""
st_mode: 33261
st_ino: 1026240
st_dev: 51713
st_nlink: 1
st_uid: 0
st_gid: 0
st_size: 1297
st_atime: 1299502220
st_mtime: 1284154642
st_ctime: 1299502221
st_blocks: 8
st_blksize: 4096
st_rdev: 0
pathspec {
pathtype: OS
path: "/c/bin %(client_id)s/bzless"
}
"""
})),
(u"/fs/os/c/bin %(client_id)s/dir", ("VFSFile", {
"aff4:stat":
"""
st_mode: 33261
st_ino: 1026250
st_dev: 51713
st_nlink: 1
st_uid: 0
st_gid: 0
st_size: 114032
st_atime: 1299502220
st_mtime: 1285093975
st_ctime: 1299502221
st_blocks: 232
st_blksize: 4096
st_rdev: 0
pathspec {
pathtype: OS
path: "/c/bin %(client_id)s/dir"
}
"""
})),
(u"/fs/os/c/bin %(client_id)s/setfont", ("VFSFile", {
"aff4:stat":
"""
st_mode: 33261
st_ino: 1026219
st_dev: 51713
st_nlink: 1
st_uid: 0
st_gid: 0
st_size: 39808
st_atime: 1308269352
st_mtime: 1268404152
st_ctime: 1299502221
st_blocks: 80
st_blksize: 4096
st_rdev: 0
pathspec {
pathtype: OS
path: "/c/bin %(client_id)s/setfont"
}
"""
})),
(u"/fs/os/c/bin %(client_id)s/zegrep", ("VFSFile", {
"aff4:stat":
"""
st_mode: 33261
st_ino: 1026183
st_dev: 51713
st_nlink: 1
st_uid: 0
st_gid: 0
st_size: 64
st_atime: 1299502220
st_mtime: 1282034615
st_ctime: 1299502221
st_blocks: 8
st_blksize: 4096
st_rdev: 0
pathspec {
pathtype: OS
path: "/c/bin %(client_id)s/zegrep"
}
"""
})),
(u"/fs/os/proc/stat", ("VFSFile", {
"aff4:stat":
"""
st_mode: 33261
resident: " \\ncpu 114617668 7836954 50675828 1418369363 12839399 70592 632324 0 14217\\ncpu0 29082342 1842609 9317300 355681349 2794715 30088 59242 0 3170\\ncpu1 28922541 2271509 15959609 352451741 3132959 2503 377305 0 3674\\ncpu2 29410623 1856253 9917677 356174053 3732825 23192 117709 0 4343\\ncpu3 27202162 1866583 15481242 354062220 3178900 14809 78068 0 3030\\nctxt 20506983499\\nbtime 1316172528\\nprocesses 66452973\\nprocs_running 2\\nprocs_blocked 0\\n"
pathspec {
pathtype: OS
path: "/proc/stat"
}
"""
})),
(u"/fs/os/etc/netgroup", ("VFSFile", {
"aff4:size": 168,
"aff4:stat":
"""
st_mode: 33261
st_ino: 1026280
st_dev: 51713
st_nlink: 1
st_uid: 0
st_gid: 0
st_size: 168
st_atime: 1309034899
st_mtime: 1285093976
st_ctime: 1299502221
st_blocks: 80
st_blksize: 4096
st_rdev: 0
pathspec {
pathtype: OS
path: "/etc/netgroup"
}
"""
})),
(u"/fs/os/etc/ssh/sshd_config", ("VFSFile", {
"aff4:size": 168,
"aff4:stat":
"""
st_mode: 33261
st_ino: 1026280
st_dev: 51713
st_nlink: 1
st_uid: 0
st_gid: 0
st_size: 168
st_atime: 1309034899
st_mtime: 1285093976
st_ctime: 1299502221
st_blocks: 80
st_blksize: 4096
st_rdev: 0
resident: "# A comment\\nProtocol 2,1\\n"
pathspec {
pathtype: OS
path: "/etc/ssh/sshd_config"
}
"""
})),
(u"/fs/os/etc/passwd", ("VFSFile", {
"aff4:size": 261,
"aff4:stat":
"""
st_mode: 33261
st_ino: 1026280
st_dev: 51713
st_nlink: 1
st_uid: 0
st_gid: 0
st_size: 261
st_atime: 1309034899
st_mtime: 1285093976
st_ctime: 1299502221
st_blocks: 80
st_blksize: 4096
st_rdev: 0
pathspec {
pathtype: OS
path: "/etc/passwd"
}
"""
})),
(u"/fs/os/var/log/wtmp", ("VFSFile", {
"aff4:size": 1537,
"aff4:stat":
"""
st_mode: 33261
st_ino: 1026280
st_dev: 51713
st_nlink: 1
st_uid: 0
st_gid: 0
st_size: 1537
st_atime: 1309034899
st_mtime: 1285093976
st_ctime: 1299502221
st_blocks: 80
st_blksize: 4096
st_rdev: 0
pathspec {
pathtype: OS
path: "/var/log/wtmp"
}
"""
})),
(u"/fs/os/Users/scalzi", ("VFSDirectory", {
"aff4:stat":
"""
st_mode: 16877
st_ino: 106118
st_dev: 51713
st_nlink: 1
st_uid: 0
st_gid: 0
st_size: 4874
st_atime: 1299502220
st_mtime: 1284154642
st_ctime: 1299502221
st_blocks: 16
st_blksize: 4096
st_rdev: 0
pathspec {
pathtype: OS
path: "/Users/scalzi"
}
""",
"aff4:pathspec":
"""
pathtype: OS
path: "/Users/scalzi"
"""
})),
(u"/fs/os/Users/Shared", ("VFSDirectory", {
"aff4:stat":
"""
st_mode: 16877
st_ino: 106118
st_dev: 51713
st_nlink: 1
st_uid: 0
st_gid: 0
st_size: 4874
st_atime: 1299502220
st_mtime: 1284154642
st_ctime: 1299502221
st_blocks: 16
st_blksize: 4096
st_rdev: 0
pathspec {
pathtype: OS
path: "/Users/Shared"
}
""",
"aff4:pathspec":
"""
pathtype: OS
path: "/Users/Shared"
"""
})),
(u"/fs/os/Users/.localized", ("VFSFile", {
"aff4:size": 15,
"aff4:stat":
"""
st_mode: 33261
st_ino: 1026280
st_dev: 51713
st_nlink: 1
st_uid: 0
st_gid: 0
st_size: 15
st_atime: 1309034899
st_mtime: 1285093976
st_ctime: 1299502221
st_blocks: 80
st_blksize: 4096
st_rdev: 0
pathspec {
pathtype: OS
path: "/Users/.localized"
}
"""
})),
(u"/Users/Bert", ("VFSDirectory", {
"aff4:stat":
"""
st_mode: 16877
st_ino: 106118
st_dev: 51713
st_nlink: 1
st_uid: 0
st_gid: 0
st_size: 4874
st_atime: 1299502220
st_mtime: 1284154642
st_ctime: 1299502221
st_blocks: 16
st_blksize: 4096
st_rdev: 0
pathspec {
pathtype: OS
path: "/Users/Bert"
}
"""
})),
(u"/fs/os/c/bin %(client_id)s/uname", ("VFSFile", {
"aff4:stat":
"""
st_mode: 33261
st_ino: 1026280
st_dev: 51713
st_nlink: 1
st_uid: 0
st_gid: 0
st_size: 39360
st_atime: 1309034899
st_mtime: 1285093976
st_ctime: 1299502221
st_blocks: 80
st_blksize: 4096
st_rdev: 0
pathspec {
pathtype: OS
path: "/c/bin %(client_id)s/uname"
}
"""
})),
(u"/fs/os/c/bin %(client_id)s/nisdomainname", ("VFSFile", {
"aff4:stat":
"""
st_mode: 33261
st_ino: 1026229
st_dev: 51713
st_nlink: 1
st_uid: 0
st_gid: 0
st_size: 14736
st_atime: 1299502220
st_mtime: 1268260136
st_ctime: 1299502221
st_blocks: 32
st_blksize: 4096
st_rdev: 0
pathspec {
pathtype: OS
path: "/c/bin %(client_id)s/nisdomainname"
}
"""
})),
(u"/fs/os/c/bin %(client_id)s/sed", ("VFSFile", {
"aff4:stat":
"""
st_mode: 33261
st_ino: 1026261
st_dev: 51713
st_nlink: 1
st_uid: 0
st_gid: 0
st_size: 69088
st_atime: 1309033744
st_mtime: 1261435126
st_ctime: 1299502221
st_blocks: 144
st_blksize: 4096
st_rdev: 0
pathspec {
pathtype: OS
path: "/c/bin %(client_id)s/sed"
}
"""
})),
(u"/fs/os/c/bin %(client_id)s/egrep", ("VFSFile", {
"aff4:stat":
"""
st_mode: 33261
st_ino: 1026253
st_dev: 51713
st_nlink: 1
st_uid: 0
st_gid: 0
st_size: 105688
st_atime: 1308964880
st_mtime: 1267767223
st_ctime: 1299502221
st_blocks: 216
st_blksize: 4096
st_rdev: 0
pathspec {
pathtype: OS
path: "/c/bin %(client_id)s/egrep"
}
"""
})),
(u"/fs/os/c/bin %(client_id)s/touch", ("VFSFile", {
"aff4:stat":
"""
st_mode: 33261
st_ino: 1026177
st_dev: 51713
st_nlink: 1
st_uid: 0
st_gid: 0
st_size: 60016
st_atime: 1308928450
st_mtime: 1285093975
st_ctime: 1299502221
st_blocks: 128
st_blksize: 4096
st_rdev: 0
pathspec {
pathtype: OS
path: "/c/bin %(client_id)s/touch"
}
"""
})),
(u"/fs/os/c/bin/rbash", ("VFSFile", {
"aff4:stat":
"""
st_mode: 33261
st_ino: 1026236
st_dev: 51713
st_nlink: 1
st_uid: 0
st_gid: 0
st_size: 934336
st_atime: 1309007414
st_mtime: 1271643361
st_ctime: 1299502221
st_blocks: 1840
st_blksize: 4096
st_rdev: 0
pathspec {
pathtype: OS
path: "/c/bin/rbash"
}
"""
})),
(u"/fs/os/c/bin %(client_id)s/ksh", ("VFSFile", {
"aff4:stat":
"""
st_mode: 33261
st_ino: 1026210
st_dev: 51713
st_nlink: 1
st_uid: 0
st_gid: 0
st_size: 1322432
st_atime: 1299502220
st_mtime: 1244469385
st_ctime: 1299502221
st_blocks: 2592
st_blksize: 4096
st_rdev: 0
pathspec {
pathtype: OS
path: "/c/bin %(client_id)s/ksh"
}
"""
})),
(u"/fs/os/c/bin %(client_id)s/uncompress", ("VFSFile", {
"aff4:stat":
"""
st_mode: 33261
st_ino: 1026217
st_dev: 51713
st_nlink: 1
st_uid: 0
st_gid: 0
st_size: 63
st_atime: 1299502220
st_mtime: 1282034615
st_ctime: 1299502221
st_blocks: 8
st_blksize: 4096
st_rdev: 0
pathspec {
pathtype: OS
path: "/c/bin %(client_id)s/uncompress"
}
"""
})),
(u"/fs/os/c/bin %(client_id)s/csh", ("VFSFile", {
"aff4:stat":
"""
st_mode: 33261
st_ino: 1026157
st_dev: 51713
st_nlink: 1
st_uid: 0
st_gid: 0
st_size: 150592
st_atime: 1299502220
st_mtime: 1247833437
st_ctime: 1299502221
st_blocks: 304
st_blksize: 4096
st_rdev: 0
pathspec {
pathtype: OS
path: "/c/bin %(client_id)s/csh"
}
"""
})),
(u"/fs/os/c/bin %(client_id)s/true", ("VFSFile", {
"aff4:stat":
"""
st_mode: 33261
st_ino: 1026241
st_dev: 51713
st_nlink: 1
st_uid: 0
st_gid: 0
st_size: 35216
st_atime: 1308899805
st_mtime: 1285093976
st_ctime: 1299502221
st_blocks: 72
st_blksize: 4096
st_rdev: 0
pathspec {
pathtype: OS
path: "/c/bin %(client_id)s/true"
}
"""
})),
(u"/fs/os/c/bin %(client_id)s/bzip2recover", ("VFSFile", {
"aff4:stat":
"""
st_mode: 33261
st_ino: 1026203
st_dev: 51713
st_nlink: 1
st_uid: 0
st_gid: 0
st_size: 10392
st_atime: 1299502220
st_mtime: 1284154642
st_ctime: 1299502221
st_blocks: 24
st_blksize: 4096
st_rdev: 0
pathspec {
pathtype: OS
path: "/c/bin %(client_id)s/bzip2recover"
}
"""
})),
(u"/fs/os/c/bin %(client_id)s/znew", ("VFSFile", {
"aff4:stat":
"""
st_mode: 33261
st_ino: 1026264
st_dev: 51713
st_nlink: 1
st_uid: 0
st_gid: 0
st_size: 4952
st_atime: 1299502220
st_mtime: 1282034615
st_ctime: 1299502221
st_blocks: 16
st_blksize: 4096
st_rdev: 0
pathspec {
pathtype: OS
path: "/c/bin %(client_id)s/znew"
}
"""
})),
(u"/fs/os/c/bin %(client_id)s/bzcat", ("VFSFile", {
"aff4:stat":
"""
st_mode: 33261
st_ino: 1026224
st_dev: 51713
st_nlink: 1
st_uid: 0
st_gid: 0
st_size: 31176
st_atime: 1299502220
st_mtime: 1284154642
st_ctime: 1299502221
st_blocks: 64
st_blksize: 4096
st_rdev: 0
pathspec {
pathtype: OS
path: "/c/bin %(client_id)s/bzcat"
}