Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rapid7
GitHub Repository: rapid7/metasploit-framework
Path: blob/master/spec/modules/payloads_spec.rb
28201 views
1
require 'spec_helper'
2
3
RSpec.describe 'modules/payloads', :content do
4
modules_pathname = Pathname.new(__FILE__).parent.parent.parent.join('modules')
5
6
include_context 'untested payloads', modules_pathname: modules_pathname
7
8
context 'aix/ppc/shell_bind_tcp' do
9
it_should_behave_like 'payload cached size is consistent',
10
ancestor_reference_names: [
11
'singles/aix/ppc/shell_bind_tcp'
12
],
13
dynamic_size: false,
14
modules_pathname: modules_pathname,
15
reference_name: 'aix/ppc/shell_bind_tcp'
16
end
17
18
context 'aix/ppc/shell_find_port' do
19
it_should_behave_like 'payload cached size is consistent',
20
ancestor_reference_names: [
21
'singles/aix/ppc/shell_find_port'
22
],
23
dynamic_size: false,
24
modules_pathname: modules_pathname,
25
reference_name: 'aix/ppc/shell_find_port'
26
end
27
28
context 'aix/ppc/shell_interact' do
29
it_should_behave_like 'payload cached size is consistent',
30
ancestor_reference_names: [
31
'singles/aix/ppc/shell_interact'
32
],
33
dynamic_size: false,
34
modules_pathname: modules_pathname,
35
reference_name: 'aix/ppc/shell_interact'
36
end
37
38
context 'aix/ppc/shell_reverse_tcp' do
39
it_should_behave_like 'payload cached size is consistent',
40
ancestor_reference_names: [
41
'singles/aix/ppc/shell_reverse_tcp'
42
],
43
dynamic_size: false,
44
modules_pathname: modules_pathname,
45
reference_name: 'aix/ppc/shell_reverse_tcp'
46
end
47
48
context 'apple_ios/aarch64/meterpreter_reverse_http' do
49
it_should_behave_like 'payload cached size is consistent',
50
ancestor_reference_names: [
51
'singles/apple_ios/aarch64/meterpreter_reverse_http'
52
],
53
dynamic_size: false,
54
modules_pathname: modules_pathname,
55
reference_name: 'apple_ios/aarch64/meterpreter_reverse_http'
56
end
57
58
context 'apple_ios/aarch64/meterpreter_reverse_https' do
59
it_should_behave_like 'payload cached size is consistent',
60
ancestor_reference_names: [
61
'singles/apple_ios/aarch64/meterpreter_reverse_https'
62
],
63
dynamic_size: false,
64
modules_pathname: modules_pathname,
65
reference_name: 'apple_ios/aarch64/meterpreter_reverse_https'
66
end
67
68
context 'apple_ios/aarch64/meterpreter_reverse_tcp' do
69
it_should_behave_like 'payload cached size is consistent',
70
ancestor_reference_names: [
71
'singles/apple_ios/aarch64/meterpreter_reverse_tcp'
72
],
73
dynamic_size: false,
74
modules_pathname: modules_pathname,
75
reference_name: 'apple_ios/aarch64/meterpreter_reverse_tcp'
76
end
77
78
context 'apple_ios/aarch64/shell_reverse_tcp' do
79
it_should_behave_like 'payload cached size is consistent',
80
ancestor_reference_names: [
81
'singles/apple_ios/aarch64/shell_reverse_tcp'
82
],
83
dynamic_size: false,
84
modules_pathname: modules_pathname,
85
reference_name: 'apple_ios/aarch64/shell_reverse_tcp'
86
end
87
88
context 'apple_ios/armle/meterpreter_reverse_http' do
89
it_should_behave_like 'payload cached size is consistent',
90
ancestor_reference_names: [
91
'singles/apple_ios/armle/meterpreter_reverse_http'
92
],
93
dynamic_size: false,
94
modules_pathname: modules_pathname,
95
reference_name: 'apple_ios/armle/meterpreter_reverse_http'
96
end
97
98
context 'apple_ios/armle/meterpreter_reverse_https' do
99
it_should_behave_like 'payload cached size is consistent',
100
ancestor_reference_names: [
101
'singles/apple_ios/armle/meterpreter_reverse_https'
102
],
103
dynamic_size: false,
104
modules_pathname: modules_pathname,
105
reference_name: 'apple_ios/armle/meterpreter_reverse_https'
106
end
107
108
context 'apple_ios/armle/meterpreter_reverse_tcp' do
109
it_should_behave_like 'payload cached size is consistent',
110
ancestor_reference_names: [
111
'singles/apple_ios/armle/meterpreter_reverse_tcp'
112
],
113
dynamic_size: false,
114
modules_pathname: modules_pathname,
115
reference_name: 'apple_ios/armle/meterpreter_reverse_tcp'
116
end
117
118
context 'android/meterpreter_reverse_https' do
119
it_should_behave_like 'payload cached size is consistent',
120
ancestor_reference_names: [
121
'singles/android/meterpreter_reverse_https'
122
],
123
dynamic_size: true,
124
modules_pathname: modules_pathname,
125
reference_name: 'android/meterpreter_reverse_https'
126
end
127
128
context 'android/meterpreter_reverse_http' do
129
it_should_behave_like 'payload cached size is consistent',
130
ancestor_reference_names: [
131
'singles/android/meterpreter_reverse_http'
132
],
133
dynamic_size: true,
134
modules_pathname: modules_pathname,
135
reference_name: 'android/meterpreter_reverse_http'
136
end
137
138
context 'android/meterpreter_reverse_tcp' do
139
it_should_behave_like 'payload cached size is consistent',
140
ancestor_reference_names: [
141
'singles/android/meterpreter_reverse_tcp'
142
],
143
dynamic_size: true,
144
modules_pathname: modules_pathname,
145
reference_name: 'android/meterpreter_reverse_tcp'
146
end
147
148
context 'android/meterpreter/reverse_http' do
149
it_should_behave_like 'payload cached size is consistent',
150
ancestor_reference_names: [
151
'stagers/android/reverse_http',
152
'stages/android/meterpreter'
153
],
154
dynamic_size: true,
155
modules_pathname: modules_pathname,
156
reference_name: 'android/meterpreter/reverse_http'
157
end
158
159
context 'android/meterpreter/reverse_https' do
160
it_should_behave_like 'payload cached size is consistent',
161
ancestor_reference_names: [
162
'stagers/android/reverse_https',
163
'stages/android/meterpreter'
164
],
165
dynamic_size: true,
166
modules_pathname: modules_pathname,
167
reference_name: 'android/meterpreter/reverse_https'
168
end
169
170
context 'android/meterpreter/reverse_tcp' do
171
it_should_behave_like 'payload cached size is consistent',
172
ancestor_reference_names: [
173
'stagers/android/reverse_tcp',
174
'stages/android/meterpreter'
175
],
176
dynamic_size: true,
177
modules_pathname: modules_pathname,
178
reference_name: 'android/meterpreter/reverse_tcp'
179
end
180
181
context 'android/shell/reverse_http' do
182
it_should_behave_like 'payload cached size is consistent',
183
ancestor_reference_names: [
184
'stagers/android/reverse_http',
185
'stages/android/shell'
186
],
187
dynamic_size: true,
188
modules_pathname: modules_pathname,
189
reference_name: 'android/shell/reverse_http'
190
end
191
192
context 'android/shell/reverse_https' do
193
it_should_behave_like 'payload cached size is consistent',
194
ancestor_reference_names: [
195
'stagers/android/reverse_https',
196
'stages/android/shell'
197
],
198
dynamic_size: true,
199
modules_pathname: modules_pathname,
200
reference_name: 'android/shell/reverse_https'
201
end
202
203
context 'android/shell/reverse_tcp' do
204
it_should_behave_like 'payload cached size is consistent',
205
ancestor_reference_names: [
206
'stagers/android/reverse_tcp',
207
'stages/android/shell'
208
],
209
dynamic_size: true,
210
modules_pathname: modules_pathname,
211
reference_name: 'android/shell/reverse_tcp'
212
end
213
214
context 'bsd/sparc/shell_bind_tcp' do
215
it_should_behave_like 'payload cached size is consistent',
216
ancestor_reference_names: [
217
'singles/bsd/sparc/shell_bind_tcp'
218
],
219
dynamic_size: false,
220
modules_pathname: modules_pathname,
221
reference_name: 'bsd/sparc/shell_bind_tcp'
222
end
223
224
context 'bsd/sparc/shell_reverse_tcp' do
225
it_should_behave_like 'payload cached size is consistent',
226
ancestor_reference_names: [
227
'singles/bsd/sparc/shell_reverse_tcp'
228
],
229
dynamic_size: false,
230
modules_pathname: modules_pathname,
231
reference_name: 'bsd/sparc/shell_reverse_tcp'
232
end
233
234
context 'bsd/vax/shell_reverse_tcp' do
235
it_should_behave_like 'payload cached size is consistent',
236
ancestor_reference_names: [
237
'singles/bsd/vax/shell_reverse_tcp'
238
],
239
dynamic_size: false,
240
modules_pathname: modules_pathname,
241
reference_name: 'bsd/vax/shell_reverse_tcp'
242
end
243
244
context 'bsd/x64/exec' do
245
it_should_behave_like 'payload cached size is consistent',
246
ancestor_reference_names: [
247
'singles/bsd/x64/exec'
248
],
249
dynamic_size: false,
250
modules_pathname: modules_pathname,
251
reference_name: 'bsd/x64/exec'
252
end
253
254
context 'bsd/x64/shell_bind_ipv6_tcp' do
255
it_should_behave_like 'payload cached size is consistent',
256
ancestor_reference_names: [
257
'singles/bsd/x64/shell_bind_ipv6_tcp'
258
],
259
dynamic_size: false,
260
modules_pathname: modules_pathname,
261
reference_name: 'bsd/x64/shell_bind_ipv6_tcp'
262
end
263
264
context 'bsd/x64/shell_bind_tcp' do
265
it_should_behave_like 'payload cached size is consistent',
266
ancestor_reference_names: [
267
'singles/bsd/x64/shell_bind_tcp'
268
],
269
dynamic_size: false,
270
modules_pathname: modules_pathname,
271
reference_name: 'bsd/x64/shell_bind_tcp'
272
end
273
274
context 'bsd/x64/shell_bind_tcp_small' do
275
it_should_behave_like 'payload cached size is consistent',
276
ancestor_reference_names: [
277
'singles/bsd/x64/shell_bind_tcp_small'
278
],
279
dynamic_size: false,
280
modules_pathname: modules_pathname,
281
reference_name: 'bsd/x64/shell_bind_tcp_small'
282
end
283
284
context 'bsd/x64/shell_reverse_ipv6_tcp' do
285
it_should_behave_like 'payload cached size is consistent',
286
ancestor_reference_names: [
287
'singles/bsd/x64/shell_reverse_ipv6_tcp'
288
],
289
dynamic_size: false,
290
modules_pathname: modules_pathname,
291
reference_name: 'bsd/x64/shell_reverse_ipv6_tcp'
292
end
293
294
context 'bsd/x64/shell_reverse_tcp' do
295
it_should_behave_like 'payload cached size is consistent',
296
ancestor_reference_names: [
297
'singles/bsd/x64/shell_reverse_tcp'
298
],
299
dynamic_size: false,
300
modules_pathname: modules_pathname,
301
reference_name: 'bsd/x64/shell_reverse_tcp'
302
end
303
304
context 'bsd/x64/shell_reverse_tcp_small' do
305
it_should_behave_like 'payload cached size is consistent',
306
ancestor_reference_names: [
307
'singles/bsd/x64/shell_reverse_tcp_small'
308
],
309
dynamic_size: false,
310
modules_pathname: modules_pathname,
311
reference_name: 'bsd/x64/shell_reverse_tcp_small'
312
end
313
314
context 'bsd/x86/exec' do
315
it_should_behave_like 'payload cached size is consistent',
316
ancestor_reference_names: [
317
'singles/bsd/x86/exec'
318
],
319
dynamic_size: false,
320
modules_pathname: modules_pathname,
321
reference_name: 'bsd/x86/exec'
322
end
323
324
context 'bsd/x86/metsvc_bind_tcp' do
325
it_should_behave_like 'payload cached size is consistent',
326
ancestor_reference_names: [
327
'singles/bsd/x86/metsvc_bind_tcp'
328
],
329
dynamic_size: false,
330
modules_pathname: modules_pathname,
331
reference_name: 'bsd/x86/metsvc_bind_tcp'
332
end
333
334
context 'bsd/x86/metsvc_reverse_tcp' do
335
it_should_behave_like 'payload cached size is consistent',
336
ancestor_reference_names: [
337
'singles/bsd/x86/metsvc_reverse_tcp'
338
],
339
dynamic_size: false,
340
modules_pathname: modules_pathname,
341
reference_name: 'bsd/x86/metsvc_reverse_tcp'
342
end
343
344
context 'bsd/x86/shell/bind_ipv6_tcp' do
345
it_should_behave_like 'payload cached size is consistent',
346
ancestor_reference_names: [
347
'stagers/bsd/x86/bind_ipv6_tcp',
348
'stages/bsd/x86/shell'
349
],
350
dynamic_size: false,
351
modules_pathname: modules_pathname,
352
reference_name: 'bsd/x86/shell/bind_ipv6_tcp'
353
end
354
355
context 'bsd/x86/shell/bind_tcp' do
356
it_should_behave_like 'payload cached size is consistent',
357
ancestor_reference_names: [
358
'stagers/bsd/x86/bind_tcp',
359
'stages/bsd/x86/shell'
360
],
361
dynamic_size: false,
362
modules_pathname: modules_pathname,
363
reference_name: 'bsd/x86/shell/bind_tcp'
364
end
365
366
context 'bsd/x86/shell/find_tag' do
367
it_should_behave_like 'payload cached size is consistent',
368
ancestor_reference_names: [
369
'stagers/bsd/x86/find_tag',
370
'stages/bsd/x86/shell'
371
],
372
dynamic_size: false,
373
modules_pathname: modules_pathname,
374
reference_name: 'bsd/x86/shell/find_tag'
375
end
376
377
context 'bsd/x86/shell/reverse_ipv6_tcp' do
378
it_should_behave_like 'payload cached size is consistent',
379
ancestor_reference_names: [
380
'stagers/bsd/x86/reverse_ipv6_tcp',
381
'stages/bsd/x86/shell'
382
],
383
dynamic_size: false,
384
modules_pathname: modules_pathname,
385
reference_name: 'bsd/x86/shell/reverse_ipv6_tcp'
386
end
387
388
context 'bsd/x86/shell/reverse_tcp' do
389
it_should_behave_like 'payload cached size is consistent',
390
ancestor_reference_names: [
391
'stagers/bsd/x86/reverse_tcp',
392
'stages/bsd/x86/shell'
393
],
394
dynamic_size: false,
395
modules_pathname: modules_pathname,
396
reference_name: 'bsd/x86/shell/reverse_tcp'
397
end
398
399
context 'bsd/x86/shell_bind_tcp' do
400
it_should_behave_like 'payload cached size is consistent',
401
ancestor_reference_names: [
402
'singles/bsd/x86/shell_bind_tcp'
403
],
404
dynamic_size: false,
405
modules_pathname: modules_pathname,
406
reference_name: 'bsd/x86/shell_bind_tcp'
407
end
408
409
context 'bsd/x86/shell_bind_tcp_ipv6' do
410
it_should_behave_like 'payload cached size is consistent',
411
ancestor_reference_names: [
412
'singles/bsd/x86/shell_bind_tcp_ipv6'
413
],
414
dynamic_size: false,
415
modules_pathname: modules_pathname,
416
reference_name: 'bsd/x86/shell_bind_tcp_ipv6'
417
end
418
419
context 'bsd/x86/shell_find_port' do
420
it_should_behave_like 'payload cached size is consistent',
421
ancestor_reference_names: [
422
'singles/bsd/x86/shell_find_port'
423
],
424
dynamic_size: false,
425
modules_pathname: modules_pathname,
426
reference_name: 'bsd/x86/shell_find_port'
427
end
428
429
context 'bsd/x86/shell_find_tag' do
430
it_should_behave_like 'payload cached size is consistent',
431
ancestor_reference_names: [
432
'singles/bsd/x86/shell_find_tag'
433
],
434
dynamic_size: false,
435
modules_pathname: modules_pathname,
436
reference_name: 'bsd/x86/shell_find_tag'
437
end
438
439
context 'bsd/x86/shell_reverse_tcp' do
440
it_should_behave_like 'payload cached size is consistent',
441
ancestor_reference_names: [
442
'singles/bsd/x86/shell_reverse_tcp'
443
],
444
dynamic_size: false,
445
modules_pathname: modules_pathname,
446
reference_name: 'bsd/x86/shell_reverse_tcp'
447
end
448
449
context 'bsd/x86/shell_reverse_tcp_ipv6' do
450
it_should_behave_like 'payload cached size is consistent',
451
ancestor_reference_names: [
452
'singles/bsd/x86/shell_reverse_tcp_ipv6'
453
],
454
dynamic_size: false,
455
modules_pathname: modules_pathname,
456
reference_name: 'bsd/x86/shell_reverse_tcp_ipv6'
457
end
458
459
context 'bsdi/x86/shell/bind_tcp' do
460
it_should_behave_like 'payload cached size is consistent',
461
ancestor_reference_names: [
462
'stagers/bsdi/x86/bind_tcp',
463
'stages/bsdi/x86/shell'
464
],
465
dynamic_size: false,
466
modules_pathname: modules_pathname,
467
reference_name: 'bsdi/x86/shell/bind_tcp'
468
end
469
470
context 'bsdi/x86/shell/reverse_tcp' do
471
it_should_behave_like 'payload cached size is consistent',
472
ancestor_reference_names: [
473
'stagers/bsdi/x86/reverse_tcp',
474
'stages/bsdi/x86/shell'
475
],
476
dynamic_size: false,
477
modules_pathname: modules_pathname,
478
reference_name: 'bsdi/x86/shell/reverse_tcp'
479
end
480
481
context 'bsdi/x86/shell_bind_tcp' do
482
it_should_behave_like 'payload cached size is consistent',
483
ancestor_reference_names: [
484
'singles/bsdi/x86/shell_bind_tcp'
485
],
486
dynamic_size: false,
487
modules_pathname: modules_pathname,
488
reference_name: 'bsdi/x86/shell_bind_tcp'
489
end
490
491
context 'bsdi/x86/shell_find_port' do
492
it_should_behave_like 'payload cached size is consistent',
493
ancestor_reference_names: [
494
'singles/bsdi/x86/shell_find_port'
495
],
496
dynamic_size: false,
497
modules_pathname: modules_pathname,
498
reference_name: 'bsdi/x86/shell_find_port'
499
end
500
501
context 'bsdi/x86/shell_reverse_tcp' do
502
it_should_behave_like 'payload cached size is consistent',
503
ancestor_reference_names: [
504
'singles/bsdi/x86/shell_reverse_tcp'
505
],
506
dynamic_size: false,
507
modules_pathname: modules_pathname,
508
reference_name: 'bsdi/x86/shell_reverse_tcp'
509
end
510
511
context 'cmd/linux/http/mips64' do
512
it_should_behave_like 'payload is not cached',
513
ancestor_reference_names: [
514
'adapters/cmd/linux/http/mips64'
515
],
516
reference_name: 'cmd/linux/http/mips64'
517
end
518
519
context 'cmd/linux/https/mips64' do
520
it_should_behave_like 'payload is not cached',
521
ancestor_reference_names: [
522
'adapters/cmd/linux/https/mips64'
523
],
524
reference_name: 'cmd/linux/https/mips64'
525
end
526
527
context 'cmd/linux/tftp/mips64' do
528
it_should_behave_like 'payload is not cached',
529
ancestor_reference_names: [
530
'adapters/cmd/linux/tftp/mips64'
531
],
532
reference_name: 'cmd/linux/tftp/mips64'
533
end
534
535
context 'cmd/linux/http/x64' do
536
it_should_behave_like 'payload is not cached',
537
ancestor_reference_names: [
538
'adapters/cmd/linux/http/x64'
539
],
540
reference_name: 'cmd/linux/http/x64'
541
end
542
543
context 'cmd/linux/https/x64' do
544
it_should_behave_like 'payload is not cached',
545
ancestor_reference_names: [
546
'adapters/cmd/linux/https/x64'
547
],
548
reference_name: 'cmd/linux/https/x64'
549
end
550
551
context 'cmd/linux/tftp/x64' do
552
it_should_behave_like 'payload is not cached',
553
ancestor_reference_names: [
554
'adapters/cmd/linux/tftp/x64'
555
],
556
reference_name: 'cmd/linux/tftp/x64'
557
end
558
559
context 'cmd/linux/http/aarch64' do
560
it_should_behave_like 'payload is not cached',
561
ancestor_reference_names: [
562
'adapters/cmd/linux/http/aarch64'
563
],
564
reference_name: 'cmd/linux/http/aarch64'
565
end
566
567
context 'cmd/linux/https/aarch64' do
568
it_should_behave_like 'payload is not cached',
569
ancestor_reference_names: [
570
'adapters/cmd/linux/https/aarch64'
571
],
572
reference_name: 'cmd/linux/https/aarch64'
573
end
574
575
context 'cmd/linux/tftp/aarch64' do
576
it_should_behave_like 'payload is not cached',
577
ancestor_reference_names: [
578
'adapters/cmd/linux/tftp/aarch64'
579
],
580
reference_name: 'cmd/linux/tftp/aarch64'
581
end
582
583
584
context 'cmd/linux/http/armbe' do
585
it_should_behave_like 'payload is not cached',
586
ancestor_reference_names: [
587
'adapters/cmd/linux/http/armbe'
588
],
589
reference_name: 'cmd/linux/http/armbe'
590
end
591
592
context 'cmd/linux/https/armbe' do
593
it_should_behave_like 'payload is not cached',
594
ancestor_reference_names: [
595
'adapters/cmd/linux/https/armbe'
596
],
597
reference_name: 'cmd/linux/https/armbe'
598
end
599
600
context 'cmd/linux/tftp/armbe' do
601
it_should_behave_like 'payload is not cached',
602
ancestor_reference_names: [
603
'adapters/cmd/linux/tftp/armbe'
604
],
605
reference_name: 'cmd/linux/tftp/armbe'
606
end
607
608
context 'cmd/linux/http/armle' do
609
it_should_behave_like 'payload is not cached',
610
ancestor_reference_names: [
611
'adapters/cmd/linux/http/armle'
612
],
613
reference_name: 'cmd/linux/http/armle'
614
end
615
616
context 'cmd/linux/https/armle' do
617
it_should_behave_like 'payload is not cached',
618
ancestor_reference_names: [
619
'adapters/cmd/linux/https/armle'
620
],
621
reference_name: 'cmd/linux/https/armle'
622
end
623
624
context 'cmd/linux/tftp/armle' do
625
it_should_behave_like 'payload is not cached',
626
ancestor_reference_names: [
627
'adapters/cmd/linux/tftp/armle'
628
],
629
reference_name: 'cmd/linux/tftp/armle'
630
end
631
632
context 'cmd/linux/http/mipsbe' do
633
it_should_behave_like 'payload is not cached',
634
ancestor_reference_names: [
635
'adapters/cmd/linux/http/mipsbe'
636
],
637
reference_name: 'cmd/linux/http/mipsbe'
638
end
639
640
context 'cmd/linux/https/mipsbe' do
641
it_should_behave_like 'payload is not cached',
642
ancestor_reference_names: [
643
'adapters/cmd/linux/https/mipsbe'
644
],
645
reference_name: 'cmd/linux/https/mipsbe'
646
end
647
648
context 'cmd/linux/tftp/mipsbe' do
649
it_should_behave_like 'payload is not cached',
650
ancestor_reference_names: [
651
'adapters/cmd/linux/tftp/mipsbe'
652
],
653
reference_name: 'cmd/linux/tftp/mipsbe'
654
end
655
656
context 'cmd/linux/http/mipsle' do
657
it_should_behave_like 'payload is not cached',
658
ancestor_reference_names: [
659
'adapters/cmd/linux/http/mipsle'
660
],
661
reference_name: 'cmd/linux/http/mipsle'
662
end
663
664
context 'cmd/linux/https/mipsle' do
665
it_should_behave_like 'payload is not cached',
666
ancestor_reference_names: [
667
'adapters/cmd/linux/https/mipsle'
668
],
669
reference_name: 'cmd/linux/https/mipsle'
670
end
671
672
context 'cmd/linux/tftp/mipsle' do
673
it_should_behave_like 'payload is not cached',
674
ancestor_reference_names: [
675
'adapters/cmd/linux/tftp/mipsle'
676
],
677
reference_name: 'cmd/linux/tftp/mipsle'
678
end
679
680
context 'cmd/linux/http/ppc' do
681
it_should_behave_like 'payload is not cached',
682
ancestor_reference_names: [
683
'adapters/cmd/linux/http/ppc'
684
],
685
reference_name: 'cmd/linux/http/ppc'
686
end
687
688
context 'cmd/linux/https/ppc' do
689
it_should_behave_like 'payload is not cached',
690
ancestor_reference_names: [
691
'adapters/cmd/linux/https/ppc'
692
],
693
reference_name: 'cmd/linux/https/ppc'
694
end
695
696
context 'cmd/linux/tftp/ppc' do
697
it_should_behave_like 'payload is not cached',
698
ancestor_reference_names: [
699
'adapters/cmd/linux/tftp/ppc'
700
],
701
reference_name: 'cmd/linux/tftp/ppc'
702
end
703
704
context 'cmd/linux/http/ppc64' do
705
it_should_behave_like 'payload is not cached',
706
ancestor_reference_names: [
707
'adapters/cmd/linux/http/ppc64'
708
],
709
reference_name: 'cmd/linux/http/ppc64'
710
end
711
712
context 'cmd/linux/https/ppc64' do
713
it_should_behave_like 'payload is not cached',
714
ancestor_reference_names: [
715
'adapters/cmd/linux/https/ppc64'
716
],
717
reference_name: 'cmd/linux/https/ppc64'
718
end
719
720
context 'cmd/linux/tftp/ppc64' do
721
it_should_behave_like 'payload is not cached',
722
ancestor_reference_names: [
723
'adapters/cmd/linux/tftp/ppc64'
724
],
725
reference_name: 'cmd/linux/tftp/ppc64'
726
end
727
728
context 'cmd/linux/http/ppc64le' do
729
it_should_behave_like 'payload is not cached',
730
ancestor_reference_names: [
731
'adapters/cmd/linux/http/ppc64le'
732
],
733
reference_name: 'cmd/linux/http/ppc64le'
734
end
735
736
context 'cmd/linux/https/ppc64le' do
737
it_should_behave_like 'payload is not cached',
738
ancestor_reference_names: [
739
'adapters/cmd/linux/https/ppc64le'
740
],
741
reference_name: 'cmd/linux/https/ppc64le'
742
end
743
744
context 'cmd/linux/tftp/ppc64le' do
745
it_should_behave_like 'payload is not cached',
746
ancestor_reference_names: [
747
'adapters/cmd/linux/tftp/ppc64le'
748
],
749
reference_name: 'cmd/linux/tftp/ppc64le'
750
end
751
752
context 'cmd/linux/http/x86' do
753
it_should_behave_like 'payload is not cached',
754
ancestor_reference_names: [
755
'adapters/cmd/linux/http/x86'
756
],
757
reference_name: 'cmd/linux/http/x86'
758
end
759
760
context 'cmd/linux/https/x86' do
761
it_should_behave_like 'payload is not cached',
762
ancestor_reference_names: [
763
'adapters/cmd/linux/https/x86'
764
],
765
reference_name: 'cmd/linux/https/x86'
766
end
767
768
context 'cmd/linux/tftp/x86' do
769
it_should_behave_like 'payload is not cached',
770
ancestor_reference_names: [
771
'adapters/cmd/linux/tftp/x86'
772
],
773
reference_name: 'cmd/linux/tftp/x86'
774
end
775
776
context 'cmd/mainframe/generic_jcl' do
777
it_should_behave_like 'payload cached size is consistent',
778
ancestor_reference_names: [
779
'singles/cmd/mainframe/generic_jcl'
780
],
781
dynamic_size: false,
782
modules_pathname: modules_pathname,
783
reference_name: 'cmd/mainframe/generic_jcl'
784
end
785
786
context 'cmd/mainframe/bind_shell_jcl' do
787
it_should_behave_like 'payload cached size is consistent',
788
ancestor_reference_names: [
789
'singles/cmd/mainframe/bind_shell_jcl'
790
],
791
dynamic_size: false,
792
modules_pathname: modules_pathname,
793
reference_name: 'cmd/mainframe/bind_shell_jcl'
794
end
795
796
context 'cmd/mainframe/reverse_shell_jcl' do
797
it_should_behave_like 'payload cached size is consistent',
798
ancestor_reference_names: [
799
'singles/cmd/mainframe/reverse_shell_jcl'
800
],
801
dynamic_size: false,
802
modules_pathname: modules_pathname,
803
reference_name: 'cmd/mainframe/reverse_shell_jcl'
804
end
805
806
context 'cmd/mainframe/apf_privesc_jcl' do
807
it_should_behave_like 'payload cached size is consistent',
808
ancestor_reference_names: [
809
'singles/cmd/mainframe/apf_privesc_jcl'
810
],
811
dynamic_size: false,
812
modules_pathname: modules_pathname,
813
reference_name: 'cmd/mainframe/apf_privesc_jcl'
814
end
815
816
context 'cmd/unix/bind_awk' do
817
it_should_behave_like 'payload cached size is consistent',
818
ancestor_reference_names: [
819
'singles/cmd/unix/bind_awk'
820
],
821
dynamic_size: false,
822
modules_pathname: modules_pathname,
823
reference_name: 'cmd/unix/bind_awk'
824
end
825
826
context 'cmd/unix/bind_aws_instance_connect' do
827
it_should_behave_like 'payload cached size is consistent',
828
ancestor_reference_names: [
829
'singles/cmd/unix/bind_aws_instance_connect'
830
],
831
dynamic_size: false,
832
modules_pathname: modules_pathname,
833
reference_name: 'cmd/unix/bind_aws_instance_connect'
834
end
835
836
context 'cmd/unix/adduser' do
837
it_should_behave_like 'payload cached size is consistent',
838
ancestor_reference_names: [
839
'singles/cmd/unix/adduser'
840
],
841
dynamic_size: true,
842
modules_pathname: modules_pathname,
843
reference_name: 'cmd/unix/adduser'
844
end
845
846
context 'cmd/unix/bind_busybox_telnetd' do
847
it_should_behave_like 'payload cached size is consistent',
848
ancestor_reference_names: [
849
'singles/cmd/unix/bind_busybox_telnetd'
850
],
851
dynamic_size: false,
852
modules_pathname: modules_pathname,
853
reference_name: 'cmd/unix/bind_busybox_telnetd'
854
end
855
856
context 'cmd/unix/bind_inetd' do
857
it_should_behave_like 'payload cached size is consistent',
858
ancestor_reference_names: [
859
'singles/cmd/unix/bind_inetd'
860
],
861
dynamic_size: false,
862
modules_pathname: modules_pathname,
863
reference_name: 'cmd/unix/bind_inetd'
864
end
865
866
context 'cmd/unix/bind_lua' do
867
it_should_behave_like 'payload cached size is consistent',
868
ancestor_reference_names: [
869
'singles/cmd/unix/bind_lua'
870
],
871
dynamic_size: false,
872
modules_pathname: modules_pathname,
873
reference_name: 'cmd/unix/bind_lua'
874
end
875
876
context 'cmd/unix/bind_jjs' do
877
it_should_behave_like 'payload cached size is consistent',
878
ancestor_reference_names: [
879
'singles/cmd/unix/bind_jjs'
880
],
881
dynamic_size: false,
882
modules_pathname: modules_pathname,
883
reference_name: 'cmd/unix/bind_jjs'
884
end
885
886
context 'cmd/unix/bind_netcat' do
887
it_should_behave_like 'payload cached size is consistent',
888
ancestor_reference_names: [
889
'singles/cmd/unix/bind_netcat'
890
],
891
dynamic_size: true,
892
modules_pathname: modules_pathname,
893
reference_name: 'cmd/unix/bind_netcat'
894
end
895
896
context 'cmd/unix/bind_netcat_gaping' do
897
it_should_behave_like 'payload cached size is consistent',
898
ancestor_reference_names: [
899
'singles/cmd/unix/bind_netcat_gaping'
900
],
901
dynamic_size: false,
902
modules_pathname: modules_pathname,
903
reference_name: 'cmd/unix/bind_netcat_gaping'
904
end
905
906
context 'cmd/unix/bind_netcat_gaping_ipv6' do
907
it_should_behave_like 'payload cached size is consistent',
908
ancestor_reference_names: [
909
'singles/cmd/unix/bind_netcat_gaping_ipv6'
910
],
911
dynamic_size: false,
912
modules_pathname: modules_pathname,
913
reference_name: 'cmd/unix/bind_netcat_gaping_ipv6'
914
end
915
916
context 'cmd/unix/bind_nodejs' do
917
it_should_behave_like 'payload cached size is consistent',
918
ancestor_reference_names: [
919
'singles/cmd/unix/bind_nodejs'
920
],
921
dynamic_size: false,
922
modules_pathname: modules_pathname,
923
reference_name: 'cmd/unix/bind_nodejs'
924
end
925
926
context 'cmd/unix/bind_socat_sctp' do
927
it_should_behave_like 'payload cached size is consistent',
928
ancestor_reference_names: [
929
'singles/cmd/unix/bind_socat_sctp'
930
],
931
dynamic_size: false,
932
modules_pathname: modules_pathname,
933
reference_name: 'cmd/unix/bind_socat_sctp'
934
end
935
936
context 'cmd/unix/bind_socat_udp' do
937
it_should_behave_like 'payload cached size is consistent',
938
ancestor_reference_names: [
939
'singles/cmd/unix/bind_socat_udp'
940
],
941
dynamic_size: false,
942
modules_pathname: modules_pathname,
943
reference_name: 'cmd/unix/bind_socat_udp'
944
end
945
946
context 'cmd/unix/reverse_socat_tcp' do
947
it_should_behave_like 'payload cached size is consistent',
948
ancestor_reference_names: [
949
'singles/cmd/unix/reverse_socat_tcp'
950
],
951
dynamic_size: false,
952
modules_pathname: modules_pathname,
953
reference_name: 'cmd/unix/reverse_socat_tcp'
954
end
955
956
context 'cmd/unix/bind_perl' do
957
it_should_behave_like 'payload cached size is consistent',
958
ancestor_reference_names: [
959
'singles/cmd/unix/bind_perl'
960
],
961
dynamic_size: false,
962
modules_pathname: modules_pathname,
963
reference_name: 'cmd/unix/bind_perl'
964
end
965
966
context 'cmd/unix/bind_perl_ipv6' do
967
it_should_behave_like 'payload cached size is consistent',
968
ancestor_reference_names: [
969
'singles/cmd/unix/bind_perl_ipv6'
970
],
971
dynamic_size: false,
972
modules_pathname: modules_pathname,
973
reference_name: 'cmd/unix/bind_perl_ipv6'
974
end
975
976
context 'cmd/unix/bind_r' do
977
it_should_behave_like 'payload cached size is consistent',
978
ancestor_reference_names: [
979
'singles/cmd/unix/bind_r'
980
],
981
dynamic_size: false,
982
modules_pathname: modules_pathname,
983
reference_name: 'cmd/unix/bind_r'
984
end
985
986
context 'cmd/unix/bind_ruby' do
987
it_should_behave_like 'payload cached size is consistent',
988
ancestor_reference_names: [
989
'singles/cmd/unix/bind_ruby'
990
],
991
dynamic_size: false,
992
modules_pathname: modules_pathname,
993
reference_name: 'cmd/unix/bind_ruby'
994
end
995
996
context 'cmd/unix/bind_ruby_ipv6' do
997
it_should_behave_like 'payload cached size is consistent',
998
ancestor_reference_names: [
999
'singles/cmd/unix/bind_ruby_ipv6'
1000
],
1001
dynamic_size: false,
1002
modules_pathname: modules_pathname,
1003
reference_name: 'cmd/unix/bind_ruby_ipv6'
1004
end
1005
1006
context 'cmd/unix/bind_stub' do
1007
it_should_behave_like 'payload cached size is consistent',
1008
ancestor_reference_names: [
1009
'singles/cmd/unix/bind_stub'
1010
],
1011
dynamic_size: false,
1012
modules_pathname: modules_pathname,
1013
reference_name: 'cmd/unix/bind_stub'
1014
end
1015
1016
context 'cmd/unix/bind_zsh' do
1017
it_should_behave_like 'payload cached size is consistent',
1018
ancestor_reference_names: [
1019
'singles/cmd/unix/bind_zsh'
1020
],
1021
dynamic_size: false,
1022
modules_pathname: modules_pathname,
1023
reference_name: 'cmd/unix/bind_zsh'
1024
end
1025
1026
context 'cmd/unix/generic' do
1027
it_should_behave_like 'payload cached size is consistent',
1028
ancestor_reference_names: [
1029
'singles/cmd/unix/generic'
1030
],
1031
dynamic_size: false,
1032
modules_pathname: modules_pathname,
1033
reference_name: 'cmd/unix/generic'
1034
end
1035
1036
context 'cmd/unix/interact' do
1037
it_should_behave_like 'payload cached size is consistent',
1038
ancestor_reference_names: [
1039
'singles/cmd/unix/interact'
1040
],
1041
dynamic_size: false,
1042
modules_pathname: modules_pathname,
1043
reference_name: 'cmd/unix/interact'
1044
end
1045
1046
context 'cmd/unix/php' do
1047
it_should_behave_like 'payload is not cached',
1048
ancestor_reference_names: [
1049
'adapters/cmd/unix/php'
1050
],
1051
reference_name: 'cmd/unix/php'
1052
end
1053
1054
context 'cmd/unix/pingback_bind' do
1055
it_should_behave_like 'payload cached size is consistent',
1056
ancestor_reference_names: [
1057
'singles/cmd/unix/pingback_bind'
1058
],
1059
dynamic_size: false,
1060
modules_pathname: modules_pathname,
1061
reference_name: 'cmd/unix/pingback_bind'
1062
end
1063
1064
context 'cmd/unix/pingback_reverse' do
1065
it_should_behave_like 'payload cached size is consistent',
1066
ancestor_reference_names: [
1067
'singles/cmd/unix/pingback_reverse'
1068
],
1069
dynamic_size: false,
1070
modules_pathname: modules_pathname,
1071
reference_name: 'cmd/unix/pingback_reverse'
1072
end
1073
1074
context 'cmd/unix/python' do
1075
it_should_behave_like 'payload is not cached',
1076
ancestor_reference_names: [
1077
'adapters/cmd/unix/python'
1078
],
1079
reference_name: 'cmd/unix/python'
1080
end
1081
1082
1083
context 'cmd/unix/php' do
1084
it_should_behave_like 'payload is not cached',
1085
ancestor_reference_names: [
1086
'adapters/cmd/unix/php'
1087
],
1088
reference_name: 'cmd/unix/php'
1089
end
1090
1091
context 'cmd/unix/reverse' do
1092
it_should_behave_like 'payload cached size is consistent',
1093
ancestor_reference_names: [
1094
'singles/cmd/unix/reverse'
1095
],
1096
dynamic_size: false,
1097
modules_pathname: modules_pathname,
1098
reference_name: 'cmd/unix/reverse'
1099
end
1100
1101
context 'cmd/unix/reverse_awk' do
1102
it_should_behave_like 'payload cached size is consistent',
1103
ancestor_reference_names: [
1104
'singles/cmd/unix/reverse_awk'
1105
],
1106
dynamic_size: false,
1107
modules_pathname: modules_pathname,
1108
reference_name: 'cmd/unix/reverse_awk'
1109
end
1110
1111
context 'cmd/unix/reverse_bash' do
1112
it_should_behave_like 'payload cached size is consistent',
1113
ancestor_reference_names: [
1114
'singles/cmd/unix/reverse_bash'
1115
],
1116
dynamic_size: true,
1117
modules_pathname: modules_pathname,
1118
reference_name: 'cmd/unix/reverse_bash'
1119
end
1120
1121
context 'cmd/unix/reverse_bash_udp' do
1122
it_should_behave_like 'payload cached size is consistent',
1123
ancestor_reference_names: [
1124
'singles/cmd/unix/reverse_bash_udp'
1125
],
1126
dynamic_size: true,
1127
modules_pathname: modules_pathname,
1128
reference_name: 'cmd/unix/reverse_bash_udp'
1129
end
1130
1131
context 'cmd/unix/reverse_bash_telnet_ssl' do
1132
it_should_behave_like 'payload cached size is consistent',
1133
ancestor_reference_names: [
1134
'singles/cmd/unix/reverse_bash_telnet_ssl'
1135
],
1136
dynamic_size: true,
1137
modules_pathname: modules_pathname,
1138
reference_name: 'cmd/unix/reverse_bash_telnet_ssl'
1139
end
1140
1141
context 'cmd/unix/reverse_ksh' do
1142
it_should_behave_like 'payload cached size is consistent',
1143
ancestor_reference_names: [
1144
'singles/cmd/unix/reverse_ksh'
1145
],
1146
dynamic_size: false,
1147
modules_pathname: modules_pathname,
1148
reference_name: 'cmd/unix/reverse_ksh'
1149
end
1150
1151
context 'cmd/unix/reverse_jjs' do
1152
it_should_behave_like 'payload cached size is consistent',
1153
ancestor_reference_names: [
1154
'singles/cmd/unix/reverse_jjs'
1155
],
1156
dynamic_size: false,
1157
modules_pathname: modules_pathname,
1158
reference_name: 'cmd/unix/reverse_jjs'
1159
end
1160
1161
context 'cmd/unix/reverse_lua' do
1162
it_should_behave_like 'payload cached size is consistent',
1163
ancestor_reference_names: [
1164
'singles/cmd/unix/reverse_lua'
1165
],
1166
dynamic_size: false,
1167
modules_pathname: modules_pathname,
1168
reference_name: 'cmd/unix/reverse_lua'
1169
end
1170
1171
context 'cmd/unix/reverse_ncat_ssl' do
1172
it_should_behave_like 'payload cached size is consistent',
1173
ancestor_reference_names: [
1174
'singles/cmd/unix/reverse_ncat_ssl'
1175
],
1176
dynamic_size: false,
1177
modules_pathname: modules_pathname,
1178
reference_name: 'cmd/unix/reverse_ncat_ssl'
1179
end
1180
1181
context 'cmd/unix/reverse_netcat' do
1182
it_should_behave_like 'payload cached size is consistent',
1183
ancestor_reference_names: [
1184
'singles/cmd/unix/reverse_netcat'
1185
],
1186
dynamic_size: true,
1187
modules_pathname: modules_pathname,
1188
reference_name: 'cmd/unix/reverse_netcat'
1189
end
1190
1191
context 'cmd/unix/reverse_netcat_gaping' do
1192
it_should_behave_like 'payload cached size is consistent',
1193
ancestor_reference_names: [
1194
'singles/cmd/unix/reverse_netcat_gaping'
1195
],
1196
dynamic_size: false,
1197
modules_pathname: modules_pathname,
1198
reference_name: 'cmd/unix/reverse_netcat_gaping'
1199
end
1200
1201
context 'cmd/unix/reverse_nodejs' do
1202
it_should_behave_like 'payload cached size is consistent',
1203
ancestor_reference_names: [
1204
'singles/cmd/unix/reverse_nodejs'
1205
],
1206
dynamic_size: false,
1207
modules_pathname: modules_pathname,
1208
reference_name: 'cmd/unix/reverse_nodejs'
1209
end
1210
1211
context 'cmd/unix/reverse_openssl' do
1212
it_should_behave_like 'payload cached size is consistent',
1213
ancestor_reference_names: [
1214
'singles/cmd/unix/reverse_openssl'
1215
],
1216
dynamic_size: false,
1217
modules_pathname: modules_pathname,
1218
reference_name: 'cmd/unix/reverse_openssl'
1219
end
1220
1221
context 'cmd/unix/reverse_socat_sctp' do
1222
it_should_behave_like 'payload cached size is consistent',
1223
ancestor_reference_names: [
1224
'singles/cmd/unix/reverse_socat_sctp'
1225
],
1226
dynamic_size: false,
1227
modules_pathname: modules_pathname,
1228
reference_name: 'cmd/unix/reverse_socat_sctp'
1229
end
1230
1231
context 'cmd/unix/reverse_socat_udp' do
1232
it_should_behave_like 'payload cached size is consistent',
1233
ancestor_reference_names: [
1234
'singles/cmd/unix/reverse_socat_udp'
1235
],
1236
dynamic_size: false,
1237
modules_pathname: modules_pathname,
1238
reference_name: 'cmd/unix/reverse_socat_udp'
1239
end
1240
1241
context 'cmd/unix/reverse_ssh' do
1242
it_should_behave_like 'payload cached size is consistent',
1243
ancestor_reference_names: [
1244
'singles/cmd/unix/reverse_ssh'
1245
],
1246
dynamic_size: true,
1247
modules_pathname: modules_pathname,
1248
reference_name: 'cmd/unix/reverse_ssh'
1249
end
1250
1251
context 'cmd/unix/reverse_perl' do
1252
it_should_behave_like 'payload cached size is consistent',
1253
ancestor_reference_names: [
1254
'singles/cmd/unix/reverse_perl'
1255
],
1256
dynamic_size: false,
1257
modules_pathname: modules_pathname,
1258
reference_name: 'cmd/unix/reverse_perl'
1259
end
1260
1261
context 'cmd/unix/reverse_perl_ssl' do
1262
it_should_behave_like 'payload cached size is consistent',
1263
ancestor_reference_names: [
1264
'singles/cmd/unix/reverse_perl_ssl'
1265
],
1266
dynamic_size: false,
1267
modules_pathname: modules_pathname,
1268
reference_name: 'cmd/unix/reverse_perl_ssl'
1269
end
1270
1271
context 'cmd/unix/reverse_php_ssl' do
1272
it_should_behave_like 'payload cached size is consistent',
1273
ancestor_reference_names: [
1274
'singles/cmd/unix/reverse_php_ssl'
1275
],
1276
dynamic_size: false,
1277
modules_pathname: modules_pathname,
1278
reference_name: 'cmd/unix/reverse_php_ssl'
1279
end
1280
1281
context 'cmd/unix/reverse_python' do
1282
it_should_behave_like 'payload cached size is consistent',
1283
ancestor_reference_names: [
1284
'singles/cmd/unix/reverse_python'
1285
],
1286
dynamic_size: true,
1287
modules_pathname: modules_pathname,
1288
reference_name: 'cmd/unix/reverse_python'
1289
end
1290
1291
context 'cmd/unix/reverse_python_ssl' do
1292
it_should_behave_like 'payload cached size is consistent',
1293
ancestor_reference_names: [
1294
'singles/cmd/unix/reverse_python_ssl'
1295
],
1296
dynamic_size: true,
1297
modules_pathname: modules_pathname,
1298
reference_name: 'cmd/unix/reverse_python_ssl'
1299
end
1300
1301
context 'cmd/unix/reverse_r' do
1302
it_should_behave_like 'payload cached size is consistent',
1303
ancestor_reference_names: [
1304
'singles/cmd/unix/reverse_r'
1305
],
1306
dynamic_size: false,
1307
modules_pathname: modules_pathname,
1308
reference_name: 'cmd/unix/reverse_r'
1309
end
1310
1311
context 'cmd/unix/reverse_ruby' do
1312
it_should_behave_like 'payload cached size is consistent',
1313
ancestor_reference_names: [
1314
'singles/cmd/unix/reverse_ruby'
1315
],
1316
dynamic_size: false,
1317
modules_pathname: modules_pathname,
1318
reference_name: 'cmd/unix/reverse_ruby'
1319
end
1320
1321
context 'cmd/unix/reverse_ruby_ssl' do
1322
it_should_behave_like 'payload cached size is consistent',
1323
ancestor_reference_names: [
1324
'singles/cmd/unix/reverse_ruby_ssl'
1325
],
1326
dynamic_size: false,
1327
modules_pathname: modules_pathname,
1328
reference_name: 'cmd/unix/reverse_ruby_ssl'
1329
end
1330
1331
context 'cmd/unix/reverse_ssl_double_telnet' do
1332
it_should_behave_like 'payload cached size is consistent',
1333
ancestor_reference_names: [
1334
'singles/cmd/unix/reverse_ssl_double_telnet'
1335
],
1336
dynamic_size: false,
1337
modules_pathname: modules_pathname,
1338
reference_name: 'cmd/unix/reverse_ssl_double_telnet'
1339
end
1340
1341
context 'cmd/unix/reverse_stub' do
1342
it_should_behave_like 'payload cached size is consistent',
1343
ancestor_reference_names: [
1344
'singles/cmd/unix/reverse_stub'
1345
],
1346
dynamic_size: false,
1347
modules_pathname: modules_pathname,
1348
reference_name: 'cmd/unix/reverse_stub'
1349
end
1350
1351
context 'cmd/unix/reverse_tclsh' do
1352
it_should_behave_like 'payload cached size is consistent',
1353
ancestor_reference_names: [
1354
'singles/cmd/unix/reverse_tclsh'
1355
],
1356
dynamic_size: false,
1357
modules_pathname: modules_pathname,
1358
reference_name: 'cmd/unix/reverse_tclsh'
1359
end
1360
1361
context 'cmd/unix/reverse_zsh' do
1362
it_should_behave_like 'payload cached size is consistent',
1363
ancestor_reference_names: [
1364
'singles/cmd/unix/reverse_zsh'
1365
],
1366
dynamic_size: false,
1367
modules_pathname: modules_pathname,
1368
reference_name: 'cmd/unix/reverse_zsh'
1369
end
1370
1371
context 'cmd/windows/adduser' do
1372
it_should_behave_like 'payload cached size is consistent',
1373
ancestor_reference_names: [
1374
'singles/cmd/windows/adduser'
1375
],
1376
dynamic_size: false,
1377
modules_pathname: modules_pathname,
1378
reference_name: 'cmd/windows/adduser'
1379
end
1380
1381
context 'cmd/windows/bind_lua' do
1382
it_should_behave_like 'payload cached size is consistent',
1383
ancestor_reference_names: [
1384
'singles/cmd/windows/bind_lua'
1385
],
1386
dynamic_size: false,
1387
modules_pathname: modules_pathname,
1388
reference_name: 'cmd/windows/bind_lua'
1389
end
1390
1391
context 'cmd/windows/bind_perl' do
1392
it_should_behave_like 'payload cached size is consistent',
1393
ancestor_reference_names: [
1394
'singles/cmd/windows/bind_perl'
1395
],
1396
dynamic_size: false,
1397
modules_pathname: modules_pathname,
1398
reference_name: 'cmd/windows/bind_perl'
1399
end
1400
1401
context 'cmd/windows/bind_perl_ipv6' do
1402
it_should_behave_like 'payload cached size is consistent',
1403
ancestor_reference_names: [
1404
'singles/cmd/windows/bind_perl_ipv6'
1405
],
1406
dynamic_size: false,
1407
modules_pathname: modules_pathname,
1408
reference_name: 'cmd/windows/bind_perl_ipv6'
1409
end
1410
1411
context 'cmd/windows/bind_ruby' do
1412
it_should_behave_like 'payload cached size is consistent',
1413
ancestor_reference_names: [
1414
'singles/cmd/windows/bind_ruby'
1415
],
1416
dynamic_size: false,
1417
modules_pathname: modules_pathname,
1418
reference_name: 'cmd/windows/bind_ruby'
1419
end
1420
1421
context 'cmd/windows/download_eval_vbs' do
1422
it_should_behave_like 'payload cached size is consistent',
1423
ancestor_reference_names: [
1424
'singles/cmd/windows/download_eval_vbs'
1425
],
1426
dynamic_size: true,
1427
modules_pathname: modules_pathname,
1428
reference_name: 'cmd/windows/download_eval_vbs'
1429
end
1430
1431
context 'cmd/windows/download_exec_vbs' do
1432
it_should_behave_like 'payload cached size is consistent',
1433
ancestor_reference_names: [
1434
'singles/cmd/windows/download_exec_vbs'
1435
],
1436
dynamic_size: true,
1437
modules_pathname: modules_pathname,
1438
reference_name: 'cmd/windows/download_exec_vbs'
1439
end
1440
1441
context 'cmd/windows/generic' do
1442
it_should_behave_like 'payload cached size is consistent',
1443
ancestor_reference_names: [
1444
'singles/cmd/windows/generic'
1445
],
1446
dynamic_size: false,
1447
modules_pathname: modules_pathname,
1448
reference_name: 'cmd/windows/generic'
1449
end
1450
1451
context 'cmd/windows/http/x64' do
1452
it_should_behave_like 'payload is not cached',
1453
ancestor_reference_names: [
1454
'adapters/cmd/windows/http/x64'
1455
],
1456
reference_name: 'cmd/windows/http/x64'
1457
end
1458
1459
context 'cmd/windows/https/x64' do
1460
it_should_behave_like 'payload is not cached',
1461
ancestor_reference_names: [
1462
'adapters/cmd/windows/https/x64'
1463
],
1464
reference_name: 'cmd/windows/https/x64'
1465
end
1466
1467
context 'cmd/windows/powershell' do
1468
it_should_behave_like 'payload is not cached',
1469
ancestor_reference_names: [
1470
'adapters/cmd/windows/powershell'
1471
],
1472
reference_name: 'cmd/windows/powershell'
1473
end
1474
1475
context 'cmd/windows/powershell/x64' do
1476
it_should_behave_like 'payload is not cached',
1477
ancestor_reference_names: [
1478
'adapters/cmd/windows/powershell/x64'
1479
],
1480
reference_name: 'cmd/windows/powershell/x64'
1481
end
1482
1483
context 'cmd/windows/powershell_bind_tcp' do
1484
it_should_behave_like 'payload cached size is consistent',
1485
ancestor_reference_names: [
1486
'singles/cmd/windows/powershell_bind_tcp'
1487
],
1488
dynamic_size: true,
1489
modules_pathname: modules_pathname,
1490
reference_name: 'cmd/windows/powershell_bind_tcp'
1491
end
1492
1493
context 'cmd/windows/powershell_reverse_tcp' do
1494
it_should_behave_like 'payload cached size is consistent',
1495
ancestor_reference_names: [
1496
'singles/cmd/windows/powershell_reverse_tcp'
1497
],
1498
dynamic_size: true,
1499
modules_pathname: modules_pathname,
1500
reference_name: 'cmd/windows/powershell_reverse_tcp'
1501
end
1502
1503
context 'cmd/windows/powershell_reverse_tcp_ssl' do
1504
it_should_behave_like 'payload cached size is consistent',
1505
ancestor_reference_names: [
1506
'singles/cmd/windows/powershell_reverse_tcp_ssl'
1507
],
1508
dynamic_size: true,
1509
modules_pathname: modules_pathname,
1510
reference_name: 'cmd/windows/powershell_reverse_tcp_ssl'
1511
end
1512
1513
context 'cmd/windows/python' do
1514
it_should_behave_like 'payload is not cached',
1515
ancestor_reference_names: [
1516
'adapters/cmd/windows/python'
1517
],
1518
reference_name: 'cmd/windows/python'
1519
end
1520
1521
context 'cmd/windows/reverse_lua' do
1522
it_should_behave_like 'payload cached size is consistent',
1523
ancestor_reference_names: [
1524
'singles/cmd/windows/reverse_lua'
1525
],
1526
dynamic_size: false,
1527
modules_pathname: modules_pathname,
1528
reference_name: 'cmd/windows/reverse_lua'
1529
end
1530
1531
context 'cmd/windows/reverse_perl' do
1532
it_should_behave_like 'payload cached size is consistent',
1533
ancestor_reference_names: [
1534
'singles/cmd/windows/reverse_perl'
1535
],
1536
dynamic_size: false,
1537
modules_pathname: modules_pathname,
1538
reference_name: 'cmd/windows/reverse_perl'
1539
end
1540
1541
context 'cmd/windows/reverse_powershell' do
1542
it_should_behave_like 'payload cached size is consistent',
1543
ancestor_reference_names: [
1544
'singles/cmd/windows/reverse_powershell'
1545
],
1546
dynamic_size: false,
1547
modules_pathname: modules_pathname,
1548
reference_name: 'cmd/windows/reverse_powershell'
1549
end
1550
1551
context 'cmd/windows/reverse_ruby' do
1552
it_should_behave_like 'payload cached size is consistent',
1553
ancestor_reference_names: [
1554
'singles/cmd/windows/reverse_ruby'
1555
],
1556
dynamic_size: false,
1557
modules_pathname: modules_pathname,
1558
reference_name: 'cmd/windows/reverse_ruby'
1559
end
1560
1561
context 'cmd/windows/jjs_reverse_tcp' do
1562
it_should_behave_like 'payload cached size is consistent',
1563
ancestor_reference_names: [
1564
'singles/cmd/windows/jjs_reverse_tcp'
1565
],
1566
dynamic_size: false,
1567
modules_pathname: modules_pathname,
1568
reference_name: 'cmd/windows/jjs_reverse_tcp'
1569
end
1570
1571
context 'cmd/windows/smb/x64' do
1572
it_should_behave_like 'payload is not cached',
1573
ancestor_reference_names: [
1574
'adapters/cmd/windows/smb/x64'
1575
],
1576
reference_name: 'cmd/windows/smb/x64'
1577
end
1578
1579
context 'cmd/windows/tftp/x64' do
1580
it_should_behave_like 'payload is not cached',
1581
ancestor_reference_names: [
1582
'adapters/cmd/windows/tftp/x64'
1583
],
1584
reference_name: 'cmd/windows/tftp/x64'
1585
end
1586
1587
context 'firefox/exec' do
1588
it_should_behave_like 'payload cached size is consistent',
1589
ancestor_reference_names: [
1590
'singles/firefox/exec'
1591
],
1592
dynamic_size: false,
1593
modules_pathname: modules_pathname,
1594
reference_name: 'firefox/exec'
1595
end
1596
1597
context 'firefox/shell_bind_tcp' do
1598
it_should_behave_like 'payload cached size is consistent',
1599
ancestor_reference_names: [
1600
'singles/firefox/shell_bind_tcp'
1601
],
1602
dynamic_size: true,
1603
modules_pathname: modules_pathname,
1604
reference_name: 'firefox/shell_bind_tcp'
1605
end
1606
1607
context 'firefox/shell_reverse_tcp' do
1608
it_should_behave_like 'payload cached size is consistent',
1609
ancestor_reference_names: [
1610
'singles/firefox/shell_reverse_tcp'
1611
],
1612
dynamic_size: true,
1613
modules_pathname: modules_pathname,
1614
reference_name: 'firefox/shell_reverse_tcp'
1615
end
1616
1617
context 'generic/custom' do
1618
it_should_behave_like 'payload cached size is consistent',
1619
ancestor_reference_names: [
1620
'singles/generic/custom'
1621
],
1622
dynamic_size: false,
1623
modules_pathname: modules_pathname,
1624
reference_name: 'generic/custom'
1625
end
1626
1627
context 'generic/debug_trap' do
1628
it_should_behave_like 'payload cached size is consistent',
1629
ancestor_reference_names: [
1630
'singles/generic/debug_trap'
1631
],
1632
dynamic_size: false,
1633
modules_pathname: modules_pathname,
1634
reference_name: 'generic/debug_trap'
1635
end
1636
1637
context 'generic/shell_bind_tcp' do
1638
it_should_behave_like 'payload cached size is consistent',
1639
ancestor_reference_names: [
1640
'singles/generic/shell_bind_tcp'
1641
],
1642
dynamic_size: false,
1643
modules_pathname: modules_pathname,
1644
reference_name: 'generic/shell_bind_tcp'
1645
end
1646
1647
context 'generic/shell_bind_aws_ssm' do
1648
it_should_behave_like 'payload cached size is consistent',
1649
ancestor_reference_names: [
1650
'singles/generic/shell_bind_aws_ssm'
1651
],
1652
dynamic_size: false,
1653
modules_pathname: modules_pathname,
1654
reference_name: 'generic/shell_bind_aws_ssm'
1655
end
1656
1657
context 'generic/shell_reverse_tcp' do
1658
it_should_behave_like 'payload cached size is consistent',
1659
ancestor_reference_names: [
1660
'singles/generic/shell_reverse_tcp'
1661
],
1662
dynamic_size: false,
1663
modules_pathname: modules_pathname,
1664
reference_name: 'generic/shell_reverse_tcp'
1665
end
1666
1667
context 'generic/ssh/interact' do
1668
it_should_behave_like 'payload is not cached',
1669
ancestor_reference_names: [
1670
'singles/generic/ssh/interact'
1671
],
1672
reference_name: 'generic/ssh/interact'
1673
end
1674
1675
1676
context 'generic/tight_loop' do
1677
it_should_behave_like 'payload cached size is consistent',
1678
ancestor_reference_names: [
1679
'singles/generic/tight_loop'
1680
],
1681
dynamic_size: false,
1682
modules_pathname: modules_pathname,
1683
reference_name: 'generic/tight_loop'
1684
end
1685
1686
context 'java/jsp_shell_bind_tcp' do
1687
it_should_behave_like 'payload cached size is consistent',
1688
ancestor_reference_names: [
1689
'singles/java/jsp_shell_bind_tcp'
1690
],
1691
dynamic_size: false,
1692
modules_pathname: modules_pathname,
1693
reference_name: 'java/jsp_shell_bind_tcp'
1694
end
1695
1696
context 'java/jsp_shell_reverse_tcp' do
1697
it_should_behave_like 'payload cached size is consistent',
1698
ancestor_reference_names: [
1699
'singles/java/jsp_shell_reverse_tcp'
1700
],
1701
dynamic_size: false,
1702
modules_pathname: modules_pathname,
1703
reference_name: 'java/jsp_shell_reverse_tcp'
1704
end
1705
1706
context 'java/meterpreter/bind_tcp' do
1707
it_should_behave_like 'payload cached size is consistent',
1708
ancestor_reference_names: [
1709
'stagers/java/bind_tcp',
1710
'stages/java/meterpreter'
1711
],
1712
dynamic_size: false,
1713
modules_pathname: modules_pathname,
1714
reference_name: 'java/meterpreter/bind_tcp'
1715
end
1716
1717
context 'java/meterpreter/reverse_http' do
1718
it_should_behave_like 'payload cached size is consistent',
1719
ancestor_reference_names: [
1720
'stagers/java/reverse_http',
1721
'stages/java/meterpreter'
1722
],
1723
dynamic_size: true,
1724
modules_pathname: modules_pathname,
1725
reference_name: 'java/meterpreter/reverse_http'
1726
end
1727
1728
context 'java/meterpreter/reverse_https' do
1729
it_should_behave_like 'payload cached size is consistent',
1730
ancestor_reference_names: [
1731
'stagers/java/reverse_https',
1732
'stages/java/meterpreter'
1733
],
1734
dynamic_size: true,
1735
modules_pathname: modules_pathname,
1736
reference_name: 'java/meterpreter/reverse_https'
1737
end
1738
1739
context 'java/meterpreter/reverse_tcp' do
1740
it_should_behave_like 'payload cached size is consistent',
1741
ancestor_reference_names: [
1742
'stagers/java/reverse_tcp',
1743
'stages/java/meterpreter'
1744
],
1745
dynamic_size: false,
1746
modules_pathname: modules_pathname,
1747
reference_name: 'java/meterpreter/reverse_tcp'
1748
end
1749
1750
context 'java/shell/bind_tcp' do
1751
it_should_behave_like 'payload cached size is consistent',
1752
ancestor_reference_names: [
1753
'stagers/java/bind_tcp',
1754
'stages/java/shell'
1755
],
1756
dynamic_size: false,
1757
modules_pathname: modules_pathname,
1758
reference_name: 'java/shell/bind_tcp'
1759
end
1760
1761
context 'java/shell/reverse_tcp' do
1762
it_should_behave_like 'payload cached size is consistent',
1763
ancestor_reference_names: [
1764
'stagers/java/reverse_tcp',
1765
'stages/java/shell'
1766
],
1767
dynamic_size: false,
1768
modules_pathname: modules_pathname,
1769
reference_name: 'java/shell/reverse_tcp'
1770
end
1771
1772
context 'java/shell_reverse_tcp' do
1773
it_should_behave_like 'payload cached size is consistent',
1774
ancestor_reference_names: [
1775
'singles/java/shell_reverse_tcp'
1776
],
1777
dynamic_size: false,
1778
modules_pathname: modules_pathname,
1779
reference_name: 'java/shell_reverse_tcp'
1780
end
1781
1782
context 'linux/aarch64/shell_reverse_tcp' do
1783
it_should_behave_like 'payload cached size is consistent',
1784
ancestor_reference_names: [
1785
'singles/linux/aarch64/shell_reverse_tcp'
1786
],
1787
dynamic_size: false,
1788
modules_pathname: modules_pathname,
1789
reference_name: 'linux/aarch64/shell_reverse_tcp'
1790
end
1791
1792
context 'linux/aarch64/meterpreter_reverse_http' do
1793
it_should_behave_like 'payload cached size is consistent',
1794
ancestor_reference_names: [
1795
'singles/linux/aarch64/meterpreter_reverse_http'
1796
],
1797
dynamic_size: false,
1798
modules_pathname: modules_pathname,
1799
reference_name: 'linux/aarch64/meterpreter_reverse_http'
1800
end
1801
1802
context 'linux/aarch64/meterpreter_reverse_https' do
1803
it_should_behave_like 'payload cached size is consistent',
1804
ancestor_reference_names: [
1805
'singles/linux/aarch64/meterpreter_reverse_https'
1806
],
1807
dynamic_size: false,
1808
modules_pathname: modules_pathname,
1809
reference_name: 'linux/aarch64/meterpreter_reverse_https'
1810
end
1811
1812
context 'linux/aarch64/shell/reverse_tcp' do
1813
it_should_behave_like 'payload cached size is consistent',
1814
ancestor_reference_names: [
1815
'stagers/linux/aarch64/reverse_tcp',
1816
'stages/linux/aarch64/shell'
1817
],
1818
dynamic_size: false,
1819
modules_pathname: modules_pathname,
1820
reference_name: 'linux/aarch64/shell/reverse_tcp'
1821
end
1822
1823
1824
context 'linux/armbe/shell_bind_tcp' do
1825
it_should_behave_like 'payload cached size is consistent',
1826
ancestor_reference_names: [
1827
'singles/linux/armbe/shell_bind_tcp'
1828
],
1829
dynamic_size: false,
1830
modules_pathname: modules_pathname,
1831
reference_name: 'linux/armbe/shell_bind_tcp'
1832
end
1833
1834
context 'linux/armle/adduser' do
1835
it_should_behave_like 'payload cached size is consistent',
1836
ancestor_reference_names: [
1837
'singles/linux/armle/adduser'
1838
],
1839
dynamic_size: false,
1840
modules_pathname: modules_pathname,
1841
reference_name: 'linux/armle/adduser'
1842
end
1843
1844
context 'linux/armle/exec' do
1845
it_should_behave_like 'payload cached size is consistent',
1846
ancestor_reference_names: [
1847
'singles/linux/armle/exec'
1848
],
1849
dynamic_size: false,
1850
modules_pathname: modules_pathname,
1851
reference_name: 'linux/armle/exec'
1852
end
1853
1854
context 'linux/armle/shell/bind_tcp' do
1855
it_should_behave_like 'payload cached size is consistent',
1856
ancestor_reference_names: [
1857
'stagers/linux/armle/bind_tcp',
1858
'stages/linux/armle/shell'
1859
],
1860
dynamic_size: false,
1861
modules_pathname: modules_pathname,
1862
reference_name: 'linux/armle/shell/bind_tcp'
1863
end
1864
1865
context 'linux/armle/shell/reverse_tcp' do
1866
it_should_behave_like 'payload cached size is consistent',
1867
ancestor_reference_names: [
1868
'stagers/linux/armle/reverse_tcp',
1869
'stages/linux/armle/shell'
1870
],
1871
dynamic_size: false,
1872
modules_pathname: modules_pathname,
1873
reference_name: 'linux/armle/shell/reverse_tcp'
1874
end
1875
1876
context 'linux/armle/shell_bind_tcp' do
1877
it_should_behave_like 'payload cached size is consistent',
1878
ancestor_reference_names: [
1879
'singles/linux/armle/shell_bind_tcp'
1880
],
1881
dynamic_size: false,
1882
modules_pathname: modules_pathname,
1883
reference_name: 'linux/armle/shell_bind_tcp'
1884
end
1885
1886
context 'linux/armle/shell_reverse_tcp' do
1887
it_should_behave_like 'payload cached size is consistent',
1888
ancestor_reference_names: [
1889
'singles/linux/armle/shell_reverse_tcp'
1890
],
1891
dynamic_size: false,
1892
modules_pathname: modules_pathname,
1893
reference_name: 'linux/armle/shell_reverse_tcp'
1894
end
1895
1896
context 'linux/mipsbe/exec' do
1897
it_should_behave_like 'payload cached size is consistent',
1898
ancestor_reference_names: [
1899
'singles/linux/mipsbe/exec'
1900
],
1901
dynamic_size: false,
1902
modules_pathname: modules_pathname,
1903
reference_name: 'linux/mipsbe/exec'
1904
end
1905
1906
context 'linux/mipsbe/reboot' do
1907
it_should_behave_like 'payload cached size is consistent',
1908
ancestor_reference_names: [
1909
'singles/linux/mipsbe/reboot'
1910
],
1911
dynamic_size: false,
1912
modules_pathname: modules_pathname,
1913
reference_name: 'linux/mipsbe/reboot'
1914
end
1915
1916
context 'linux/mipsbe/shell/reverse_tcp' do
1917
it_should_behave_like 'payload cached size is consistent',
1918
ancestor_reference_names: [
1919
'stagers/linux/mipsbe/reverse_tcp',
1920
'stages/linux/mipsbe/shell'
1921
],
1922
dynamic_size: false,
1923
modules_pathname: modules_pathname,
1924
reference_name: 'linux/mipsbe/shell/reverse_tcp'
1925
end
1926
1927
context 'linux/mipsbe/shell_bind_tcp' do
1928
it_should_behave_like 'payload cached size is consistent',
1929
ancestor_reference_names: [
1930
'singles/linux/mipsbe/shell_bind_tcp'
1931
],
1932
dynamic_size: false,
1933
modules_pathname: modules_pathname,
1934
reference_name: 'linux/mipsbe/shell_bind_tcp'
1935
end
1936
1937
context 'linux/mipsbe/shell_reverse_tcp' do
1938
it_should_behave_like 'payload cached size is consistent',
1939
ancestor_reference_names: [
1940
'singles/linux/mipsbe/shell_reverse_tcp'
1941
],
1942
dynamic_size: false,
1943
modules_pathname: modules_pathname,
1944
reference_name: 'linux/mipsbe/shell_reverse_tcp'
1945
end
1946
1947
context 'linux/mipsle/exec' do
1948
it_should_behave_like 'payload cached size is consistent',
1949
ancestor_reference_names: [
1950
'singles/linux/mipsle/exec'
1951
],
1952
dynamic_size: false,
1953
modules_pathname: modules_pathname,
1954
reference_name: 'linux/mipsle/exec'
1955
end
1956
1957
context 'linux/mipsle/reboot' do
1958
it_should_behave_like 'payload cached size is consistent',
1959
ancestor_reference_names: [
1960
'singles/linux/mipsle/reboot'
1961
],
1962
dynamic_size: false,
1963
modules_pathname: modules_pathname,
1964
reference_name: 'linux/mipsle/reboot'
1965
end
1966
1967
context 'linux/mipsle/shell/reverse_tcp' do
1968
it_should_behave_like 'payload cached size is consistent',
1969
ancestor_reference_names: [
1970
'stagers/linux/mipsle/reverse_tcp',
1971
'stages/linux/mipsle/shell'
1972
],
1973
dynamic_size: false,
1974
modules_pathname: modules_pathname,
1975
reference_name: 'linux/mipsle/shell/reverse_tcp'
1976
end
1977
1978
context 'linux/mipsle/shell_bind_tcp' do
1979
it_should_behave_like 'payload cached size is consistent',
1980
ancestor_reference_names: [
1981
'singles/linux/mipsle/shell_bind_tcp'
1982
],
1983
dynamic_size: false,
1984
modules_pathname: modules_pathname,
1985
reference_name: 'linux/mipsle/shell_bind_tcp'
1986
end
1987
1988
context 'linux/mipsle/shell_reverse_tcp' do
1989
it_should_behave_like 'payload cached size is consistent',
1990
ancestor_reference_names: [
1991
'singles/linux/mipsle/shell_reverse_tcp'
1992
],
1993
dynamic_size: false,
1994
modules_pathname: modules_pathname,
1995
reference_name: 'linux/mipsle/shell_reverse_tcp'
1996
end
1997
1998
context 'linux/ppc/shell_bind_tcp' do
1999
it_should_behave_like 'payload cached size is consistent',
2000
ancestor_reference_names: [
2001
'singles/linux/ppc/shell_bind_tcp'
2002
],
2003
dynamic_size: false,
2004
modules_pathname: modules_pathname,
2005
reference_name: 'linux/ppc/shell_bind_tcp'
2006
end
2007
2008
context 'linux/ppc/shell_find_port' do
2009
it_should_behave_like 'payload cached size is consistent',
2010
ancestor_reference_names: [
2011
'singles/linux/ppc/shell_find_port'
2012
],
2013
dynamic_size: false,
2014
modules_pathname: modules_pathname,
2015
reference_name: 'linux/ppc/shell_find_port'
2016
end
2017
2018
context 'linux/ppc/shell_reverse_tcp' do
2019
it_should_behave_like 'payload cached size is consistent',
2020
ancestor_reference_names: [
2021
'singles/linux/ppc/shell_reverse_tcp'
2022
],
2023
dynamic_size: false,
2024
modules_pathname: modules_pathname,
2025
reference_name: 'linux/ppc/shell_reverse_tcp'
2026
end
2027
2028
context 'linux/ppc64/shell_bind_tcp' do
2029
it_should_behave_like 'payload cached size is consistent',
2030
ancestor_reference_names: [
2031
'singles/linux/ppc64/shell_bind_tcp'
2032
],
2033
dynamic_size: false,
2034
modules_pathname: modules_pathname,
2035
reference_name: 'linux/ppc64/shell_bind_tcp'
2036
end
2037
2038
context 'linux/ppc64/shell_find_port' do
2039
it_should_behave_like 'payload cached size is consistent',
2040
ancestor_reference_names: [
2041
'singles/linux/ppc64/shell_find_port'
2042
],
2043
dynamic_size: false,
2044
modules_pathname: modules_pathname,
2045
reference_name: 'linux/ppc64/shell_find_port'
2046
end
2047
2048
context 'linux/ppc64/shell_reverse_tcp' do
2049
it_should_behave_like 'payload cached size is consistent',
2050
ancestor_reference_names: [
2051
'singles/linux/ppc64/shell_reverse_tcp'
2052
],
2053
dynamic_size: false,
2054
modules_pathname: modules_pathname,
2055
reference_name: 'linux/ppc64/shell_reverse_tcp'
2056
end
2057
2058
context 'linux/riscv32le/chmod' do
2059
it_should_behave_like 'payload cached size is consistent',
2060
ancestor_reference_names: [
2061
'singles/linux/riscv32le/chmod'
2062
],
2063
dynamic_size: false,
2064
modules_pathname: modules_pathname,
2065
reference_name: 'linux/riscv32le/chmod'
2066
end
2067
2068
context 'linux/riscv32le/exec' do
2069
it_should_behave_like 'payload cached size is consistent',
2070
ancestor_reference_names: [
2071
'singles/linux/riscv32le/exec'
2072
],
2073
dynamic_size: false,
2074
modules_pathname: modules_pathname,
2075
reference_name: 'linux/riscv32le/exec'
2076
end
2077
2078
context 'linux/riscv32le/reboot' do
2079
it_should_behave_like 'payload cached size is consistent',
2080
ancestor_reference_names: [
2081
'singles/linux/riscv32le/reboot'
2082
],
2083
dynamic_size: false,
2084
modules_pathname: modules_pathname,
2085
reference_name: 'linux/riscv32le/reboot'
2086
end
2087
2088
context 'linux/riscv32le/shell_reverse_tcp' do
2089
it_should_behave_like 'payload cached size is consistent',
2090
ancestor_reference_names: [
2091
'singles/linux/riscv32le/shell_reverse_tcp'
2092
],
2093
dynamic_size: false,
2094
modules_pathname: modules_pathname,
2095
reference_name: 'linux/riscv32le/shell_reverse_tcp'
2096
end
2097
2098
context 'linux/riscv64le/chmod' do
2099
it_should_behave_like 'payload cached size is consistent',
2100
ancestor_reference_names: [
2101
'singles/linux/riscv64le/chmod'
2102
],
2103
dynamic_size: false,
2104
modules_pathname: modules_pathname,
2105
reference_name: 'linux/riscv64le/chmod'
2106
end
2107
2108
context 'linux/riscv64le/exec' do
2109
it_should_behave_like 'payload cached size is consistent',
2110
ancestor_reference_names: [
2111
'singles/linux/riscv64le/exec'
2112
],
2113
dynamic_size: false,
2114
modules_pathname: modules_pathname,
2115
reference_name: 'linux/riscv64le/exec'
2116
end
2117
2118
context 'linux/riscv64le/reboot' do
2119
it_should_behave_like 'payload cached size is consistent',
2120
ancestor_reference_names: [
2121
'singles/linux/riscv64le/reboot'
2122
],
2123
dynamic_size: false,
2124
modules_pathname: modules_pathname,
2125
reference_name: 'linux/riscv64le/reboot'
2126
end
2127
2128
context 'linux/riscv64le/shell_reverse_tcp' do
2129
it_should_behave_like 'payload cached size is consistent',
2130
ancestor_reference_names: [
2131
'singles/linux/riscv64le/shell_reverse_tcp'
2132
],
2133
dynamic_size: false,
2134
modules_pathname: modules_pathname,
2135
reference_name: 'linux/riscv64le/shell_reverse_tcp'
2136
end
2137
2138
context 'linux/loongarch64/reboot' do
2139
it_should_behave_like 'payload cached size is consistent',
2140
ancestor_reference_names: [
2141
'singles/linux/loongarch64/reboot'
2142
],
2143
dynamic_size: false,
2144
modules_pathname: modules_pathname,
2145
reference_name: 'linux/loongarch64/reboot'
2146
end
2147
2148
context 'linux/x64/exec' do
2149
it_should_behave_like 'payload cached size is consistent',
2150
ancestor_reference_names: [
2151
'singles/linux/x64/exec'
2152
],
2153
dynamic_size: false,
2154
modules_pathname: modules_pathname,
2155
reference_name: 'linux/x64/exec'
2156
end
2157
2158
context 'linux/x64/set_hostname' do
2159
it_should_behave_like 'payload cached size is consistent',
2160
ancestor_reference_names: [
2161
'singles/linux/x64/set_hostname'
2162
],
2163
dynamic_size: false,
2164
modules_pathname: modules_pathname,
2165
reference_name: 'linux/x64/set_hostname'
2166
end
2167
2168
context 'linux/x64/pingback_bind_tcp' do
2169
it_should_behave_like 'payload cached size is consistent',
2170
ancestor_reference_names: [
2171
'singles/linux/x64/pingback_bind_tcp'
2172
],
2173
dynamic_size: false,
2174
modules_pathname: modules_pathname,
2175
reference_name: 'linux/x64/pingback_bind_tcp'
2176
end
2177
2178
context 'linux/x64/pingback_reverse_tcp' do
2179
it_should_behave_like 'payload cached size is consistent',
2180
ancestor_reference_names: [
2181
'singles/linux/x64/pingback_reverse_tcp'
2182
],
2183
dynamic_size: false,
2184
modules_pathname: modules_pathname,
2185
reference_name: 'linux/x64/pingback_reverse_tcp'
2186
end
2187
2188
context 'linux/x64/shell/bind_tcp' do
2189
it_should_behave_like 'payload cached size is consistent',
2190
ancestor_reference_names: [
2191
'stagers/linux/x64/bind_tcp',
2192
'stages/linux/x64/shell'
2193
],
2194
dynamic_size: false,
2195
modules_pathname: modules_pathname,
2196
reference_name: 'linux/x64/shell/bind_tcp'
2197
end
2198
2199
context 'linux/x64/shell/reverse_sctp' do
2200
it_should_behave_like 'payload cached size is consistent',
2201
ancestor_reference_names: [
2202
'stagers/linux/x64/reverse_sctp',
2203
'stages/linux/x64/shell'
2204
],
2205
dynamic_size: false,
2206
modules_pathname: modules_pathname,
2207
reference_name: 'linux/x64/shell/reverse_sctp'
2208
end
2209
2210
context 'linux/x64/shell/reverse_tcp' do
2211
it_should_behave_like 'payload cached size is consistent',
2212
ancestor_reference_names: [
2213
'stagers/linux/x64/reverse_tcp',
2214
'stages/linux/x64/shell'
2215
],
2216
dynamic_size: false,
2217
modules_pathname: modules_pathname,
2218
reference_name: 'linux/x64/shell/reverse_tcp'
2219
end
2220
2221
context 'linux/x64/shell_bind_ipv6_tcp' do
2222
it_should_behave_like 'payload cached size is consistent',
2223
ancestor_reference_names: [
2224
'singles/linux/x64/shell_bind_ipv6_tcp'
2225
],
2226
dynamic_size: false,
2227
modules_pathname: modules_pathname,
2228
reference_name: 'linux/x64/shell_bind_ipv6_tcp'
2229
end
2230
2231
context 'linux/x64/shell_bind_tcp' do
2232
it_should_behave_like 'payload cached size is consistent',
2233
ancestor_reference_names: [
2234
'singles/linux/x64/shell_bind_tcp'
2235
],
2236
dynamic_size: false,
2237
modules_pathname: modules_pathname,
2238
reference_name: 'linux/x64/shell_bind_tcp'
2239
end
2240
2241
context 'linux/x64/shell_bind_tcp_random_port' do
2242
it_should_behave_like 'payload cached size is consistent',
2243
ancestor_reference_names: [
2244
'singles/linux/x64/shell_bind_tcp_random_port'
2245
],
2246
dynamic_size: false,
2247
modules_pathname: modules_pathname,
2248
reference_name: 'linux/x64/shell_bind_tcp_random_port'
2249
end
2250
2251
context 'linux/x64/shell_find_port' do
2252
it_should_behave_like 'payload cached size is consistent',
2253
ancestor_reference_names: [
2254
'singles/linux/x64/shell_find_port'
2255
],
2256
dynamic_size: false,
2257
modules_pathname: modules_pathname,
2258
reference_name: 'linux/x64/shell_find_port'
2259
end
2260
2261
context 'linux/x64/shell_reverse_ipv6_tcp' do
2262
it_should_behave_like 'payload cached size is consistent',
2263
ancestor_reference_names: [
2264
'singles/linux/x64/shell_reverse_ipv6_tcp'
2265
],
2266
dynamic_size: false,
2267
modules_pathname: modules_pathname,
2268
reference_name: 'linux/x64/shell_reverse_ipv6_tcp'
2269
end
2270
2271
context 'linux/x64/shell_reverse_tcp' do
2272
it_should_behave_like 'payload cached size is consistent',
2273
ancestor_reference_names: [
2274
'singles/linux/x64/shell_reverse_tcp'
2275
],
2276
dynamic_size: false,
2277
modules_pathname: modules_pathname,
2278
reference_name: 'linux/x64/shell_reverse_tcp'
2279
end
2280
2281
context 'linux/x86/adduser' do
2282
it_should_behave_like 'payload cached size is consistent',
2283
ancestor_reference_names: [
2284
'singles/linux/x86/adduser'
2285
],
2286
dynamic_size: false,
2287
modules_pathname: modules_pathname,
2288
reference_name: 'linux/x86/adduser'
2289
end
2290
2291
context 'linux/x86/chmod' do
2292
it_should_behave_like 'payload cached size is consistent',
2293
ancestor_reference_names: [
2294
'singles/linux/x86/chmod'
2295
],
2296
dynamic_size: false,
2297
modules_pathname: modules_pathname,
2298
reference_name: 'linux/x86/chmod'
2299
end
2300
2301
context 'linux/x86/exec' do
2302
it_should_behave_like 'payload cached size is consistent',
2303
ancestor_reference_names: [
2304
'singles/linux/x86/exec'
2305
],
2306
dynamic_size: false,
2307
modules_pathname: modules_pathname,
2308
reference_name: 'linux/x86/exec'
2309
end
2310
2311
context 'linux/x86/read_file' do
2312
it_should_behave_like 'payload cached size is consistent',
2313
ancestor_reference_names: [
2314
'singles/linux/x86/read_file'
2315
],
2316
dynamic_size: false,
2317
modules_pathname: modules_pathname,
2318
reference_name: 'linux/x86/read_file'
2319
end
2320
2321
context 'linux/x86/shell/bind_ipv6_tcp' do
2322
it_should_behave_like 'payload cached size is consistent',
2323
ancestor_reference_names: [
2324
'stagers/linux/x86/bind_ipv6_tcp',
2325
'stages/linux/x86/shell'
2326
],
2327
dynamic_size: false,
2328
modules_pathname: modules_pathname,
2329
reference_name: 'linux/x86/shell/bind_ipv6_tcp'
2330
end
2331
2332
context 'linux/x86/shell/bind_nonx_tcp' do
2333
it_should_behave_like 'payload cached size is consistent',
2334
ancestor_reference_names: [
2335
'stagers/linux/x86/bind_nonx_tcp',
2336
'stages/linux/x86/shell'
2337
],
2338
dynamic_size: false,
2339
modules_pathname: modules_pathname,
2340
reference_name: 'linux/x86/shell/bind_nonx_tcp'
2341
end
2342
2343
context 'linux/x86/shell/bind_tcp' do
2344
it_should_behave_like 'payload cached size is consistent',
2345
ancestor_reference_names: [
2346
'stagers/linux/x86/bind_tcp',
2347
'stages/linux/x86/shell'
2348
],
2349
dynamic_size: false,
2350
modules_pathname: modules_pathname,
2351
reference_name: 'linux/x86/shell/bind_tcp'
2352
end
2353
2354
context 'linux/x86/shell/find_tag' do
2355
it_should_behave_like 'payload cached size is consistent',
2356
ancestor_reference_names: [
2357
'stagers/linux/x86/find_tag',
2358
'stages/linux/x86/shell'
2359
],
2360
dynamic_size: false,
2361
modules_pathname: modules_pathname,
2362
reference_name: 'linux/x86/shell/find_tag'
2363
end
2364
2365
context 'linux/x86/shell/reverse_ipv6_tcp' do
2366
it_should_behave_like 'payload cached size is consistent',
2367
ancestor_reference_names: [
2368
'stagers/linux/x86/reverse_ipv6_tcp',
2369
'stages/linux/x86/shell'
2370
],
2371
dynamic_size: false,
2372
modules_pathname: modules_pathname,
2373
reference_name: 'linux/x86/shell/reverse_ipv6_tcp'
2374
end
2375
2376
context 'linux/x86/shell/reverse_nonx_tcp' do
2377
it_should_behave_like 'payload cached size is consistent',
2378
ancestor_reference_names: [
2379
'stagers/linux/x86/reverse_nonx_tcp',
2380
'stages/linux/x86/shell'
2381
],
2382
dynamic_size: false,
2383
modules_pathname: modules_pathname,
2384
reference_name: 'linux/x86/shell/reverse_nonx_tcp'
2385
end
2386
2387
context 'linux/x86/shell/reverse_tcp' do
2388
it_should_behave_like 'payload cached size is consistent',
2389
ancestor_reference_names: [
2390
'stagers/linux/x86/reverse_tcp',
2391
'stages/linux/x86/shell'
2392
],
2393
dynamic_size: false,
2394
modules_pathname: modules_pathname,
2395
reference_name: 'linux/x86/shell/reverse_tcp'
2396
end
2397
2398
context 'linux/x86/shell_bind_ipv6_tcp' do
2399
it_should_behave_like 'payload cached size is consistent',
2400
ancestor_reference_names: [
2401
'singles/linux/x86/shell_bind_ipv6_tcp'
2402
],
2403
dynamic_size: false,
2404
modules_pathname: modules_pathname,
2405
reference_name: 'linux/x86/shell_bind_ipv6_tcp'
2406
end
2407
2408
context 'linux/x86/shell_bind_tcp' do
2409
it_should_behave_like 'payload cached size is consistent',
2410
ancestor_reference_names: [
2411
'singles/linux/x86/shell_bind_tcp'
2412
],
2413
dynamic_size: false,
2414
modules_pathname: modules_pathname,
2415
reference_name: 'linux/x86/shell_bind_tcp'
2416
end
2417
2418
context 'linux/x86/shell_bind_tcp_random_port' do
2419
it_should_behave_like 'payload cached size is consistent',
2420
ancestor_reference_names: [
2421
'singles/linux/x86/shell_bind_tcp_random_port'
2422
],
2423
dynamic_size: false,
2424
modules_pathname: modules_pathname,
2425
reference_name: 'linux/x86/shell_bind_tcp_random_port'
2426
end
2427
2428
context 'linux/x86/shell_find_port' do
2429
it_should_behave_like 'payload cached size is consistent',
2430
ancestor_reference_names: [
2431
'singles/linux/x86/shell_find_port'
2432
],
2433
dynamic_size: false,
2434
modules_pathname: modules_pathname,
2435
reference_name: 'linux/x86/shell_find_port'
2436
end
2437
2438
context 'linux/x86/shell_find_tag' do
2439
it_should_behave_like 'payload cached size is consistent',
2440
ancestor_reference_names: [
2441
'singles/linux/x86/shell_find_tag'
2442
],
2443
dynamic_size: false,
2444
modules_pathname: modules_pathname,
2445
reference_name: 'linux/x86/shell_find_tag'
2446
end
2447
2448
context 'linux/x86/shell_reverse_tcp' do
2449
it_should_behave_like 'payload cached size is consistent',
2450
ancestor_reference_names: [
2451
'singles/linux/x86/shell_reverse_tcp'
2452
],
2453
dynamic_size: false,
2454
modules_pathname: modules_pathname,
2455
reference_name: 'linux/x86/shell_reverse_tcp'
2456
end
2457
2458
context 'linux/x86/shell_reverse_tcp_ipv6' do
2459
it_should_behave_like 'payload cached size is consistent',
2460
ancestor_reference_names: [
2461
'singles/linux/x86/shell_reverse_tcp_ipv6'
2462
],
2463
dynamic_size: false,
2464
modules_pathname: modules_pathname,
2465
reference_name: 'linux/x86/shell_reverse_tcp_ipv6'
2466
end
2467
2468
context 'mainframe/shell_reverse_tcp' do
2469
it_should_behave_like 'payload cached size is consistent',
2470
ancestor_reference_names: [
2471
'singles/mainframe/shell_reverse_tcp'
2472
],
2473
dynamic_size: false,
2474
modules_pathname: modules_pathname,
2475
reference_name: 'mainframe/shell_reverse_tcp'
2476
end
2477
2478
context 'multi/meterpreter/reverse_http' do
2479
it_should_behave_like 'payload cached size is consistent',
2480
ancestor_reference_names: [
2481
'stagers/multi/reverse_http',
2482
'stages/multi/meterpreter'
2483
],
2484
dynamic_size: false,
2485
modules_pathname: modules_pathname,
2486
reference_name: 'multi/meterpreter/reverse_http'
2487
end
2488
2489
context 'multi/meterpreter/reverse_https' do
2490
it_should_behave_like 'payload cached size is consistent',
2491
ancestor_reference_names: [
2492
'stagers/multi/reverse_https',
2493
'stages/multi/meterpreter'
2494
],
2495
dynamic_size: false,
2496
modules_pathname: modules_pathname,
2497
reference_name: 'multi/meterpreter/reverse_https'
2498
end
2499
2500
context 'netware/shell/reverse_tcp' do
2501
it_should_behave_like 'payload cached size is consistent',
2502
ancestor_reference_names: [
2503
'stagers/netware/reverse_tcp',
2504
'stages/netware/shell'
2505
],
2506
dynamic_size: false,
2507
modules_pathname: modules_pathname,
2508
reference_name: 'netware/shell/reverse_tcp'
2509
end
2510
2511
context 'nodejs/shell_bind_tcp' do
2512
it_should_behave_like 'payload cached size is consistent',
2513
ancestor_reference_names: [
2514
'singles/nodejs/shell_bind_tcp'
2515
],
2516
dynamic_size: false,
2517
modules_pathname: modules_pathname,
2518
reference_name: 'nodejs/shell_bind_tcp'
2519
end
2520
2521
context 'nodejs/shell_reverse_tcp' do
2522
it_should_behave_like 'payload cached size is consistent',
2523
ancestor_reference_names: [
2524
'singles/nodejs/shell_reverse_tcp'
2525
],
2526
dynamic_size: false,
2527
modules_pathname: modules_pathname,
2528
reference_name: 'nodejs/shell_reverse_tcp'
2529
end
2530
2531
context 'nodejs/shell_reverse_tcp_ssl' do
2532
it_should_behave_like 'payload cached size is consistent',
2533
ancestor_reference_names: [
2534
'singles/nodejs/shell_reverse_tcp_ssl'
2535
],
2536
dynamic_size: false,
2537
modules_pathname: modules_pathname,
2538
reference_name: 'nodejs/shell_reverse_tcp_ssl'
2539
end
2540
2541
context 'osx/x64/exec' do
2542
it_should_behave_like 'payload cached size is consistent',
2543
ancestor_reference_names: [
2544
'singles/osx/aarch64/exec'
2545
],
2546
dynamic_size: false,
2547
modules_pathname: modules_pathname,
2548
reference_name: 'osx/aarch64/exec'
2549
end
2550
2551
context 'osx/aarch64/shell_reverse_tcp' do
2552
it_should_behave_like 'payload cached size is consistent',
2553
ancestor_reference_names: [
2554
'singles/osx/aarch64/shell_reverse_tcp'
2555
],
2556
dynamic_size: false,
2557
modules_pathname: modules_pathname,
2558
reference_name: 'osx/aarch64/shell_reverse_tcp'
2559
end
2560
2561
context 'osx/aarch64/meterpreter/reverse_tcp' do
2562
it_should_behave_like 'payload cached size is consistent',
2563
ancestor_reference_names: [
2564
'stagers/osx/aarch64/reverse_tcp',
2565
'stages/osx/aarch64/meterpreter'
2566
],
2567
dynamic_size: false,
2568
modules_pathname: modules_pathname,
2569
reference_name: 'osx/aarch64/meterpreter/reverse_tcp'
2570
end
2571
2572
context 'osx/aarch64/meterpreter_reverse_http' do
2573
it_should_behave_like 'payload cached size is consistent',
2574
ancestor_reference_names: [
2575
'singles/osx/aarch64/meterpreter_reverse_http'
2576
],
2577
dynamic_size: false,
2578
modules_pathname: modules_pathname,
2579
reference_name: 'osx/aarch64/meterpreter_reverse_http'
2580
end
2581
2582
context 'osx/aarch64/meterpreter_reverse_https' do
2583
it_should_behave_like 'payload cached size is consistent',
2584
ancestor_reference_names: [
2585
'singles/osx/aarch64/meterpreter_reverse_https'
2586
],
2587
dynamic_size: false,
2588
modules_pathname: modules_pathname,
2589
reference_name: 'osx/aarch64/meterpreter_reverse_https'
2590
end
2591
2592
context 'osx/aarch64/shell_bind_tcp' do
2593
it_should_behave_like 'payload cached size is consistent',
2594
ancestor_reference_names: [
2595
'singles/osx/aarch64/shell_bind_tcp'
2596
],
2597
dynamic_size: false,
2598
modules_pathname: modules_pathname,
2599
reference_name: 'osx/aarch64/shell_bind_tcp'
2600
end
2601
2602
context 'osx/aarch64/meterpreter_reverse_tcp' do
2603
it_should_behave_like 'payload cached size is consistent',
2604
ancestor_reference_names: [
2605
'singles/osx/aarch64/meterpreter_reverse_tcp'
2606
],
2607
dynamic_size: false,
2608
modules_pathname: modules_pathname,
2609
reference_name: 'osx/aarch64/meterpreter_reverse_tcp'
2610
end
2611
2612
context 'osx/armle/execute/bind_tcp' do
2613
it_should_behave_like 'payload cached size is consistent',
2614
ancestor_reference_names: [
2615
'stagers/osx/armle/bind_tcp',
2616
'stages/osx/armle/execute'
2617
],
2618
dynamic_size: false,
2619
modules_pathname: modules_pathname,
2620
reference_name: 'osx/armle/execute/bind_tcp'
2621
end
2622
2623
context 'osx/armle/execute/reverse_tcp' do
2624
it_should_behave_like 'payload cached size is consistent',
2625
ancestor_reference_names: [
2626
'stagers/osx/armle/reverse_tcp',
2627
'stages/osx/armle/execute'
2628
],
2629
dynamic_size: false,
2630
modules_pathname: modules_pathname,
2631
reference_name: 'osx/armle/execute/reverse_tcp'
2632
end
2633
2634
context 'osx/armle/shell/bind_tcp' do
2635
it_should_behave_like 'payload cached size is consistent',
2636
ancestor_reference_names: [
2637
'stagers/osx/armle/bind_tcp',
2638
'stages/osx/armle/shell'
2639
],
2640
dynamic_size: false,
2641
modules_pathname: modules_pathname,
2642
reference_name: 'osx/armle/shell/bind_tcp'
2643
end
2644
2645
context 'osx/armle/shell/reverse_tcp' do
2646
it_should_behave_like 'payload cached size is consistent',
2647
ancestor_reference_names: [
2648
'stagers/osx/armle/reverse_tcp',
2649
'stages/osx/armle/shell'
2650
],
2651
dynamic_size: false,
2652
modules_pathname: modules_pathname,
2653
reference_name: 'osx/armle/shell/reverse_tcp'
2654
end
2655
2656
context 'osx/armle/shell_bind_tcp' do
2657
it_should_behave_like 'payload cached size is consistent',
2658
ancestor_reference_names: [
2659
'singles/osx/armle/shell_bind_tcp'
2660
],
2661
dynamic_size: false,
2662
modules_pathname: modules_pathname,
2663
reference_name: 'osx/armle/shell_bind_tcp'
2664
end
2665
2666
context 'osx/armle/shell_reverse_tcp' do
2667
it_should_behave_like 'payload cached size is consistent',
2668
ancestor_reference_names: [
2669
'singles/osx/armle/shell_reverse_tcp'
2670
],
2671
dynamic_size: false,
2672
modules_pathname: modules_pathname,
2673
reference_name: 'osx/armle/shell_reverse_tcp'
2674
end
2675
2676
context 'osx/armle/vibrate' do
2677
it_should_behave_like 'payload cached size is consistent',
2678
ancestor_reference_names: [
2679
'singles/osx/armle/vibrate'
2680
],
2681
dynamic_size: false,
2682
modules_pathname: modules_pathname,
2683
reference_name: 'osx/armle/vibrate'
2684
end
2685
2686
context 'osx/ppc/shell/bind_tcp' do
2687
it_should_behave_like 'payload cached size is consistent',
2688
ancestor_reference_names: [
2689
'stagers/osx/ppc/bind_tcp',
2690
'stages/osx/ppc/shell'
2691
],
2692
dynamic_size: false,
2693
modules_pathname: modules_pathname,
2694
reference_name: 'osx/ppc/shell/bind_tcp'
2695
end
2696
2697
context 'osx/ppc/shell/find_tag' do
2698
it_should_behave_like 'payload cached size is consistent',
2699
ancestor_reference_names: [
2700
'stagers/osx/ppc/find_tag',
2701
'stages/osx/ppc/shell'
2702
],
2703
dynamic_size: false,
2704
modules_pathname: modules_pathname,
2705
reference_name: 'osx/ppc/shell/find_tag'
2706
end
2707
2708
context 'osx/ppc/shell/reverse_tcp' do
2709
it_should_behave_like 'payload cached size is consistent',
2710
ancestor_reference_names: [
2711
'stagers/osx/ppc/reverse_tcp',
2712
'stages/osx/ppc/shell'
2713
],
2714
dynamic_size: false,
2715
modules_pathname: modules_pathname,
2716
reference_name: 'osx/ppc/shell/reverse_tcp'
2717
end
2718
2719
context 'osx/ppc/shell_bind_tcp' do
2720
it_should_behave_like 'payload cached size is consistent',
2721
ancestor_reference_names: [
2722
'singles/osx/ppc/shell_bind_tcp'
2723
],
2724
dynamic_size: false,
2725
modules_pathname: modules_pathname,
2726
reference_name: 'osx/ppc/shell_bind_tcp'
2727
end
2728
2729
context 'osx/ppc/shell_reverse_tcp' do
2730
it_should_behave_like 'payload cached size is consistent',
2731
ancestor_reference_names: [
2732
'singles/osx/ppc/shell_reverse_tcp'
2733
],
2734
dynamic_size: false,
2735
modules_pathname: modules_pathname,
2736
reference_name: 'osx/ppc/shell_reverse_tcp'
2737
end
2738
2739
context 'osx/x64/dupandexecve/bind_tcp' do
2740
it_should_behave_like 'payload cached size is consistent',
2741
ancestor_reference_names: [
2742
'stagers/osx/x64/bind_tcp',
2743
'stages/osx/x64/dupandexecve'
2744
],
2745
dynamic_size: false,
2746
modules_pathname: modules_pathname,
2747
reference_name: 'osx/x64/dupandexecve/bind_tcp'
2748
end
2749
2750
context 'osx/x64/dupandexecve/reverse_tcp' do
2751
it_should_behave_like 'payload cached size is consistent',
2752
ancestor_reference_names: [
2753
'stagers/osx/x64/reverse_tcp',
2754
'stages/osx/x64/dupandexecve'
2755
],
2756
dynamic_size: false,
2757
modules_pathname: modules_pathname,
2758
reference_name: 'osx/x64/dupandexecve/reverse_tcp'
2759
end
2760
2761
context 'osx/x64/exec' do
2762
it_should_behave_like 'payload cached size is consistent',
2763
ancestor_reference_names: [
2764
'singles/osx/x64/exec'
2765
],
2766
dynamic_size: false,
2767
modules_pathname: modules_pathname,
2768
reference_name: 'osx/x64/exec'
2769
end
2770
2771
context 'osx/x64/meterpreter/bind_tcp' do
2772
it_should_behave_like 'payload cached size is consistent',
2773
ancestor_reference_names: [
2774
'stagers/osx/x64/bind_tcp',
2775
'stages/osx/x64/meterpreter'
2776
],
2777
dynamic_size: false,
2778
modules_pathname: modules_pathname,
2779
reference_name: 'osx/x64/meterpreter/bind_tcp'
2780
end
2781
2782
context 'osx/x64/meterpreter/reverse_tcp' do
2783
it_should_behave_like 'payload cached size is consistent',
2784
ancestor_reference_names: [
2785
'stagers/osx/x64/reverse_tcp',
2786
'stages/osx/x64/meterpreter'
2787
],
2788
dynamic_size: false,
2789
modules_pathname: modules_pathname,
2790
reference_name: 'osx/x64/meterpreter/reverse_tcp'
2791
end
2792
2793
context 'osx/x64/meterpreter/reverse_tcp_uuid' do
2794
it_should_behave_like 'payload cached size is consistent',
2795
ancestor_reference_names: [
2796
'stagers/osx/x64/reverse_tcp_uuid',
2797
'stages/osx/x64/meterpreter'
2798
],
2799
dynamic_size: false,
2800
modules_pathname: modules_pathname,
2801
reference_name: 'osx/x64/meterpreter/reverse_tcp_uuid'
2802
end
2803
2804
context 'osx/x64/meterpreter_reverse_http' do
2805
it_should_behave_like 'payload cached size is consistent',
2806
ancestor_reference_names: [
2807
'singles/osx/x64/meterpreter_reverse_http'
2808
],
2809
dynamic_size: false,
2810
modules_pathname: modules_pathname,
2811
reference_name: 'osx/x64/meterpreter_reverse_http'
2812
end
2813
2814
context 'osx/x64/meterpreter_reverse_https' do
2815
it_should_behave_like 'payload cached size is consistent',
2816
ancestor_reference_names: [
2817
'singles/osx/x64/meterpreter_reverse_https'
2818
],
2819
dynamic_size: false,
2820
modules_pathname: modules_pathname,
2821
reference_name: 'osx/x64/meterpreter_reverse_https'
2822
end
2823
2824
context 'osx/x64/meterpreter_reverse_tcp' do
2825
it_should_behave_like 'payload cached size is consistent',
2826
ancestor_reference_names: [
2827
'singles/osx/x64/meterpreter_reverse_tcp'
2828
],
2829
dynamic_size: false,
2830
modules_pathname: modules_pathname,
2831
reference_name: 'osx/x64/meterpreter_reverse_tcp'
2832
end
2833
2834
context 'osx/x64/say' do
2835
it_should_behave_like 'payload cached size is consistent',
2836
ancestor_reference_names: [
2837
'singles/osx/x64/say'
2838
],
2839
dynamic_size: false,
2840
modules_pathname: modules_pathname,
2841
reference_name: 'osx/x64/say'
2842
end
2843
2844
context 'osx/x64/shell_bind_tcp' do
2845
it_should_behave_like 'payload cached size is consistent',
2846
ancestor_reference_names: [
2847
'singles/osx/x64/shell_bind_tcp'
2848
],
2849
dynamic_size: false,
2850
modules_pathname: modules_pathname,
2851
reference_name: 'osx/x64/shell_bind_tcp'
2852
end
2853
2854
context 'osx/x64/shell_find_tag' do
2855
it_should_behave_like 'payload cached size is consistent',
2856
ancestor_reference_names: [
2857
'singles/osx/x64/shell_find_tag'
2858
],
2859
dynamic_size: false,
2860
modules_pathname: modules_pathname,
2861
reference_name: 'osx/x64/shell_find_tag'
2862
end
2863
2864
context 'osx/x64/shell_reverse_tcp' do
2865
it_should_behave_like 'payload cached size is consistent',
2866
ancestor_reference_names: [
2867
'singles/osx/x64/shell_reverse_tcp'
2868
],
2869
dynamic_size: false,
2870
modules_pathname: modules_pathname,
2871
reference_name: 'osx/x64/shell_reverse_tcp'
2872
end
2873
2874
context 'osx/x86/bundleinject/bind_tcp' do
2875
it_should_behave_like 'payload cached size is consistent',
2876
ancestor_reference_names: [
2877
'stagers/osx/x86/bind_tcp',
2878
'stages/osx/x86/bundleinject'
2879
],
2880
dynamic_size: false,
2881
modules_pathname: modules_pathname,
2882
reference_name: 'osx/x86/bundleinject/bind_tcp'
2883
end
2884
2885
context 'osx/x86/bundleinject/reverse_tcp' do
2886
it_should_behave_like 'payload cached size is consistent',
2887
ancestor_reference_names: [
2888
'stagers/osx/x86/reverse_tcp',
2889
'stages/osx/x86/bundleinject',
2890
],
2891
dynamic_size: false,
2892
modules_pathname: modules_pathname,
2893
reference_name: 'osx/x86/bundleinject/reverse_tcp'
2894
end
2895
2896
context 'osx/x86/exec' do
2897
it_should_behave_like 'payload cached size is consistent',
2898
ancestor_reference_names: [
2899
'singles/osx/x86/exec'
2900
],
2901
dynamic_size: false,
2902
modules_pathname: modules_pathname,
2903
reference_name: 'osx/x86/exec'
2904
end
2905
2906
context 'osx/x86/isight/bind_tcp' do
2907
it_should_behave_like 'payload cached size is consistent',
2908
ancestor_reference_names: [
2909
'stagers/osx/x86/bind_tcp',
2910
'stages/osx/x86/isight'
2911
],
2912
dynamic_size: false,
2913
modules_pathname: modules_pathname,
2914
reference_name: 'osx/x86/isight/bind_tcp'
2915
end
2916
2917
context 'osx/x86/isight/reverse_tcp' do
2918
it_should_behave_like 'payload cached size is consistent',
2919
ancestor_reference_names: [
2920
'stagers/osx/x86/reverse_tcp',
2921
'stages/osx/x86/isight'
2922
],
2923
dynamic_size: false,
2924
modules_pathname: modules_pathname,
2925
reference_name: 'osx/x86/isight/reverse_tcp'
2926
end
2927
2928
context 'osx/x86/shell_bind_tcp' do
2929
it_should_behave_like 'payload cached size is consistent',
2930
ancestor_reference_names: [
2931
'singles/osx/x86/shell_bind_tcp'
2932
],
2933
dynamic_size: false,
2934
modules_pathname: modules_pathname,
2935
reference_name: 'osx/x86/shell_bind_tcp'
2936
end
2937
2938
context 'osx/x86/shell_find_port' do
2939
it_should_behave_like 'payload cached size is consistent',
2940
ancestor_reference_names: [
2941
'singles/osx/x86/shell_find_port'
2942
],
2943
dynamic_size: false,
2944
modules_pathname: modules_pathname,
2945
reference_name: 'osx/x86/shell_find_port'
2946
end
2947
2948
context 'osx/x86/shell_reverse_tcp' do
2949
it_should_behave_like 'payload cached size is consistent',
2950
ancestor_reference_names: [
2951
'singles/osx/x86/shell_reverse_tcp'
2952
],
2953
dynamic_size: false,
2954
modules_pathname: modules_pathname,
2955
reference_name: 'osx/x86/shell_reverse_tcp'
2956
end
2957
2958
context 'osx/x86/vforkshell/bind_tcp' do
2959
it_should_behave_like 'payload cached size is consistent',
2960
ancestor_reference_names: [
2961
'stagers/osx/x86/bind_tcp',
2962
'stages/osx/x86/vforkshell'
2963
],
2964
dynamic_size: false,
2965
modules_pathname: modules_pathname,
2966
reference_name: 'osx/x86/vforkshell/bind_tcp'
2967
end
2968
2969
context 'osx/x86/vforkshell/reverse_tcp' do
2970
it_should_behave_like 'payload cached size is consistent',
2971
ancestor_reference_names: [
2972
'stagers/osx/x86/reverse_tcp',
2973
'stages/osx/x86/vforkshell'
2974
],
2975
dynamic_size: false,
2976
modules_pathname: modules_pathname,
2977
reference_name: 'osx/x86/vforkshell/reverse_tcp'
2978
end
2979
2980
context 'osx/x86/vforkshell_bind_tcp' do
2981
it_should_behave_like 'payload cached size is consistent',
2982
ancestor_reference_names: [
2983
'singles/osx/x86/vforkshell_bind_tcp'
2984
],
2985
dynamic_size: false,
2986
modules_pathname: modules_pathname,
2987
reference_name: 'osx/x86/vforkshell_bind_tcp'
2988
end
2989
2990
context 'osx/x86/vforkshell_reverse_tcp' do
2991
it_should_behave_like 'payload cached size is consistent',
2992
ancestor_reference_names: [
2993
'singles/osx/x86/vforkshell_reverse_tcp'
2994
],
2995
dynamic_size: false,
2996
modules_pathname: modules_pathname,
2997
reference_name: 'osx/x86/vforkshell_reverse_tcp'
2998
end
2999
3000
context 'php/bind_php' do
3001
it_should_behave_like 'payload cached size is consistent',
3002
ancestor_reference_names: [
3003
'singles/php/bind_php'
3004
],
3005
dynamic_size: true,
3006
modules_pathname: modules_pathname,
3007
reference_name: 'php/bind_php'
3008
end
3009
3010
context 'php/bind_php_ipv6' do
3011
it_should_behave_like 'payload cached size is consistent',
3012
ancestor_reference_names: [
3013
'singles/php/bind_php_ipv6'
3014
],
3015
dynamic_size: true,
3016
modules_pathname: modules_pathname,
3017
reference_name: 'php/bind_php_ipv6'
3018
end
3019
3020
context 'php/unix/cmd' do
3021
it_should_behave_like 'payload is not cached',
3022
ancestor_reference_names: [
3023
'adapters/php/unix/cmd'
3024
],
3025
reference_name: 'php/unix/cmd '
3026
end
3027
3028
context 'php/download_exec' do
3029
it_should_behave_like 'payload cached size is consistent',
3030
ancestor_reference_names: [
3031
'singles/php/download_exec'
3032
],
3033
dynamic_size: true,
3034
modules_pathname: modules_pathname,
3035
reference_name: 'php/download_exec'
3036
end
3037
3038
context 'php/exec' do
3039
it_should_behave_like 'payload cached size is consistent',
3040
ancestor_reference_names: [
3041
'singles/php/exec'
3042
],
3043
dynamic_size: true,
3044
modules_pathname: modules_pathname,
3045
reference_name: 'php/exec'
3046
end
3047
3048
context 'php/meterpreter/bind_tcp' do
3049
it_should_behave_like 'payload cached size is consistent',
3050
ancestor_reference_names: [
3051
'stagers/php/bind_tcp',
3052
'stages/php/meterpreter'
3053
],
3054
dynamic_size: false,
3055
modules_pathname: modules_pathname,
3056
reference_name: 'php/meterpreter/bind_tcp'
3057
end
3058
3059
context 'php/meterpreter/bind_tcp_uuid' do
3060
it_should_behave_like 'payload cached size is consistent',
3061
ancestor_reference_names: [
3062
'stagers/php/bind_tcp_uuid',
3063
'stages/php/meterpreter'
3064
],
3065
dynamic_size: false,
3066
modules_pathname: modules_pathname,
3067
reference_name: 'php/meterpreter/bind_tcp_uuid'
3068
end
3069
3070
context 'php/meterpreter/bind_tcp_ipv6' do
3071
it_should_behave_like 'payload cached size is consistent',
3072
ancestor_reference_names: [
3073
'stagers/php/bind_tcp_ipv6',
3074
'stages/php/meterpreter'
3075
],
3076
dynamic_size: false,
3077
modules_pathname: modules_pathname,
3078
reference_name: 'php/meterpreter/bind_tcp_ipv6'
3079
end
3080
3081
context 'php/meterpreter/bind_tcp_ipv6_uuid' do
3082
it_should_behave_like 'payload cached size is consistent',
3083
ancestor_reference_names: [
3084
'stagers/php/bind_tcp_ipv6_uuid',
3085
'stages/php/meterpreter'
3086
],
3087
dynamic_size: false,
3088
modules_pathname: modules_pathname,
3089
reference_name: 'php/meterpreter/bind_tcp_ipv6_uuid'
3090
end
3091
3092
context 'php/meterpreter/reverse_tcp' do
3093
it_should_behave_like 'payload cached size is consistent',
3094
ancestor_reference_names: [
3095
'stagers/php/reverse_tcp',
3096
'stages/php/meterpreter'
3097
],
3098
dynamic_size: false,
3099
modules_pathname: modules_pathname,
3100
reference_name: 'php/meterpreter/reverse_tcp'
3101
end
3102
3103
context 'php/meterpreter/reverse_tcp_uuid' do
3104
it_should_behave_like 'payload cached size is consistent',
3105
ancestor_reference_names: [
3106
'stagers/php/reverse_tcp_uuid',
3107
'stages/php/meterpreter'
3108
],
3109
dynamic_size: false,
3110
modules_pathname: modules_pathname,
3111
reference_name: 'php/meterpreter/reverse_tcp_uuid'
3112
end
3113
3114
context 'php/meterpreter_reverse_tcp' do
3115
it_should_behave_like 'payload cached size is consistent',
3116
ancestor_reference_names: [
3117
'singles/php/meterpreter_reverse_tcp'
3118
],
3119
dynamic_size: false,
3120
modules_pathname: modules_pathname,
3121
reference_name: 'php/meterpreter_reverse_tcp'
3122
end
3123
3124
context 'php/reverse_php' do
3125
it_should_behave_like 'payload cached size is consistent',
3126
ancestor_reference_names: [
3127
'singles/php/reverse_php'
3128
],
3129
dynamic_size: true,
3130
modules_pathname: modules_pathname,
3131
reference_name: 'php/reverse_php'
3132
end
3133
3134
context 'php/shell_findsock' do
3135
it_should_behave_like 'payload cached size is consistent',
3136
ancestor_reference_names: [
3137
'singles/php/shell_findsock'
3138
],
3139
dynamic_size: true,
3140
modules_pathname: modules_pathname,
3141
reference_name: 'php/shell_findsock'
3142
end
3143
3144
context 'python/exec' do
3145
it_should_behave_like 'payload cached size is consistent',
3146
ancestor_reference_names: [
3147
'singles/python/exec'
3148
],
3149
dynamic_size: false,
3150
modules_pathname: modules_pathname,
3151
reference_name: 'python/exec'
3152
end
3153
3154
context 'python/meterpreter/bind_tcp' do
3155
it_should_behave_like 'payload cached size is consistent',
3156
ancestor_reference_names: [
3157
'stagers/python/bind_tcp',
3158
'stages/python/meterpreter'
3159
],
3160
dynamic_size: true,
3161
modules_pathname: modules_pathname,
3162
reference_name: 'python/meterpreter/bind_tcp'
3163
end
3164
3165
context 'python/meterpreter/bind_tcp_uuid' do
3166
it_should_behave_like 'payload cached size is consistent',
3167
ancestor_reference_names: [
3168
'stagers/python/bind_tcp_uuid',
3169
'stages/python/meterpreter'
3170
],
3171
dynamic_size: true,
3172
modules_pathname: modules_pathname,
3173
reference_name: 'python/meterpreter/bind_tcp_uuid'
3174
end
3175
3176
context 'python/meterpreter/reverse_http' do
3177
it_should_behave_like 'payload cached size is consistent',
3178
ancestor_reference_names: [
3179
'stagers/python/reverse_http',
3180
'stages/python/meterpreter'
3181
],
3182
dynamic_size: true,
3183
modules_pathname: modules_pathname,
3184
reference_name: 'python/meterpreter/reverse_http'
3185
end
3186
3187
context 'python/meterpreter/reverse_https' do
3188
it_should_behave_like 'payload cached size is consistent',
3189
ancestor_reference_names: [
3190
'stagers/python/reverse_https',
3191
'stages/python/meterpreter'
3192
],
3193
dynamic_size: true,
3194
modules_pathname: modules_pathname,
3195
reference_name: 'python/meterpreter/reverse_https'
3196
end
3197
3198
context 'python/meterpreter/reverse_tcp' do
3199
it_should_behave_like 'payload cached size is consistent',
3200
ancestor_reference_names: [
3201
'stagers/python/reverse_tcp',
3202
'stages/python/meterpreter'
3203
],
3204
dynamic_size: true,
3205
modules_pathname: modules_pathname,
3206
reference_name: 'python/meterpreter/reverse_tcp'
3207
end
3208
3209
context 'python/meterpreter/reverse_tcp_ssl' do
3210
it_should_behave_like 'payload cached size is consistent',
3211
ancestor_reference_names: [
3212
'stagers/python/reverse_tcp_ssl',
3213
'stages/python/meterpreter'
3214
],
3215
dynamic_size: true,
3216
modules_pathname: modules_pathname,
3217
reference_name: 'python/meterpreter/reverse_tcp_ssl'
3218
end
3219
3220
context 'python/meterpreter/reverse_tcp_uuid' do
3221
it_should_behave_like 'payload cached size is consistent',
3222
ancestor_reference_names: [
3223
'stagers/python/reverse_tcp_uuid',
3224
'stages/python/meterpreter'
3225
],
3226
dynamic_size: true,
3227
modules_pathname: modules_pathname,
3228
reference_name: 'python/meterpreter/reverse_tcp_uuid'
3229
end
3230
3231
context 'python/meterpreter_bind_tcp' do
3232
it_should_behave_like 'payload cached size is consistent',
3233
ancestor_reference_names: [
3234
'singles/python/meterpreter_bind_tcp'
3235
],
3236
dynamic_size: true,
3237
modules_pathname: modules_pathname,
3238
reference_name: 'python/meterpreter_bind_tcp'
3239
end
3240
3241
context 'python/meterpreter_reverse_http' do
3242
it_should_behave_like 'payload cached size is consistent',
3243
ancestor_reference_names: [
3244
'singles/python/meterpreter_reverse_http'
3245
],
3246
dynamic_size: true,
3247
modules_pathname: modules_pathname,
3248
reference_name: 'python/meterpreter_reverse_http'
3249
end
3250
3251
context 'python/meterpreter_reverse_https' do
3252
it_should_behave_like 'payload cached size is consistent',
3253
ancestor_reference_names: [
3254
'singles/python/meterpreter_reverse_https'
3255
],
3256
dynamic_size: true,
3257
modules_pathname: modules_pathname,
3258
reference_name: 'python/meterpreter_reverse_https'
3259
end
3260
3261
context 'python/meterpreter_reverse_tcp' do
3262
it_should_behave_like 'payload cached size is consistent',
3263
ancestor_reference_names: [
3264
'singles/python/meterpreter_reverse_tcp'
3265
],
3266
dynamic_size: true,
3267
modules_pathname: modules_pathname,
3268
reference_name: 'python/meterpreter_reverse_tcp'
3269
end
3270
3271
context 'python/pingback_bind_tcp' do
3272
it_should_behave_like 'payload cached size is consistent',
3273
ancestor_reference_names: [
3274
'singles/python/pingback_bind_tcp'
3275
],
3276
dynamic_size: true,
3277
modules_pathname: modules_pathname,
3278
reference_name: 'python/pingback_bind_tcp'
3279
end
3280
3281
context 'python/pingback_reverse_tcp' do
3282
it_should_behave_like 'payload cached size is consistent',
3283
ancestor_reference_names: [
3284
'singles/python/pingback_reverse_tcp'
3285
],
3286
dynamic_size: true,
3287
modules_pathname: modules_pathname,
3288
reference_name: 'python/pingback_reverse_tcp'
3289
end
3290
3291
context 'python/shell_bind_tcp' do
3292
it_should_behave_like 'payload cached size is consistent',
3293
ancestor_reference_names: [
3294
'singles/python/shell_bind_tcp'
3295
],
3296
dynamic_size: true,
3297
modules_pathname: modules_pathname,
3298
reference_name: 'python/shell_bind_tcp'
3299
end
3300
3301
context 'python/shell_reverse_tcp' do
3302
it_should_behave_like 'payload cached size is consistent',
3303
ancestor_reference_names: [
3304
'singles/python/shell_reverse_tcp'
3305
],
3306
dynamic_size: true,
3307
modules_pathname: modules_pathname,
3308
reference_name: 'python/shell_reverse_tcp'
3309
end
3310
3311
context 'python/shell_reverse_sctp' do
3312
it_should_behave_like 'payload cached size is consistent',
3313
ancestor_reference_names: [
3314
'singles/python/shell_reverse_sctp'
3315
],
3316
dynamic_size: true,
3317
modules_pathname: modules_pathname,
3318
reference_name: 'python/shell_reverse_sctp'
3319
end
3320
3321
context 'python/shell_reverse_tcp_ssl' do
3322
it_should_behave_like 'payload cached size is consistent',
3323
ancestor_reference_names: [
3324
'singles/python/shell_reverse_tcp_ssl'
3325
],
3326
dynamic_size: true,
3327
modules_pathname: modules_pathname,
3328
reference_name: 'python/shell_reverse_tcp_ssl'
3329
end
3330
3331
context 'python/shell_reverse_udp' do
3332
it_should_behave_like 'payload cached size is consistent',
3333
ancestor_reference_names: [
3334
'singles/python/shell_reverse_udp'
3335
],
3336
dynamic_size: true,
3337
modules_pathname: modules_pathname,
3338
reference_name: 'python/shell_reverse_udp'
3339
end
3340
3341
context 'ruby/pingback_bind_tcp' do
3342
it_should_behave_like 'payload cached size is consistent',
3343
ancestor_reference_names: [
3344
'singles/ruby/pingback_bind_tcp'
3345
],
3346
dynamic_size: false,
3347
modules_pathname: modules_pathname,
3348
reference_name: 'ruby/pingback_bind_tcp'
3349
end
3350
3351
context 'ruby/pingback_reverse_tcp' do
3352
it_should_behave_like 'payload cached size is consistent',
3353
ancestor_reference_names: [
3354
'singles/ruby/pingback_reverse_tcp'
3355
],
3356
dynamic_size: false,
3357
modules_pathname: modules_pathname,
3358
reference_name: 'ruby/pingback_reverse_tcp'
3359
end
3360
3361
context 'ruby/shell_bind_tcp' do
3362
it_should_behave_like 'payload cached size is consistent',
3363
ancestor_reference_names: [
3364
'singles/ruby/shell_bind_tcp'
3365
],
3366
dynamic_size: false,
3367
modules_pathname: modules_pathname,
3368
reference_name: 'ruby/shell_bind_tcp'
3369
end
3370
3371
context 'ruby/shell_bind_tcp_ipv6' do
3372
it_should_behave_like 'payload cached size is consistent',
3373
ancestor_reference_names: [
3374
'singles/ruby/shell_bind_tcp_ipv6'
3375
],
3376
dynamic_size: false,
3377
modules_pathname: modules_pathname,
3378
reference_name: 'ruby/shell_bind_tcp_ipv6'
3379
end
3380
3381
context 'ruby/shell_reverse_tcp' do
3382
it_should_behave_like 'payload cached size is consistent',
3383
ancestor_reference_names: [
3384
'singles/ruby/shell_reverse_tcp'
3385
],
3386
dynamic_size: false,
3387
modules_pathname: modules_pathname,
3388
reference_name: 'ruby/shell_reverse_tcp'
3389
end
3390
3391
context 'ruby/shell_reverse_tcp_ssl' do
3392
it_should_behave_like 'payload cached size is consistent',
3393
ancestor_reference_names: [
3394
'singles/ruby/shell_reverse_tcp_ssl'
3395
],
3396
dynamic_size: false,
3397
modules_pathname: modules_pathname,
3398
reference_name: 'ruby/shell_reverse_tcp_ssl'
3399
end
3400
3401
context 'solaris/sparc/shell_bind_tcp' do
3402
it_should_behave_like 'payload cached size is consistent',
3403
ancestor_reference_names: [
3404
'singles/solaris/sparc/shell_bind_tcp'
3405
],
3406
dynamic_size: false,
3407
modules_pathname: modules_pathname,
3408
reference_name: 'solaris/sparc/shell_bind_tcp'
3409
end
3410
3411
context 'solaris/sparc/shell_find_port' do
3412
it_should_behave_like 'payload cached size is consistent',
3413
ancestor_reference_names: [
3414
'singles/solaris/sparc/shell_find_port'
3415
],
3416
dynamic_size: false,
3417
modules_pathname: modules_pathname,
3418
reference_name: 'solaris/sparc/shell_find_port'
3419
end
3420
3421
context 'solaris/sparc/shell_reverse_tcp' do
3422
it_should_behave_like 'payload cached size is consistent',
3423
ancestor_reference_names: [
3424
'singles/solaris/sparc/shell_reverse_tcp'
3425
],
3426
dynamic_size: false,
3427
modules_pathname: modules_pathname,
3428
reference_name: 'solaris/sparc/shell_reverse_tcp'
3429
end
3430
3431
context 'solaris/x86/shell_bind_tcp' do
3432
it_should_behave_like 'payload cached size is consistent',
3433
ancestor_reference_names: [
3434
'singles/solaris/x86/shell_bind_tcp'
3435
],
3436
dynamic_size: false,
3437
modules_pathname: modules_pathname,
3438
reference_name: 'solaris/x86/shell_bind_tcp'
3439
end
3440
3441
context 'solaris/x86/shell_find_port' do
3442
it_should_behave_like 'payload cached size is consistent',
3443
ancestor_reference_names: [
3444
'singles/solaris/x86/shell_find_port'
3445
],
3446
dynamic_size: false,
3447
modules_pathname: modules_pathname,
3448
reference_name: 'solaris/x86/shell_find_port'
3449
end
3450
3451
context 'solaris/x86/shell_reverse_tcp' do
3452
it_should_behave_like 'payload cached size is consistent',
3453
ancestor_reference_names: [
3454
'singles/solaris/x86/shell_reverse_tcp'
3455
],
3456
dynamic_size: false,
3457
modules_pathname: modules_pathname,
3458
reference_name: 'solaris/x86/shell_reverse_tcp'
3459
end
3460
3461
context 'tty/unix/interact' do
3462
it_should_behave_like 'payload cached size is consistent',
3463
ancestor_reference_names: [
3464
'singles/tty/unix/interact'
3465
],
3466
dynamic_size: false,
3467
modules_pathname: modules_pathname,
3468
reference_name: 'tty/unix/interact'
3469
end
3470
3471
context 'windows/adduser' do
3472
it_should_behave_like 'payload cached size is consistent',
3473
ancestor_reference_names: [
3474
'singles/windows/adduser'
3475
],
3476
dynamic_size: false,
3477
modules_pathname: modules_pathname,
3478
reference_name: 'windows/adduser'
3479
end
3480
3481
context 'windows/custom/bind_ipv6_tcp' do
3482
it_should_behave_like 'payload is not cached',
3483
ancestor_reference_names: [
3484
'stagers/windows/bind_ipv6_tcp',
3485
'stages/windows/custom'
3486
],
3487
reference_name: 'windows/custom/bind_ipv6_tcp'
3488
end
3489
3490
context 'windows/custom/bind_ipv6_tcp_uuid' do
3491
it_should_behave_like 'payload is not cached',
3492
ancestor_reference_names: [
3493
'stagers/windows/bind_ipv6_tcp_uuid',
3494
'stages/windows/custom'
3495
],
3496
reference_name: 'windows/custom/bind_ipv6_tcp_uuid'
3497
end
3498
3499
context 'windows/custom/bind_named_pipe' do
3500
it_should_behave_like 'payload is not cached',
3501
ancestor_reference_names: [
3502
'stagers/windows/bind_named_pipe',
3503
'stages/windows/custom'
3504
],
3505
reference_name: 'windows/custom/bind_named_pipe'
3506
end
3507
3508
context 'windows/custom/bind_tcp' do
3509
it_should_behave_like 'payload is not cached',
3510
ancestor_reference_names: [
3511
'stagers/windows/bind_tcp',
3512
'stages/windows/custom'
3513
],
3514
reference_name: 'windows/custom/bind_tcp'
3515
end
3516
3517
context 'windows/custom/bind_tcp_rc4' do
3518
it_should_behave_like 'payload is not cached',
3519
ancestor_reference_names: [
3520
'stagers/windows/bind_tcp_rc4',
3521
'stages/windows/custom'
3522
],
3523
reference_name: 'windows/custom/bind_tcp_rc4'
3524
end
3525
3526
context 'windows/custom/bind_tcp_uuid' do
3527
it_should_behave_like 'payload is not cached',
3528
ancestor_reference_names: [
3529
'stagers/windows/bind_tcp_uuid',
3530
'stages/windows/custom'
3531
],
3532
reference_name: 'windows/custom/bind_tcp_uuid'
3533
end
3534
3535
context 'windows/custom/reverse_http' do
3536
it_should_behave_like 'payload is not cached',
3537
ancestor_reference_names: [
3538
'stagers/windows/reverse_http',
3539
'stages/windows/custom'
3540
],
3541
reference_name: 'windows/custom/reverse_http'
3542
end
3543
3544
context 'windows/custom/reverse_https' do
3545
it_should_behave_like 'payload is not cached',
3546
ancestor_reference_names: [
3547
'stagers/windows/reverse_https',
3548
'stages/windows/custom'
3549
],
3550
reference_name: 'windows/custom/reverse_https'
3551
end
3552
3553
context 'windows/custom/reverse_named_pipe' do
3554
it_should_behave_like 'payload is not cached',
3555
ancestor_reference_names: [
3556
'stagers/windows/reverse_named_pipe',
3557
'stages/windows/custom'
3558
],
3559
reference_name: 'windows/custom/reverse_named_pipe'
3560
end
3561
3562
context 'windows/custom/reverse_tcp' do
3563
it_should_behave_like 'payload is not cached',
3564
ancestor_reference_names: [
3565
'stagers/windows/reverse_tcp',
3566
'stages/windows/custom'
3567
],
3568
reference_name: 'windows/custom/reverse_tcp'
3569
end
3570
3571
context 'windows/custom/reverse_tcp_rc4' do
3572
it_should_behave_like 'payload is not cached',
3573
ancestor_reference_names: [
3574
'stagers/windows/reverse_tcp_rc4',
3575
'stages/windows/custom'
3576
],
3577
reference_name: 'windows/custom/reverse_tcp_rc4'
3578
end
3579
3580
context 'windows/custom/reverse_tcp_uuid' do
3581
it_should_behave_like 'payload is not cached',
3582
ancestor_reference_names: [
3583
'stagers/windows/reverse_tcp_uuid',
3584
'stages/windows/custom'
3585
],
3586
reference_name: 'windows/custom/reverse_tcp_uuid'
3587
end
3588
3589
context 'windows/custom/reverse_winhttp' do
3590
it_should_behave_like 'payload is not cached',
3591
ancestor_reference_names: [
3592
'stagers/windows/reverse_winhttp',
3593
'stages/windows/custom'
3594
],
3595
reference_name: 'windows/custom/reverse_winhttp'
3596
end
3597
3598
context 'windows/custom/reverse_winhttps' do
3599
it_should_behave_like 'payload is not cached',
3600
ancestor_reference_names: [
3601
'stagers/windows/reverse_winhttps',
3602
'stages/windows/custom'
3603
],
3604
reference_name: 'windows/custom/reverse_winhttps'
3605
end
3606
3607
context 'windows/dllinject/bind_ipv6_tcp' do
3608
it_should_behave_like 'payload cached size is consistent',
3609
ancestor_reference_names: [
3610
'stagers/windows/bind_ipv6_tcp',
3611
'stages/windows/dllinject'
3612
],
3613
dynamic_size: false,
3614
modules_pathname: modules_pathname,
3615
reference_name: 'windows/dllinject/bind_ipv6_tcp'
3616
end
3617
3618
context 'windows/dllinject/bind_named_pipe' do
3619
it_should_behave_like 'payload cached size is consistent',
3620
ancestor_reference_names: [
3621
'stagers/windows/bind_named_pipe',
3622
'stages/windows/dllinject'
3623
],
3624
dynamic_size: false,
3625
modules_pathname: modules_pathname,
3626
reference_name: 'windows/dllinject/bind_named_pipe'
3627
end
3628
3629
context 'windows/dllinject/bind_nonx_tcp' do
3630
it_should_behave_like 'payload cached size is consistent',
3631
ancestor_reference_names: [
3632
'stagers/windows/bind_nonx_tcp',
3633
'stages/windows/dllinject'
3634
],
3635
dynamic_size: false,
3636
modules_pathname: modules_pathname,
3637
reference_name: 'windows/dllinject/bind_nonx_tcp'
3638
end
3639
3640
context 'windows/dllinject/bind_tcp' do
3641
it_should_behave_like 'payload cached size is consistent',
3642
ancestor_reference_names: [
3643
'stagers/windows/bind_tcp',
3644
'stages/windows/dllinject'
3645
],
3646
dynamic_size: false,
3647
modules_pathname: modules_pathname,
3648
reference_name: 'windows/dllinject/bind_tcp'
3649
end
3650
3651
context 'windows/dllinject/bind_tcp_rc4' do
3652
it_should_behave_like 'payload cached size is consistent',
3653
ancestor_reference_names: [
3654
'stagers/windows/bind_tcp_rc4',
3655
'stages/windows/dllinject'
3656
],
3657
dynamic_size: false,
3658
modules_pathname: modules_pathname,
3659
reference_name: 'windows/dllinject/bind_tcp_rc4'
3660
end
3661
3662
context 'windows/dllinject/find_tag' do
3663
it_should_behave_like 'payload cached size is consistent',
3664
ancestor_reference_names: [
3665
'stagers/windows/findtag_ord',
3666
'stages/windows/dllinject'
3667
],
3668
dynamic_size: false,
3669
modules_pathname: modules_pathname,
3670
reference_name: 'windows/dllinject/find_tag'
3671
end
3672
3673
3674
context 'windows/dllinject/reverse_http' do
3675
it_should_behave_like 'payload cached size is consistent',
3676
ancestor_reference_names: [
3677
'stagers/windows/reverse_http',
3678
'stages/windows/dllinject'
3679
],
3680
dynamic_size: false,
3681
modules_pathname: modules_pathname,
3682
reference_name: 'windows/dllinject/reverse_http'
3683
end
3684
3685
context 'windows/dllinject/reverse_http_proxy_pstore' do
3686
it_should_behave_like 'payload cached size is consistent',
3687
ancestor_reference_names: [
3688
'stagers/windows/reverse_http_proxy_pstore',
3689
'stages/windows/dllinject'
3690
],
3691
dynamic_size: false,
3692
modules_pathname: modules_pathname,
3693
reference_name: 'windows/dllinject/reverse_http_proxy_pstore'
3694
end
3695
3696
context 'windows/dllinject/reverse_ipv6_tcp' do
3697
it_should_behave_like 'payload cached size is consistent',
3698
ancestor_reference_names: [
3699
'stagers/windows/reverse_ipv6_tcp',
3700
'stages/windows/dllinject'
3701
],
3702
dynamic_size: false,
3703
modules_pathname: modules_pathname,
3704
reference_name: 'windows/dllinject/reverse_ipv6_tcp'
3705
end
3706
3707
context 'windows/dllinject/reverse_nonx_tcp' do
3708
it_should_behave_like 'payload cached size is consistent',
3709
ancestor_reference_names: [
3710
'stagers/windows/reverse_nonx_tcp',
3711
'stages/windows/dllinject'
3712
],
3713
dynamic_size: false,
3714
modules_pathname: modules_pathname,
3715
reference_name: 'windows/dllinject/reverse_nonx_tcp'
3716
end
3717
3718
context 'windows/dllinject/reverse_ord_tcp' do
3719
it_should_behave_like 'payload cached size is consistent',
3720
ancestor_reference_names: [
3721
'stagers/windows/reverse_ord_tcp',
3722
'stages/windows/dllinject'
3723
],
3724
dynamic_size: false,
3725
modules_pathname: modules_pathname,
3726
reference_name: 'windows/dllinject/reverse_ord_tcp'
3727
end
3728
3729
context 'windows/dllinject/reverse_tcp' do
3730
it_should_behave_like 'payload cached size is consistent',
3731
ancestor_reference_names: [
3732
'stagers/windows/reverse_tcp',
3733
'stages/windows/dllinject'
3734
],
3735
dynamic_size: false,
3736
modules_pathname: modules_pathname,
3737
reference_name: 'windows/dllinject/reverse_tcp'
3738
end
3739
3740
context 'windows/dllinject/reverse_tcp_allports' do
3741
it_should_behave_like 'payload cached size is consistent',
3742
ancestor_reference_names: [
3743
'stagers/windows/reverse_tcp_allports',
3744
'stages/windows/dllinject'
3745
],
3746
dynamic_size: false,
3747
modules_pathname: modules_pathname,
3748
reference_name: 'windows/dllinject/reverse_tcp_allports'
3749
end
3750
3751
context 'windows/dllinject/reverse_tcp_dns' do
3752
it_should_behave_like 'payload cached size is consistent',
3753
ancestor_reference_names: [
3754
'stagers/windows/reverse_tcp_dns',
3755
'stages/windows/dllinject'
3756
],
3757
dynamic_size: false,
3758
modules_pathname: modules_pathname,
3759
reference_name: 'windows/dllinject/reverse_tcp_dns'
3760
end
3761
3762
context 'windows/dllinject/reverse_tcp_rc4' do
3763
it_should_behave_like 'payload cached size is consistent',
3764
ancestor_reference_names: [
3765
'stagers/windows/reverse_tcp_rc4',
3766
'stages/windows/dllinject'
3767
],
3768
dynamic_size: false,
3769
modules_pathname: modules_pathname,
3770
reference_name: 'windows/dllinject/reverse_tcp_rc4'
3771
end
3772
3773
context 'windows/dllinject/reverse_tcp_rc4_dns' do
3774
it_should_behave_like 'payload cached size is consistent',
3775
ancestor_reference_names: [
3776
'stagers/windows/reverse_tcp_rc4_dns',
3777
'stages/windows/dllinject'
3778
],
3779
dynamic_size: false,
3780
modules_pathname: modules_pathname,
3781
reference_name: 'windows/dllinject/reverse_tcp_rc4_dns'
3782
end
3783
3784
context 'windows/dns_txt_query_exec' do
3785
it_should_behave_like 'payload cached size is consistent',
3786
ancestor_reference_names: [
3787
'singles/windows/dns_txt_query_exec'
3788
],
3789
dynamic_size: false,
3790
modules_pathname: modules_pathname,
3791
reference_name: 'windows/dns_txt_query_exec'
3792
end
3793
3794
context 'windows/download_exec' do
3795
it_should_behave_like 'payload cached size is consistent',
3796
ancestor_reference_names: [
3797
'singles/windows/download_exec'
3798
],
3799
dynamic_size: false,
3800
modules_pathname: modules_pathname,
3801
reference_name: 'windows/download_exec'
3802
end
3803
3804
context 'windows/encrypted_shell/reverse_tcp' do
3805
it_should_behave_like 'payload is not cached',
3806
ancestor_reference_names: [
3807
'stagers/windows/encrypted_reverse_tcp',
3808
'stages/windows/encrypted_shell'
3809
],
3810
reference_name: 'windows/encrypted_shell/reverse_tcp'
3811
end
3812
3813
context 'windows/encrypted_shell_reverse_tcp' do
3814
it_should_behave_like 'payload is not cached',
3815
ancestor_reference_names: [
3816
'singles/windows/encrypted_shell_reverse_tcp'
3817
],
3818
reference_name: 'windows/encrypted_shell_reverse_tcp'
3819
end
3820
3821
context 'windows/exec' do
3822
it_should_behave_like 'payload cached size is consistent',
3823
ancestor_reference_names: [
3824
'singles/windows/exec'
3825
],
3826
dynamic_size: false,
3827
modules_pathname: modules_pathname,
3828
reference_name: 'windows/exec'
3829
end
3830
3831
context 'windows/format_all_drives' do
3832
it_should_behave_like 'payload cached size is consistent',
3833
ancestor_reference_names: [
3834
'singles/windows/format_all_drives'
3835
],
3836
dynamic_size: false,
3837
modules_pathname: modules_pathname,
3838
reference_name: 'windows/format_all_drives'
3839
end
3840
3841
context 'windows/loadlibrary' do
3842
it_should_behave_like 'payload cached size is consistent',
3843
ancestor_reference_names: [
3844
'singles/windows/loadlibrary'
3845
],
3846
dynamic_size: false,
3847
modules_pathname: modules_pathname,
3848
reference_name: 'windows/loadlibrary'
3849
end
3850
3851
context 'windows/messagebox' do
3852
it_should_behave_like 'payload cached size is consistent',
3853
ancestor_reference_names: [
3854
'singles/windows/messagebox'
3855
],
3856
dynamic_size: false,
3857
modules_pathname: modules_pathname,
3858
reference_name: 'windows/messagebox'
3859
end
3860
3861
context 'windows/meterpreter_bind_named_pipe' do
3862
it_should_behave_like 'payload cached size is consistent',
3863
ancestor_reference_names: [
3864
'singles/windows/meterpreter_bind_named_pipe'
3865
],
3866
dynamic_size: false,
3867
modules_pathname: modules_pathname,
3868
reference_name: 'windows/meterpreter_bind_named_pipe'
3869
end
3870
3871
context 'windows/meterpreter_bind_tcp' do
3872
it_should_behave_like 'payload cached size is consistent',
3873
ancestor_reference_names: [
3874
'singles/windows/meterpreter_bind_tcp'
3875
],
3876
dynamic_size: false,
3877
modules_pathname: modules_pathname,
3878
reference_name: 'windows/meterpreter_bind_tcp'
3879
end
3880
3881
context 'windows/meterpreter_reverse_http' do
3882
it_should_behave_like 'payload cached size is consistent',
3883
ancestor_reference_names: [
3884
'singles/windows/meterpreter_reverse_http'
3885
],
3886
dynamic_size: false,
3887
modules_pathname: modules_pathname,
3888
reference_name: 'windows/meterpreter_reverse_http'
3889
end
3890
3891
context 'windows/meterpreter_reverse_https' do
3892
it_should_behave_like 'payload cached size is consistent',
3893
ancestor_reference_names: [
3894
'singles/windows/meterpreter_reverse_https'
3895
],
3896
dynamic_size: false,
3897
modules_pathname: modules_pathname,
3898
reference_name: 'windows/meterpreter_reverse_https'
3899
end
3900
3901
context 'windows/meterpreter_reverse_ipv6_tcp' do
3902
it_should_behave_like 'payload cached size is consistent',
3903
ancestor_reference_names: [
3904
'singles/windows/meterpreter_reverse_ipv6_tcp'
3905
],
3906
dynamic_size: false,
3907
modules_pathname: modules_pathname,
3908
reference_name: 'windows/meterpreter_reverse_ipv6_tcp'
3909
end
3910
3911
context 'windows/meterpreter_reverse_tcp' do
3912
it_should_behave_like 'payload cached size is consistent',
3913
ancestor_reference_names: [
3914
'singles/windows/meterpreter_reverse_tcp'
3915
],
3916
dynamic_size: false,
3917
modules_pathname: modules_pathname,
3918
reference_name: 'windows/meterpreter_reverse_tcp'
3919
end
3920
3921
context 'windows/meterpreter/bind_ipv6_tcp' do
3922
it_should_behave_like 'payload cached size is consistent',
3923
ancestor_reference_names: [
3924
'stagers/windows/bind_ipv6_tcp',
3925
'stages/windows/meterpreter'
3926
],
3927
dynamic_size: false,
3928
modules_pathname: modules_pathname,
3929
reference_name: 'windows/meterpreter/bind_ipv6_tcp'
3930
end
3931
3932
context 'windows/meterpreter/bind_ipv6_tcp_uuid' do
3933
it_should_behave_like 'payload cached size is consistent',
3934
ancestor_reference_names: [
3935
'stagers/windows/bind_ipv6_tcp_uuid',
3936
'stages/windows/meterpreter'
3937
],
3938
dynamic_size: false,
3939
modules_pathname: modules_pathname,
3940
reference_name: 'windows/meterpreter/bind_ipv6_tcp_uuid'
3941
end
3942
3943
context 'windows/meterpreter/bind_named_pipe' do
3944
it_should_behave_like 'payload cached size is consistent',
3945
ancestor_reference_names: [
3946
'stagers/windows/bind_named_pipe',
3947
'stages/windows/meterpreter'
3948
],
3949
dynamic_size: false,
3950
modules_pathname: modules_pathname,
3951
reference_name: 'windows/meterpreter/bind_named_pipe'
3952
end
3953
3954
context 'windows/meterpreter/bind_nonx_tcp' do
3955
it_should_behave_like 'payload cached size is consistent',
3956
ancestor_reference_names: [
3957
'stagers/windows/bind_nonx_tcp',
3958
'stages/windows/meterpreter'
3959
],
3960
dynamic_size: false,
3961
modules_pathname: modules_pathname,
3962
reference_name: 'windows/meterpreter/bind_nonx_tcp'
3963
end
3964
3965
context 'windows/meterpreter/bind_tcp' do
3966
it_should_behave_like 'payload cached size is consistent',
3967
ancestor_reference_names: [
3968
'stagers/windows/bind_tcp',
3969
'stages/windows/meterpreter'
3970
],
3971
dynamic_size: false,
3972
modules_pathname: modules_pathname,
3973
reference_name: 'windows/meterpreter/bind_tcp'
3974
end
3975
3976
context 'windows/meterpreter/bind_tcp_rc4' do
3977
it_should_behave_like 'payload cached size is consistent',
3978
ancestor_reference_names: [
3979
'stagers/windows/bind_tcp_rc4',
3980
'stages/windows/meterpreter'
3981
],
3982
dynamic_size: false,
3983
modules_pathname: modules_pathname,
3984
reference_name: 'windows/meterpreter/bind_tcp_rc4'
3985
end
3986
3987
context 'windows/meterpreter/bind_tcp_uuid' do
3988
it_should_behave_like 'payload cached size is consistent',
3989
ancestor_reference_names: [
3990
'stagers/windows/bind_tcp_uuid',
3991
'stages/windows/meterpreter'
3992
],
3993
dynamic_size: false,
3994
modules_pathname: modules_pathname,
3995
reference_name: 'windows/meterpreter/bind_tcp_uuid'
3996
end
3997
3998
context 'windows/meterpreter/find_tag' do
3999
it_should_behave_like 'payload cached size is consistent',
4000
ancestor_reference_names: [
4001
'stagers/windows/findtag_ord',
4002
'stages/windows/meterpreter'
4003
],
4004
dynamic_size: false,
4005
modules_pathname: modules_pathname,
4006
reference_name: 'windows/meterpreter/find_tag'
4007
end
4008
4009
context 'windows/meterpreter/reverse_http' do
4010
it_should_behave_like 'payload cached size is consistent',
4011
ancestor_reference_names: [
4012
'stagers/windows/reverse_http',
4013
'stages/windows/meterpreter'
4014
],
4015
dynamic_size: false,
4016
modules_pathname: modules_pathname,
4017
reference_name: 'windows/meterpreter/reverse_http'
4018
end
4019
4020
context 'windows/meterpreter/reverse_http_proxy_pstore' do
4021
it_should_behave_like 'payload cached size is consistent',
4022
ancestor_reference_names: [
4023
'stagers/windows/reverse_http_proxy_pstore',
4024
'stages/windows/meterpreter'
4025
],
4026
dynamic_size: false,
4027
modules_pathname: modules_pathname,
4028
reference_name: 'windows/meterpreter/reverse_http_proxy_pstore'
4029
end
4030
4031
context 'windows/meterpreter/reverse_https' do
4032
it_should_behave_like 'payload cached size is consistent',
4033
ancestor_reference_names: [
4034
'stagers/windows/reverse_https',
4035
'stages/windows/meterpreter'
4036
],
4037
dynamic_size: false,
4038
modules_pathname: modules_pathname,
4039
reference_name: 'windows/meterpreter/reverse_https'
4040
end
4041
4042
context 'windows/meterpreter/reverse_ipv6_tcp' do
4043
it_should_behave_like 'payload cached size is consistent',
4044
ancestor_reference_names: [
4045
'stagers/windows/reverse_ipv6_tcp',
4046
'stages/windows/meterpreter'
4047
],
4048
dynamic_size: false,
4049
modules_pathname: modules_pathname,
4050
reference_name: 'windows/meterpreter/reverse_ipv6_tcp'
4051
end
4052
4053
context 'windows/meterpreter/reverse_named_pipe' do
4054
it_should_behave_like 'payload cached size is consistent',
4055
ancestor_reference_names: [
4056
'stagers/windows/reverse_named_pipe',
4057
'stages/windows/meterpreter'
4058
],
4059
dynamic_size: false,
4060
modules_pathname: modules_pathname,
4061
reference_name: 'windows/meterpreter/reverse_named_pipe'
4062
end
4063
4064
context 'windows/meterpreter/reverse_nonx_tcp' do
4065
it_should_behave_like 'payload cached size is consistent',
4066
ancestor_reference_names: [
4067
'stagers/windows/reverse_nonx_tcp',
4068
'stages/windows/meterpreter'
4069
],
4070
dynamic_size: false,
4071
modules_pathname: modules_pathname,
4072
reference_name: 'windows/meterpreter/reverse_nonx_tcp'
4073
end
4074
4075
context 'windows/meterpreter/reverse_ord_tcp' do
4076
it_should_behave_like 'payload cached size is consistent',
4077
ancestor_reference_names: [
4078
'stagers/windows/reverse_ord_tcp',
4079
'stages/windows/meterpreter'
4080
],
4081
dynamic_size: false,
4082
modules_pathname: modules_pathname,
4083
reference_name: 'windows/meterpreter/reverse_ord_tcp'
4084
end
4085
4086
context 'windows/meterpreter/reverse_tcp' do
4087
it_should_behave_like 'payload cached size is consistent',
4088
ancestor_reference_names: [
4089
'stagers/windows/reverse_tcp',
4090
'stages/windows/meterpreter'
4091
],
4092
dynamic_size: false,
4093
modules_pathname: modules_pathname,
4094
reference_name: 'windows/meterpreter/reverse_tcp'
4095
end
4096
4097
context 'windows/meterpreter/reverse_tcp_allports' do
4098
it_should_behave_like 'payload cached size is consistent',
4099
ancestor_reference_names: [
4100
'stagers/windows/reverse_tcp_allports',
4101
'stages/windows/meterpreter'
4102
],
4103
dynamic_size: false,
4104
modules_pathname: modules_pathname,
4105
reference_name: 'windows/meterpreter/reverse_tcp_allports'
4106
end
4107
4108
context 'windows/meterpreter/reverse_tcp_dns' do
4109
it_should_behave_like 'payload cached size is consistent',
4110
ancestor_reference_names: [
4111
'stagers/windows/reverse_tcp_dns',
4112
'stages/windows/meterpreter'
4113
],
4114
dynamic_size: false,
4115
modules_pathname: modules_pathname,
4116
reference_name: 'windows/meterpreter/reverse_tcp_dns'
4117
end
4118
4119
context 'windows/meterpreter/reverse_tcp_rc4' do
4120
it_should_behave_like 'payload cached size is consistent',
4121
ancestor_reference_names: [
4122
'stagers/windows/reverse_tcp_rc4',
4123
'stages/windows/meterpreter'
4124
],
4125
dynamic_size: false,
4126
modules_pathname: modules_pathname,
4127
reference_name: 'windows/meterpreter/reverse_tcp_rc4'
4128
end
4129
4130
context 'windows/meterpreter/reverse_tcp_rc4_dns' do
4131
it_should_behave_like 'payload cached size is consistent',
4132
ancestor_reference_names: [
4133
'stagers/windows/reverse_tcp_rc4_dns',
4134
'stages/windows/meterpreter'
4135
],
4136
dynamic_size: false,
4137
modules_pathname: modules_pathname,
4138
reference_name: 'windows/meterpreter/reverse_tcp_rc4_dns'
4139
end
4140
4141
context 'windows/meterpreter/reverse_tcp_uuid' do
4142
it_should_behave_like 'payload cached size is consistent',
4143
ancestor_reference_names: [
4144
'stagers/windows/reverse_tcp_uuid',
4145
'stages/windows/meterpreter'
4146
],
4147
dynamic_size: false,
4148
modules_pathname: modules_pathname,
4149
reference_name: 'windows/meterpreter/reverse_tcp_uuid'
4150
end
4151
4152
context 'windows/metsvc_bind_tcp' do
4153
it_should_behave_like 'payload cached size is consistent',
4154
ancestor_reference_names: [
4155
'singles/windows/metsvc_bind_tcp'
4156
],
4157
dynamic_size: false,
4158
modules_pathname: modules_pathname,
4159
reference_name: 'windows/metsvc_bind_tcp'
4160
end
4161
4162
context 'windows/metsvc_reverse_tcp' do
4163
it_should_behave_like 'payload cached size is consistent',
4164
ancestor_reference_names: [
4165
'singles/windows/metsvc_reverse_tcp'
4166
],
4167
dynamic_size: false,
4168
modules_pathname: modules_pathname,
4169
reference_name: 'windows/metsvc_reverse_tcp'
4170
end
4171
4172
context 'windows/patchupdllinject/bind_ipv6_tcp' do
4173
it_should_behave_like 'payload cached size is consistent',
4174
ancestor_reference_names: [
4175
'stagers/windows/bind_ipv6_tcp',
4176
'stages/windows/patchupdllinject'
4177
],
4178
dynamic_size: false,
4179
modules_pathname: modules_pathname,
4180
reference_name: 'windows/patchupdllinject/bind_ipv6_tcp'
4181
end
4182
4183
context 'windows/patchupdllinject/bind_named_pipe' do
4184
it_should_behave_like 'payload cached size is consistent',
4185
ancestor_reference_names: [
4186
'stagers/windows/bind_named_pipe',
4187
'stages/windows/patchupdllinject'
4188
],
4189
dynamic_size: false,
4190
modules_pathname: modules_pathname,
4191
reference_name: 'windows/patchupdllinject/bind_named_pipe'
4192
end
4193
4194
context 'windows/patchupdllinject/bind_nonx_tcp' do
4195
it_should_behave_like 'payload cached size is consistent',
4196
ancestor_reference_names: [
4197
'stagers/windows/bind_nonx_tcp',
4198
'stages/windows/patchupdllinject'
4199
],
4200
dynamic_size: false,
4201
modules_pathname: modules_pathname,
4202
reference_name: 'windows/patchupdllinject/bind_nonx_tcp'
4203
end
4204
4205
context 'windows/patchupdllinject/bind_tcp' do
4206
it_should_behave_like 'payload cached size is consistent',
4207
ancestor_reference_names: [
4208
'stagers/windows/bind_tcp',
4209
'stages/windows/patchupdllinject'
4210
],
4211
dynamic_size: false,
4212
modules_pathname: modules_pathname,
4213
reference_name: 'windows/patchupdllinject/bind_tcp'
4214
end
4215
4216
context 'windows/patchupdllinject/bind_tcp_rc4' do
4217
it_should_behave_like 'payload cached size is consistent',
4218
ancestor_reference_names: [
4219
'stagers/windows/bind_tcp_rc4',
4220
'stages/windows/patchupdllinject'
4221
],
4222
dynamic_size: false,
4223
modules_pathname: modules_pathname,
4224
reference_name: 'windows/patchupdllinject/bind_tcp_rc4'
4225
end
4226
4227
context 'windows/patchupdllinject/find_tag' do
4228
it_should_behave_like 'payload cached size is consistent',
4229
ancestor_reference_names: [
4230
'stagers/windows/findtag_ord',
4231
'stages/windows/patchupdllinject'
4232
],
4233
dynamic_size: false,
4234
modules_pathname: modules_pathname,
4235
reference_name: 'windows/patchupdllinject/find_tag'
4236
end
4237
4238
context 'windows/patchupdllinject/reverse_ipv6_tcp' do
4239
it_should_behave_like 'payload cached size is consistent',
4240
ancestor_reference_names: [
4241
'stagers/windows/reverse_ipv6_tcp',
4242
'stages/windows/patchupdllinject'
4243
],
4244
dynamic_size: false,
4245
modules_pathname: modules_pathname,
4246
reference_name: 'windows/patchupdllinject/reverse_ipv6_tcp'
4247
end
4248
4249
context 'windows/patchupdllinject/reverse_nonx_tcp' do
4250
it_should_behave_like 'payload cached size is consistent',
4251
ancestor_reference_names: [
4252
'stagers/windows/reverse_nonx_tcp',
4253
'stages/windows/patchupdllinject'
4254
],
4255
dynamic_size: false,
4256
modules_pathname: modules_pathname,
4257
reference_name: 'windows/patchupdllinject/reverse_nonx_tcp'
4258
end
4259
4260
context 'windows/patchupdllinject/reverse_ord_tcp' do
4261
it_should_behave_like 'payload cached size is consistent',
4262
ancestor_reference_names: [
4263
'stagers/windows/reverse_ord_tcp',
4264
'stages/windows/patchupdllinject'
4265
],
4266
dynamic_size: false,
4267
modules_pathname: modules_pathname,
4268
reference_name: 'windows/patchupdllinject/reverse_ord_tcp'
4269
end
4270
4271
context 'windows/patchupdllinject/reverse_tcp' do
4272
it_should_behave_like 'payload cached size is consistent',
4273
ancestor_reference_names: [
4274
'stagers/windows/reverse_tcp',
4275
'stages/windows/patchupdllinject'
4276
],
4277
dynamic_size: false,
4278
modules_pathname: modules_pathname,
4279
reference_name: 'windows/patchupdllinject/reverse_tcp'
4280
end
4281
4282
context 'windows/patchupdllinject/reverse_tcp_allports' do
4283
it_should_behave_like 'payload cached size is consistent',
4284
ancestor_reference_names: [
4285
'stagers/windows/reverse_tcp_allports',
4286
'stages/windows/patchupdllinject'
4287
],
4288
dynamic_size: false,
4289
modules_pathname: modules_pathname,
4290
reference_name: 'windows/patchupdllinject/reverse_tcp_allports'
4291
end
4292
4293
context 'windows/patchupdllinject/reverse_tcp_dns' do
4294
it_should_behave_like 'payload cached size is consistent',
4295
ancestor_reference_names: [
4296
'stagers/windows/reverse_tcp_dns',
4297
'stages/windows/patchupdllinject'
4298
],
4299
dynamic_size: false,
4300
modules_pathname: modules_pathname,
4301
reference_name: 'windows/patchupdllinject/reverse_tcp_dns'
4302
end
4303
4304
context 'windows/patchupdllinject/reverse_tcp_rc4' do
4305
it_should_behave_like 'payload cached size is consistent',
4306
ancestor_reference_names: [
4307
'stagers/windows/reverse_tcp_rc4',
4308
'stages/windows/patchupdllinject'
4309
],
4310
dynamic_size: false,
4311
modules_pathname: modules_pathname,
4312
reference_name: 'windows/patchupdllinject/reverse_tcp_rc4'
4313
end
4314
4315
context 'windows/patchupdllinject/reverse_tcp_rc4_dns' do
4316
it_should_behave_like 'payload cached size is consistent',
4317
ancestor_reference_names: [
4318
'stagers/windows/reverse_tcp_rc4_dns',
4319
'stages/windows/patchupdllinject'
4320
],
4321
dynamic_size: false,
4322
modules_pathname: modules_pathname,
4323
reference_name: 'windows/patchupdllinject/reverse_tcp_rc4_dns'
4324
end
4325
4326
context 'windows/patchupmeterpreter/bind_ipv6_tcp' do
4327
it_should_behave_like 'payload cached size is consistent',
4328
ancestor_reference_names: [
4329
'stagers/windows/bind_ipv6_tcp',
4330
'stages/windows/patchupmeterpreter'
4331
],
4332
dynamic_size: false,
4333
modules_pathname: modules_pathname,
4334
reference_name: 'windows/patchupmeterpreter/bind_ipv6_tcp'
4335
end
4336
4337
context 'windows/patchupmeterpreter/bind_named_pipe' do
4338
it_should_behave_like 'payload cached size is consistent',
4339
ancestor_reference_names: [
4340
'stagers/windows/bind_named_pipe',
4341
'stages/windows/patchupmeterpreter'
4342
],
4343
dynamic_size: false,
4344
modules_pathname: modules_pathname,
4345
reference_name: 'windows/patchupmeterpreter/bind_named_pipe'
4346
end
4347
4348
context 'windows/patchupmeterpreter/bind_nonx_tcp' do
4349
it_should_behave_like 'payload cached size is consistent',
4350
ancestor_reference_names: [
4351
'stagers/windows/bind_nonx_tcp',
4352
'stages/windows/patchupmeterpreter'
4353
],
4354
dynamic_size: false,
4355
modules_pathname: modules_pathname,
4356
reference_name: 'windows/patchupmeterpreter/bind_nonx_tcp'
4357
end
4358
4359
context 'windows/patchupmeterpreter/bind_tcp' do
4360
it_should_behave_like 'payload cached size is consistent',
4361
ancestor_reference_names: [
4362
'stagers/windows/bind_tcp',
4363
'stages/windows/patchupmeterpreter'
4364
],
4365
dynamic_size: false,
4366
modules_pathname: modules_pathname,
4367
reference_name: 'windows/patchupmeterpreter/bind_tcp'
4368
end
4369
4370
context 'windows/patchupmeterpreter/bind_tcp_rc4' do
4371
it_should_behave_like 'payload cached size is consistent',
4372
ancestor_reference_names: [
4373
'stagers/windows/bind_tcp_rc4',
4374
'stages/windows/patchupmeterpreter'
4375
],
4376
dynamic_size: false,
4377
modules_pathname: modules_pathname,
4378
reference_name: 'windows/patchupmeterpreter/bind_tcp_rc4'
4379
end
4380
4381
context 'windows/patchupmeterpreter/find_tag' do
4382
it_should_behave_like 'payload cached size is consistent',
4383
ancestor_reference_names: [
4384
'stagers/windows/findtag_ord',
4385
'stages/windows/patchupmeterpreter'
4386
],
4387
dynamic_size: false,
4388
modules_pathname: modules_pathname,
4389
reference_name: 'windows/patchupmeterpreter/find_tag'
4390
end
4391
4392
context 'windows/patchupmeterpreter/reverse_ipv6_tcp' do
4393
it_should_behave_like 'payload cached size is consistent',
4394
ancestor_reference_names: [
4395
'stagers/windows/reverse_ipv6_tcp',
4396
'stages/windows/patchupmeterpreter'
4397
],
4398
dynamic_size: false,
4399
modules_pathname: modules_pathname,
4400
reference_name: 'windows/patchupmeterpreter/reverse_ipv6_tcp'
4401
end
4402
4403
context 'windows/patchupmeterpreter/reverse_nonx_tcp' do
4404
it_should_behave_like 'payload cached size is consistent',
4405
ancestor_reference_names: [
4406
'stagers/windows/reverse_nonx_tcp',
4407
'stages/windows/patchupmeterpreter'
4408
],
4409
dynamic_size: false,
4410
modules_pathname: modules_pathname,
4411
reference_name: 'windows/patchupmeterpreter/reverse_nonx_tcp'
4412
end
4413
4414
context 'windows/patchupmeterpreter/reverse_ord_tcp' do
4415
it_should_behave_like 'payload cached size is consistent',
4416
ancestor_reference_names: [
4417
'stagers/windows/reverse_ord_tcp',
4418
'stages/windows/patchupmeterpreter'
4419
],
4420
dynamic_size: false,
4421
modules_pathname: modules_pathname,
4422
reference_name: 'windows/patchupmeterpreter/reverse_ord_tcp'
4423
end
4424
4425
context 'windows/patchupmeterpreter/reverse_tcp' do
4426
it_should_behave_like 'payload cached size is consistent',
4427
ancestor_reference_names: [
4428
'stagers/windows/reverse_tcp',
4429
'stages/windows/patchupmeterpreter'
4430
],
4431
dynamic_size: false,
4432
modules_pathname: modules_pathname,
4433
reference_name: 'windows/patchupmeterpreter/reverse_tcp'
4434
end
4435
4436
context 'windows/patchupmeterpreter/reverse_tcp_allports' do
4437
it_should_behave_like 'payload cached size is consistent',
4438
ancestor_reference_names: [
4439
'stagers/windows/reverse_tcp_allports',
4440
'stages/windows/patchupmeterpreter'
4441
],
4442
dynamic_size: false,
4443
modules_pathname: modules_pathname,
4444
reference_name: 'windows/patchupmeterpreter/reverse_tcp_allports'
4445
end
4446
4447
context 'windows/patchupmeterpreter/reverse_tcp_dns' do
4448
it_should_behave_like 'payload cached size is consistent',
4449
ancestor_reference_names: [
4450
'stagers/windows/reverse_tcp_dns',
4451
'stages/windows/patchupmeterpreter'
4452
],
4453
dynamic_size: false,
4454
modules_pathname: modules_pathname,
4455
reference_name: 'windows/patchupmeterpreter/reverse_tcp_dns'
4456
end
4457
4458
context 'windows/patchupmeterpreter/reverse_tcp_rc4' do
4459
it_should_behave_like 'payload cached size is consistent',
4460
ancestor_reference_names: [
4461
'stagers/windows/reverse_tcp_rc4',
4462
'stages/windows/patchupmeterpreter'
4463
],
4464
dynamic_size: false,
4465
modules_pathname: modules_pathname,
4466
reference_name: 'windows/patchupmeterpreter/reverse_tcp_rc4'
4467
end
4468
4469
context 'windows/patchupmeterpreter/reverse_tcp_rc4_dns' do
4470
it_should_behave_like 'payload cached size is consistent',
4471
ancestor_reference_names: [
4472
'stagers/windows/reverse_tcp_rc4_dns',
4473
'stages/windows/patchupmeterpreter'
4474
],
4475
dynamic_size: false,
4476
modules_pathname: modules_pathname,
4477
reference_name: 'windows/patchupmeterpreter/reverse_tcp_rc4_dns'
4478
end
4479
4480
context 'windows/peinject/bind_hidden_ipknock_tcp' do
4481
it_should_behave_like 'payload cached size is consistent',
4482
ancestor_reference_names: [
4483
'stagers/windows/bind_hidden_ipknock_tcp',
4484
'stages/windows/peinject'
4485
],
4486
dynamic_size: true,
4487
modules_pathname: modules_pathname,
4488
reference_name: 'windows/peinject/bind_hidden_ipknock_tcp'
4489
end
4490
4491
context 'windows/peinject/bind_hidden_tcp' do
4492
it_should_behave_like 'payload cached size is consistent',
4493
ancestor_reference_names: [
4494
'stagers/windows/bind_hidden_tcp',
4495
'stages/windows/peinject'
4496
],
4497
dynamic_size: true,
4498
modules_pathname: modules_pathname,
4499
reference_name: 'windows/peinject/bind_hidden_tcp'
4500
end
4501
4502
context 'windows/peinject/bind_ipv6_tcp' do
4503
it_should_behave_like 'payload cached size is consistent',
4504
ancestor_reference_names: [
4505
'stagers/windows/bind_ipv6_tcp',
4506
'stages/windows/peinject'
4507
],
4508
dynamic_size: true,
4509
modules_pathname: modules_pathname,
4510
reference_name: 'windows/peinject/bind_ipv6_tcp'
4511
end
4512
4513
context 'windows/peinject/bind_ipv6_tcp_uuid' do
4514
it_should_behave_like 'payload cached size is consistent',
4515
ancestor_reference_names: [
4516
'stagers/windows/bind_ipv6_tcp_uuid',
4517
'stages/windows/peinject'
4518
],
4519
dynamic_size: true,
4520
modules_pathname: modules_pathname,
4521
reference_name: 'windows/peinject/bind_ipv6_tcp_uuid'
4522
end
4523
4524
context 'windows/peinject/bind_named_pipe' do
4525
it_should_behave_like 'payload cached size is consistent',
4526
ancestor_reference_names: [
4527
'stagers/windows/bind_named_pipe',
4528
'stages/windows/peinject'
4529
],
4530
dynamic_size: true,
4531
modules_pathname: modules_pathname,
4532
reference_name: 'windows/peinject/bind_named_pipe'
4533
end
4534
4535
context 'windows/peinject/bind_nonx_tcp' do
4536
it_should_behave_like 'payload cached size is consistent',
4537
ancestor_reference_names: [
4538
'stagers/windows/bind_nonx_tcp',
4539
'stages/windows/peinject'
4540
],
4541
dynamic_size: true,
4542
modules_pathname: modules_pathname,
4543
reference_name: 'windows/peinject/bind_nonx_tcp'
4544
end
4545
4546
context 'windows/peinject/bind_tcp' do
4547
it_should_behave_like 'payload cached size is consistent',
4548
ancestor_reference_names: [
4549
'stagers/windows/bind_tcp',
4550
'stages/windows/peinject'
4551
],
4552
dynamic_size: true,
4553
modules_pathname: modules_pathname,
4554
reference_name: 'windows/peinject/bind_tcp'
4555
end
4556
4557
context 'windows/peinject/bind_tcp_rc4' do
4558
it_should_behave_like 'payload cached size is consistent',
4559
ancestor_reference_names: [
4560
'stagers/windows/bind_tcp_rc4',
4561
'stages/windows/peinject'
4562
],
4563
dynamic_size: true,
4564
modules_pathname: modules_pathname,
4565
reference_name: 'windows/peinject/bind_tcp_rc4'
4566
end
4567
4568
context 'windows/peinject/bind_tcp_uuid' do
4569
it_should_behave_like 'payload cached size is consistent',
4570
ancestor_reference_names: [
4571
'stagers/windows/bind_tcp_uuid',
4572
'stages/windows/peinject'
4573
],
4574
dynamic_size: true,
4575
modules_pathname: modules_pathname,
4576
reference_name: 'windows/peinject/bind_tcp_uuid'
4577
end
4578
4579
context 'windows/peinject/find_tag' do
4580
it_should_behave_like 'payload cached size is consistent',
4581
ancestor_reference_names: [
4582
'stagers/windows/findtag_ord',
4583
'stages/windows/peinject'
4584
],
4585
dynamic_size: true,
4586
modules_pathname: modules_pathname,
4587
reference_name: 'windows/peinject/find_tag'
4588
end
4589
4590
context 'windows/peinject/reverse_ipv6_tcp' do
4591
it_should_behave_like 'payload cached size is consistent',
4592
ancestor_reference_names: [
4593
'stagers/windows/reverse_ipv6_tcp',
4594
'stages/windows/peinject'
4595
],
4596
dynamic_size: true,
4597
modules_pathname: modules_pathname,
4598
reference_name: 'windows/peinject/reverse_ipv6_tcp'
4599
end
4600
4601
context 'windows/peinject/reverse_nonx_tcp' do
4602
it_should_behave_like 'payload cached size is consistent',
4603
ancestor_reference_names: [
4604
'stagers/windows/reverse_nonx_tcp',
4605
'stages/windows/peinject'
4606
],
4607
dynamic_size: true,
4608
modules_pathname: modules_pathname,
4609
reference_name: 'windows/peinject/reverse_nonx_tcp'
4610
end
4611
4612
context 'windows/peinject/reverse_ord_tcp' do
4613
it_should_behave_like 'payload cached size is consistent',
4614
ancestor_reference_names: [
4615
'stagers/windows/reverse_ord_tcp',
4616
'stages/windows/peinject'
4617
],
4618
dynamic_size: true,
4619
modules_pathname: modules_pathname,
4620
reference_name: 'windows/peinject/reverse_ord_tcp'
4621
end
4622
4623
context 'windows/peinject/reverse_tcp' do
4624
it_should_behave_like 'payload cached size is consistent',
4625
ancestor_reference_names: [
4626
'stagers/windows/reverse_tcp',
4627
'stages/windows/peinject'
4628
],
4629
dynamic_size: true,
4630
modules_pathname: modules_pathname,
4631
reference_name: 'windows/peinject/reverse_tcp'
4632
end
4633
4634
context 'windows/peinject/reverse_tcp_allports' do
4635
it_should_behave_like 'payload cached size is consistent',
4636
ancestor_reference_names: [
4637
'stagers/windows/reverse_tcp_allports',
4638
'stages/windows/peinject'
4639
],
4640
dynamic_size: true,
4641
modules_pathname: modules_pathname,
4642
reference_name: 'windows/peinject/reverse_tcp_allports'
4643
end
4644
4645
context 'windows/peinject/reverse_tcp_dns' do
4646
it_should_behave_like 'payload cached size is consistent',
4647
ancestor_reference_names: [
4648
'stagers/windows/reverse_tcp_dns',
4649
'stages/windows/peinject'
4650
],
4651
dynamic_size: true,
4652
modules_pathname: modules_pathname,
4653
reference_name: 'windows/peinject/reverse_tcp_dns'
4654
end
4655
4656
context 'windows/peinject/reverse_tcp_rc4' do
4657
it_should_behave_like 'payload cached size is consistent',
4658
ancestor_reference_names: [
4659
'stagers/windows/reverse_tcp_rc4',
4660
'stages/windows/peinject'
4661
],
4662
dynamic_size: true,
4663
modules_pathname: modules_pathname,
4664
reference_name: 'windows/peinject/reverse_tcp_rc4'
4665
end
4666
4667
context 'windows/peinject/reverse_tcp_rc4_dns' do
4668
it_should_behave_like 'payload cached size is consistent',
4669
ancestor_reference_names: [
4670
'stagers/windows/reverse_tcp_rc4_dns',
4671
'stages/windows/peinject'
4672
],
4673
dynamic_size: true,
4674
modules_pathname: modules_pathname,
4675
reference_name: 'windows/peinject/reverse_tcp_rc4_dns'
4676
end
4677
4678
context 'windows/peinject/reverse_tcp_uuid' do
4679
it_should_behave_like 'payload cached size is consistent',
4680
ancestor_reference_names: [
4681
'stagers/windows/reverse_tcp_uuid',
4682
'stages/windows/peinject'
4683
],
4684
dynamic_size: true,
4685
modules_pathname: modules_pathname,
4686
reference_name: 'windows/peinject/reverse_tcp_uuid'
4687
end
4688
4689
context 'windows/pingback_bind_tcp' do
4690
it_should_behave_like 'payload cached size is consistent',
4691
ancestor_reference_names: [
4692
'singles/windows/pingback_bind_tcp'
4693
],
4694
dynamic_size: false,
4695
modules_pathname: modules_pathname,
4696
reference_name: 'windows/pingback_bind_tcp'
4697
end
4698
4699
context 'windows/pingback_reverse_tcp' do
4700
it_should_behave_like 'payload cached size is consistent',
4701
ancestor_reference_names: [
4702
'singles/windows/pingback_reverse_tcp'
4703
],
4704
dynamic_size: false,
4705
modules_pathname: modules_pathname,
4706
reference_name: 'windows/pingback_reverse_tcp'
4707
end
4708
4709
context 'windows/shell/bind_ipv6_tcp' do
4710
it_should_behave_like 'payload cached size is consistent',
4711
ancestor_reference_names: [
4712
'stagers/windows/bind_ipv6_tcp',
4713
'stages/windows/shell'
4714
],
4715
dynamic_size: false,
4716
modules_pathname: modules_pathname,
4717
reference_name: 'windows/shell/bind_ipv6_tcp'
4718
end
4719
4720
context 'windows/shell/bind_named_pipe' do
4721
it_should_behave_like 'payload cached size is consistent',
4722
ancestor_reference_names: [
4723
'stagers/windows/bind_named_pipe',
4724
'stages/windows/shell'
4725
],
4726
dynamic_size: false,
4727
modules_pathname: modules_pathname,
4728
reference_name: 'windows/shell/bind_named_pipe'
4729
end
4730
4731
context 'windows/shell/bind_nonx_tcp' do
4732
it_should_behave_like 'payload cached size is consistent',
4733
ancestor_reference_names: [
4734
'stagers/windows/bind_nonx_tcp',
4735
'stages/windows/shell'
4736
],
4737
dynamic_size: false,
4738
modules_pathname: modules_pathname,
4739
reference_name: 'windows/shell/bind_nonx_tcp'
4740
end
4741
4742
context 'windows/shell/bind_tcp' do
4743
it_should_behave_like 'payload cached size is consistent',
4744
ancestor_reference_names: [
4745
'stagers/windows/bind_tcp',
4746
'stages/windows/shell'
4747
],
4748
dynamic_size: false,
4749
modules_pathname: modules_pathname,
4750
reference_name: 'windows/shell/bind_tcp'
4751
end
4752
4753
context 'windows/shell/bind_tcp_rc4' do
4754
it_should_behave_like 'payload cached size is consistent',
4755
ancestor_reference_names: [
4756
'stagers/windows/bind_tcp_rc4',
4757
'stages/windows/shell'
4758
],
4759
dynamic_size: false,
4760
modules_pathname: modules_pathname,
4761
reference_name: 'windows/shell/bind_tcp_rc4'
4762
end
4763
4764
context 'windows/shell/find_tag' do
4765
it_should_behave_like 'payload cached size is consistent',
4766
ancestor_reference_names: [
4767
'stagers/windows/findtag_ord',
4768
'stages/windows/shell'
4769
],
4770
dynamic_size: false,
4771
modules_pathname: modules_pathname,
4772
reference_name: 'windows/shell/find_tag'
4773
end
4774
4775
context 'windows/shell/reverse_ipv6_tcp' do
4776
it_should_behave_like 'payload cached size is consistent',
4777
ancestor_reference_names: [
4778
'stagers/windows/reverse_ipv6_tcp',
4779
'stages/windows/shell'
4780
],
4781
dynamic_size: false,
4782
modules_pathname: modules_pathname,
4783
reference_name: 'windows/shell/reverse_ipv6_tcp'
4784
end
4785
4786
context 'windows/shell/reverse_nonx_tcp' do
4787
it_should_behave_like 'payload cached size is consistent',
4788
ancestor_reference_names: [
4789
'stagers/windows/reverse_nonx_tcp',
4790
'stages/windows/shell'
4791
],
4792
dynamic_size: false,
4793
modules_pathname: modules_pathname,
4794
reference_name: 'windows/shell/reverse_nonx_tcp'
4795
end
4796
4797
context 'windows/shell/reverse_ord_tcp' do
4798
it_should_behave_like 'payload cached size is consistent',
4799
ancestor_reference_names: [
4800
'stagers/windows/reverse_ord_tcp',
4801
'stages/windows/shell'
4802
],
4803
dynamic_size: false,
4804
modules_pathname: modules_pathname,
4805
reference_name: 'windows/shell/reverse_ord_tcp'
4806
end
4807
4808
context 'windows/shell/reverse_tcp' do
4809
it_should_behave_like 'payload cached size is consistent',
4810
ancestor_reference_names: [
4811
'stagers/windows/reverse_tcp',
4812
'stages/windows/shell'
4813
],
4814
dynamic_size: false,
4815
modules_pathname: modules_pathname,
4816
reference_name: 'windows/shell/reverse_tcp'
4817
end
4818
4819
context 'windows/shell/reverse_tcp_allports' do
4820
it_should_behave_like 'payload cached size is consistent',
4821
ancestor_reference_names: [
4822
'stagers/windows/reverse_tcp_allports',
4823
'stages/windows/shell'
4824
],
4825
dynamic_size: false,
4826
modules_pathname: modules_pathname,
4827
reference_name: 'windows/shell/reverse_tcp_allports'
4828
end
4829
4830
context 'windows/shell/reverse_tcp_dns' do
4831
it_should_behave_like 'payload cached size is consistent',
4832
ancestor_reference_names: [
4833
'stagers/windows/reverse_tcp_dns',
4834
'stages/windows/shell'
4835
],
4836
dynamic_size: false,
4837
modules_pathname: modules_pathname,
4838
reference_name: 'windows/shell/reverse_tcp_dns'
4839
end
4840
4841
context 'windows/shell/reverse_tcp_rc4' do
4842
it_should_behave_like 'payload cached size is consistent',
4843
ancestor_reference_names: [
4844
'stagers/windows/reverse_tcp_rc4',
4845
'stages/windows/shell'
4846
],
4847
dynamic_size: false,
4848
modules_pathname: modules_pathname,
4849
reference_name: 'windows/shell/reverse_tcp_rc4'
4850
end
4851
4852
context 'windows/shell/reverse_tcp_rc4_dns' do
4853
it_should_behave_like 'payload cached size is consistent',
4854
ancestor_reference_names: [
4855
'stagers/windows/reverse_tcp_rc4_dns',
4856
'stages/windows/shell'
4857
],
4858
dynamic_size: false,
4859
modules_pathname: modules_pathname,
4860
reference_name: 'windows/shell/reverse_tcp_rc4_dns'
4861
end
4862
4863
context 'windows/shell/reverse_udp' do
4864
it_should_behave_like 'payload cached size is consistent',
4865
ancestor_reference_names: [
4866
'stagers/windows/reverse_udp',
4867
'stages/windows/shell'
4868
],
4869
dynamic_size: false,
4870
modules_pathname: modules_pathname,
4871
reference_name: 'windows/shell/reverse_udp'
4872
end
4873
4874
context 'windows/shell_bind_tcp' do
4875
it_should_behave_like 'payload cached size is consistent',
4876
ancestor_reference_names: [
4877
'singles/windows/shell_bind_tcp'
4878
],
4879
dynamic_size: false,
4880
modules_pathname: modules_pathname,
4881
reference_name: 'windows/shell_bind_tcp'
4882
end
4883
4884
context 'windows/shell_bind_tcp_xpfw' do
4885
it_should_behave_like 'payload cached size is consistent',
4886
ancestor_reference_names: [
4887
'singles/windows/shell_bind_tcp_xpfw'
4888
],
4889
dynamic_size: false,
4890
modules_pathname: modules_pathname,
4891
reference_name: 'windows/shell_bind_tcp_xpfw'
4892
end
4893
4894
context 'windows/shell_hidden_bind_tcp' do
4895
it_should_behave_like 'payload cached size is consistent',
4896
ancestor_reference_names: [
4897
'singles/windows/shell_hidden_bind_tcp'
4898
],
4899
dynamic_size: false,
4900
modules_pathname: modules_pathname,
4901
reference_name: 'windows/shell_hidden_bind_tcp'
4902
end
4903
4904
context 'windows/shell_reverse_tcp' do
4905
it_should_behave_like 'payload cached size is consistent',
4906
ancestor_reference_names: [
4907
'singles/windows/shell_reverse_tcp'
4908
],
4909
dynamic_size: false,
4910
modules_pathname: modules_pathname,
4911
reference_name: 'windows/shell_reverse_tcp'
4912
end
4913
4914
context 'windows/speak_pwned' do
4915
it_should_behave_like 'payload cached size is consistent',
4916
ancestor_reference_names: [
4917
'singles/windows/speak_pwned'
4918
],
4919
dynamic_size: false,
4920
modules_pathname: modules_pathname,
4921
reference_name: 'windows/speak_pwned'
4922
end
4923
4924
context 'windows/upexec/bind_ipv6_tcp' do
4925
it_should_behave_like 'payload cached size is consistent',
4926
ancestor_reference_names: [
4927
'stagers/windows/bind_ipv6_tcp',
4928
'stages/windows/upexec'
4929
],
4930
dynamic_size: false,
4931
modules_pathname: modules_pathname,
4932
reference_name: 'windows/upexec/bind_ipv6_tcp'
4933
end
4934
4935
context 'windows/upexec/bind_named_pipe' do
4936
it_should_behave_like 'payload cached size is consistent',
4937
ancestor_reference_names: [
4938
'stagers/windows/bind_named_pipe',
4939
'stages/windows/upexec'
4940
],
4941
dynamic_size: false,
4942
modules_pathname: modules_pathname,
4943
reference_name: 'windows/upexec/bind_named_pipe'
4944
end
4945
4946
context 'windows/upexec/bind_nonx_tcp' do
4947
it_should_behave_like 'payload cached size is consistent',
4948
ancestor_reference_names: [
4949
'stagers/windows/bind_nonx_tcp',
4950
'stages/windows/upexec'
4951
],
4952
dynamic_size: false,
4953
modules_pathname: modules_pathname,
4954
reference_name: 'windows/upexec/bind_nonx_tcp'
4955
end
4956
4957
context 'windows/upexec/bind_tcp' do
4958
it_should_behave_like 'payload cached size is consistent',
4959
ancestor_reference_names: [
4960
'stagers/windows/bind_tcp',
4961
'stages/windows/upexec'
4962
],
4963
dynamic_size: false,
4964
modules_pathname: modules_pathname,
4965
reference_name: 'windows/upexec/bind_tcp'
4966
end
4967
4968
context 'windows/upexec/bind_tcp_rc4' do
4969
it_should_behave_like 'payload cached size is consistent',
4970
ancestor_reference_names: [
4971
'stagers/windows/bind_tcp_rc4',
4972
'stages/windows/upexec'
4973
],
4974
dynamic_size: false,
4975
modules_pathname: modules_pathname,
4976
reference_name: 'windows/upexec/bind_tcp_rc4'
4977
end
4978
4979
context 'windows/upexec/find_tag' do
4980
it_should_behave_like 'payload cached size is consistent',
4981
ancestor_reference_names: [
4982
'stagers/windows/findtag_ord',
4983
'stages/windows/upexec'
4984
],
4985
dynamic_size: false,
4986
modules_pathname: modules_pathname,
4987
reference_name: 'windows/upexec/find_tag'
4988
end
4989
4990
context 'windows/upexec/reverse_ipv6_tcp' do
4991
it_should_behave_like 'payload cached size is consistent',
4992
ancestor_reference_names: [
4993
'stagers/windows/reverse_ipv6_tcp',
4994
'stages/windows/upexec'
4995
],
4996
dynamic_size: false,
4997
modules_pathname: modules_pathname,
4998
reference_name: 'windows/upexec/reverse_ipv6_tcp'
4999
end
5000
5001
context 'windows/upexec/reverse_nonx_tcp' do
5002
it_should_behave_like 'payload cached size is consistent',
5003
ancestor_reference_names: [
5004
'stagers/windows/reverse_nonx_tcp',
5005
'stages/windows/upexec'
5006
],
5007
dynamic_size: false,
5008
modules_pathname: modules_pathname,
5009
reference_name: 'windows/upexec/reverse_nonx_tcp'
5010
end
5011
5012
context 'windows/upexec/reverse_ord_tcp' do
5013
it_should_behave_like 'payload cached size is consistent',
5014
ancestor_reference_names: [
5015
'stagers/windows/reverse_ord_tcp',
5016
'stages/windows/upexec'
5017
],
5018
dynamic_size: false,
5019
modules_pathname: modules_pathname,
5020
reference_name: 'windows/upexec/reverse_ord_tcp'
5021
end
5022
5023
context 'windows/upexec/reverse_tcp' do
5024
it_should_behave_like 'payload cached size is consistent',
5025
ancestor_reference_names: [
5026
'stagers/windows/reverse_tcp',
5027
'stages/windows/upexec'
5028
],
5029
dynamic_size: false,
5030
modules_pathname: modules_pathname,
5031
reference_name: 'windows/upexec/reverse_tcp'
5032
end
5033
5034
context 'windows/upexec/reverse_tcp_allports' do
5035
it_should_behave_like 'payload cached size is consistent',
5036
ancestor_reference_names: [
5037
'stagers/windows/reverse_tcp_allports',
5038
'stages/windows/upexec'
5039
],
5040
dynamic_size: false,
5041
modules_pathname: modules_pathname,
5042
reference_name: 'windows/upexec/reverse_tcp_allports'
5043
end
5044
5045
context 'windows/upexec/reverse_tcp_dns' do
5046
it_should_behave_like 'payload cached size is consistent',
5047
ancestor_reference_names: [
5048
'stagers/windows/reverse_tcp_dns',
5049
'stages/windows/upexec'
5050
],
5051
dynamic_size: false,
5052
modules_pathname: modules_pathname,
5053
reference_name: 'windows/upexec/reverse_tcp_dns'
5054
end
5055
5056
context 'windows/upexec/reverse_tcp_rc4' do
5057
it_should_behave_like 'payload cached size is consistent',
5058
ancestor_reference_names: [
5059
'stagers/windows/reverse_tcp_rc4',
5060
'stages/windows/upexec'
5061
],
5062
dynamic_size: false,
5063
modules_pathname: modules_pathname,
5064
reference_name: 'windows/upexec/reverse_tcp_rc4'
5065
end
5066
5067
context 'windows/upexec/reverse_tcp_rc4_dns' do
5068
it_should_behave_like 'payload cached size is consistent',
5069
ancestor_reference_names: [
5070
'stagers/windows/reverse_tcp_rc4_dns',
5071
'stages/windows/upexec'
5072
],
5073
dynamic_size: false,
5074
modules_pathname: modules_pathname,
5075
reference_name: 'windows/upexec/reverse_tcp_rc4_dns'
5076
end
5077
5078
context 'windows/upexec/reverse_udp' do
5079
it_should_behave_like 'payload cached size is consistent',
5080
ancestor_reference_names: [
5081
'stagers/windows/reverse_udp',
5082
'stages/windows/upexec'
5083
],
5084
dynamic_size: false,
5085
modules_pathname: modules_pathname,
5086
reference_name: 'windows/upexec/reverse_udp'
5087
end
5088
5089
context 'windows/vncinject/bind_ipv6_tcp' do
5090
it_should_behave_like 'payload cached size is consistent',
5091
ancestor_reference_names: [
5092
'stagers/windows/bind_ipv6_tcp',
5093
'stages/windows/vncinject'
5094
],
5095
dynamic_size: false,
5096
modules_pathname: modules_pathname,
5097
reference_name: 'windows/vncinject/bind_ipv6_tcp'
5098
end
5099
5100
context 'windows/vncinject/bind_named_pipe' do
5101
it_should_behave_like 'payload cached size is consistent',
5102
ancestor_reference_names: [
5103
'stagers/windows/bind_named_pipe',
5104
'stages/windows/vncinject'
5105
],
5106
dynamic_size: false,
5107
modules_pathname: modules_pathname,
5108
reference_name: 'windows/vncinject/bind_named_pipe'
5109
end
5110
5111
context 'windows/vncinject/bind_nonx_tcp' do
5112
it_should_behave_like 'payload cached size is consistent',
5113
ancestor_reference_names: [
5114
'stagers/windows/bind_nonx_tcp',
5115
'stages/windows/vncinject'
5116
],
5117
dynamic_size: false,
5118
modules_pathname: modules_pathname,
5119
reference_name: 'windows/vncinject/bind_nonx_tcp'
5120
end
5121
5122
context 'windows/vncinject/bind_tcp' do
5123
it_should_behave_like 'payload cached size is consistent',
5124
ancestor_reference_names: [
5125
'stagers/windows/bind_tcp',
5126
'stages/windows/vncinject'
5127
],
5128
dynamic_size: false,
5129
modules_pathname: modules_pathname,
5130
reference_name: 'windows/vncinject/bind_tcp'
5131
end
5132
5133
context 'windows/vncinject/bind_tcp_rc4' do
5134
it_should_behave_like 'payload cached size is consistent',
5135
ancestor_reference_names: [
5136
'stagers/windows/bind_tcp_rc4',
5137
'stages/windows/vncinject'
5138
],
5139
dynamic_size: false,
5140
modules_pathname: modules_pathname,
5141
reference_name: 'windows/vncinject/bind_tcp_rc4'
5142
end
5143
5144
context 'windows/vncinject/find_tag' do
5145
it_should_behave_like 'payload cached size is consistent',
5146
ancestor_reference_names: [
5147
'stagers/windows/findtag_ord',
5148
'stages/windows/vncinject'
5149
],
5150
dynamic_size: false,
5151
modules_pathname: modules_pathname,
5152
reference_name: 'windows/vncinject/find_tag'
5153
end
5154
5155
context 'windows/vncinject/reverse_ipv6_tcp' do
5156
it_should_behave_like 'payload cached size is consistent',
5157
ancestor_reference_names: [
5158
'stagers/windows/reverse_ipv6_tcp',
5159
'stages/windows/vncinject'
5160
],
5161
dynamic_size: false,
5162
modules_pathname: modules_pathname,
5163
reference_name: 'windows/vncinject/reverse_ipv6_tcp'
5164
end
5165
5166
context 'windows/vncinject/reverse_nonx_tcp' do
5167
it_should_behave_like 'payload cached size is consistent',
5168
ancestor_reference_names: [
5169
'stagers/windows/reverse_nonx_tcp',
5170
'stages/windows/vncinject'
5171
],
5172
dynamic_size: false,
5173
modules_pathname: modules_pathname,
5174
reference_name: 'windows/vncinject/reverse_nonx_tcp'
5175
end
5176
5177
context 'windows/vncinject/reverse_ord_tcp' do
5178
it_should_behave_like 'payload cached size is consistent',
5179
ancestor_reference_names: [
5180
'stagers/windows/reverse_ord_tcp',
5181
'stages/windows/vncinject'
5182
],
5183
dynamic_size: false,
5184
modules_pathname: modules_pathname,
5185
reference_name: 'windows/vncinject/reverse_ord_tcp'
5186
end
5187
5188
context 'windows/vncinject/reverse_tcp' do
5189
it_should_behave_like 'payload cached size is consistent',
5190
ancestor_reference_names: [
5191
'stagers/windows/reverse_tcp',
5192
'stages/windows/vncinject'
5193
],
5194
dynamic_size: false,
5195
modules_pathname: modules_pathname,
5196
reference_name: 'windows/vncinject/reverse_tcp'
5197
end
5198
5199
context 'windows/vncinject/reverse_tcp_allports' do
5200
it_should_behave_like 'payload cached size is consistent',
5201
ancestor_reference_names: [
5202
'stagers/windows/reverse_tcp_allports',
5203
'stages/windows/vncinject'
5204
],
5205
dynamic_size: false,
5206
modules_pathname: modules_pathname,
5207
reference_name: 'windows/vncinject/reverse_tcp_allports'
5208
end
5209
5210
context 'windows/vncinject/reverse_tcp_dns' do
5211
it_should_behave_like 'payload cached size is consistent',
5212
ancestor_reference_names: [
5213
'stagers/windows/reverse_tcp_dns',
5214
'stages/windows/vncinject'
5215
],
5216
dynamic_size: false,
5217
modules_pathname: modules_pathname,
5218
reference_name: 'windows/vncinject/reverse_tcp_dns'
5219
end
5220
5221
context 'windows/vncinject/reverse_tcp_rc4' do
5222
it_should_behave_like 'payload cached size is consistent',
5223
ancestor_reference_names: [
5224
'stagers/windows/reverse_tcp_rc4',
5225
'stages/windows/vncinject'
5226
],
5227
dynamic_size: false,
5228
modules_pathname: modules_pathname,
5229
reference_name: 'windows/vncinject/reverse_tcp_rc4'
5230
end
5231
5232
context 'windows/vncinject/reverse_tcp_rc4_dns' do
5233
it_should_behave_like 'payload cached size is consistent',
5234
ancestor_reference_names: [
5235
'stagers/windows/reverse_tcp_rc4_dns',
5236
'stages/windows/vncinject'
5237
],
5238
dynamic_size: false,
5239
modules_pathname: modules_pathname,
5240
reference_name: 'windows/vncinject/reverse_tcp_rc4_dns'
5241
end
5242
5243
context 'windows/aarch64/exec' do
5244
it_should_behave_like 'payload cached size is consistent',
5245
ancestor_reference_names: [
5246
'singles/windows/aarch64/exec'
5247
],
5248
dynamic_size: false,
5249
modules_pathname: modules_pathname,
5250
reference_name: 'windows/aarch64/exec'
5251
end
5252
5253
context 'windows/x64/download_exec' do
5254
it_should_behave_like 'payload cached size is consistent',
5255
ancestor_reference_names: [
5256
'singles/windows/x64/download_exec'
5257
],
5258
dynamic_size: false,
5259
modules_pathname: modules_pathname,
5260
reference_name: 'windows/x64/download_exec'
5261
end
5262
5263
context 'windows/x64/custom/bind_ipv6_tcp' do
5264
it_should_behave_like 'payload is not cached',
5265
ancestor_reference_names: [
5266
'stagers/windows/x64/bind_ipv6_tcp',
5267
'stages/windows/x64/custom'
5268
],
5269
reference_name: 'windows/x64/custom/bind_ipv6_tcp'
5270
end
5271
5272
context 'windows/x64/custom/bind_ipv6_tcp_uuid' do
5273
it_should_behave_like 'payload is not cached',
5274
ancestor_reference_names: [
5275
'stagers/windows/x64/bind_ipv6_tcp_uuid',
5276
'stages/windows/x64/custom'
5277
],
5278
reference_name: 'windows/x64/custom/bind_ipv6_tcp_uuid'
5279
end
5280
5281
context 'windows/x64/custom/bind_named_pipe' do
5282
it_should_behave_like 'payload is not cached',
5283
ancestor_reference_names: [
5284
'stagers/windows/x64/bind_named_pipe',
5285
'stages/windows/x64/custom'
5286
],
5287
reference_name: 'windows/x64/custom/bind_named_pipe'
5288
end
5289
5290
context 'windows/x64/custom/bind_tcp' do
5291
it_should_behave_like 'payload is not cached',
5292
ancestor_reference_names: [
5293
'stagers/windows/x64/bind_tcp',
5294
'stages/windows/x64/custom'
5295
],
5296
reference_name: 'windows/x64/custom/bind_tcp'
5297
end
5298
5299
context 'windows/x64/custom/bind_tcp_rc4' do
5300
it_should_behave_like 'payload is not cached',
5301
ancestor_reference_names: [
5302
'stagers/windows/x64/bind_tcp_rc4',
5303
'stages/windows/x64/custom'
5304
],
5305
reference_name: 'windows/x64/custom/bind_tcp_rc4'
5306
end
5307
5308
context 'windows/x64/custom/bind_tcp_uuid' do
5309
it_should_behave_like 'payload is not cached',
5310
ancestor_reference_names: [
5311
'stagers/windows/x64/bind_tcp_uuid',
5312
'stages/windows/x64/custom'
5313
],
5314
reference_name: 'windows/x64/custom/bind_tcp_uuid'
5315
end
5316
5317
context 'windows/x64/custom/reverse_http' do
5318
it_should_behave_like 'payload is not cached',
5319
ancestor_reference_names: [
5320
'stagers/windows/x64/reverse_http',
5321
'stages/windows/x64/custom'
5322
],
5323
reference_name: 'windows/x64/custom/reverse_http'
5324
end
5325
5326
context 'windows/x64/custom/reverse_https' do
5327
it_should_behave_like 'payload is not cached',
5328
ancestor_reference_names: [
5329
'stagers/windows/x64/reverse_https',
5330
'stages/windows/x64/custom'
5331
],
5332
reference_name: 'windows/x64/custom/reverse_https'
5333
end
5334
5335
context 'windows/x64/custom/reverse_named_pipe' do
5336
it_should_behave_like 'payload is not cached',
5337
ancestor_reference_names: [
5338
'stagers/windows/x64/reverse_named_pipe',
5339
'stages/windows/x64/custom'
5340
],
5341
reference_name: 'windows/x64/custom/reverse_named_pipe'
5342
end
5343
5344
context 'windows/x64/custom/reverse_tcp' do
5345
it_should_behave_like 'payload is not cached',
5346
ancestor_reference_names: [
5347
'stagers/windows/x64/reverse_tcp',
5348
'stages/windows/x64/custom'
5349
],
5350
reference_name: 'windows/x64/custom/reverse_tcp'
5351
end
5352
5353
context 'windows/x64/custom/reverse_tcp_rc4' do
5354
it_should_behave_like 'payload is not cached',
5355
ancestor_reference_names: [
5356
'stagers/windows/x64/reverse_tcp_rc4',
5357
'stages/windows/x64/custom'
5358
],
5359
reference_name: 'windows/x64/custom/reverse_tcp_rc4'
5360
end
5361
5362
context 'windows/x64/custom/reverse_tcp_uuid' do
5363
it_should_behave_like 'payload is not cached',
5364
ancestor_reference_names: [
5365
'stagers/windows/x64/reverse_tcp_uuid',
5366
'stages/windows/x64/custom'
5367
],
5368
reference_name: 'windows/x64/custom/reverse_tcp_uuid'
5369
end
5370
5371
context 'windows/x64/custom/reverse_winhttp' do
5372
it_should_behave_like 'payload is not cached',
5373
ancestor_reference_names: [
5374
'stagers/windows/x64/reverse_winhttp',
5375
'stages/windows/x64/custom'
5376
],
5377
reference_name: 'windows/x64/custom/reverse_winhttp'
5378
end
5379
5380
context 'windows/x64/custom/reverse_winhttps' do
5381
it_should_behave_like 'payload is not cached',
5382
ancestor_reference_names: [
5383
'stagers/windows/x64/reverse_winhttps',
5384
'stages/windows/x64/custom'
5385
],
5386
reference_name: 'windows/x64/custom/reverse_winhttps'
5387
end
5388
5389
context 'windows/x64/encrypted_shell/reverse_tcp' do
5390
it_should_behave_like 'payload is not cached',
5391
ancestor_reference_names: [
5392
'stagers/windows/x64/encrypted_reverse_tcp',
5393
'stages/windows/x64/encrypted_shell'
5394
],
5395
reference_name: 'windows/x64/encrypted_shell/reverse_tcp'
5396
end
5397
5398
context 'windows/x64/encrypted_shell_reverse_tcp' do
5399
it_should_behave_like 'payload is not cached',
5400
ancestor_reference_names: [
5401
'singles/windows/x64/encrypted_shell_reverse_tcp'
5402
],
5403
reference_name: 'windows/x64/encrypted_shell_reverse_tcp'
5404
end
5405
5406
context 'windows/x64/exec' do
5407
it_should_behave_like 'payload cached size is consistent',
5408
ancestor_reference_names: [
5409
'singles/windows/x64/exec'
5410
],
5411
dynamic_size: false,
5412
modules_pathname: modules_pathname,
5413
reference_name: 'windows/x64/exec'
5414
end
5415
5416
context 'windows/x64/loadlibrary' do
5417
it_should_behave_like 'payload cached size is consistent',
5418
ancestor_reference_names: [
5419
'singles/windows/x64/loadlibrary'
5420
],
5421
dynamic_size: false,
5422
modules_pathname: modules_pathname,
5423
reference_name: 'windows/x64/loadlibrary'
5424
end
5425
5426
context 'windows/x64/messagebox' do
5427
it_should_behave_like 'payload cached size is consistent',
5428
ancestor_reference_names: [
5429
'singles/windows/x64/messagebox'
5430
],
5431
dynamic_size: false,
5432
modules_pathname: modules_pathname,
5433
reference_name: 'windows/x64/messagebox'
5434
end
5435
5436
context 'windows/x64/meterpreter/bind_ipv6_tcp' do
5437
it_should_behave_like 'payload cached size is consistent',
5438
ancestor_reference_names: [
5439
'stagers/windows/x64/bind_ipv6_tcp',
5440
'stages/windows/x64/meterpreter'
5441
],
5442
dynamic_size: false,
5443
modules_pathname: modules_pathname,
5444
reference_name: 'windows/x64/meterpreter/bind_ipv6_tcp'
5445
end
5446
5447
context 'windows/x64/meterpreter/bind_ipv6_tcp_uuid' do
5448
it_should_behave_like 'payload cached size is consistent',
5449
ancestor_reference_names: [
5450
'stagers/windows/x64/bind_ipv6_tcp_uuid',
5451
'stages/windows/x64/meterpreter'
5452
],
5453
dynamic_size: false,
5454
modules_pathname: modules_pathname,
5455
reference_name: 'windows/x64/meterpreter/bind_ipv6_tcp_uuid'
5456
end
5457
5458
context 'windows/x64/meterpreter/bind_named_pipe' do
5459
it_should_behave_like 'payload cached size is consistent',
5460
ancestor_reference_names: [
5461
'stagers/windows/x64/bind_named_pipe',
5462
'stages/windows/x64/meterpreter'
5463
],
5464
dynamic_size: false,
5465
modules_pathname: modules_pathname,
5466
reference_name: 'windows/x64/meterpreter/bind_named_pipe'
5467
end
5468
5469
context 'windows/x64/meterpreter/bind_tcp' do
5470
it_should_behave_like 'payload cached size is consistent',
5471
ancestor_reference_names: [
5472
'stagers/windows/x64/bind_tcp',
5473
'stages/windows/x64/meterpreter'
5474
],
5475
dynamic_size: false,
5476
modules_pathname: modules_pathname,
5477
reference_name: 'windows/x64/meterpreter/bind_tcp'
5478
end
5479
5480
context 'windows/x64/meterpreter/bind_tcp_rc4' do
5481
it_should_behave_like 'payload cached size is consistent',
5482
ancestor_reference_names: [
5483
'stagers/windows/x64/bind_tcp_rc4',
5484
'stages/windows/x64/meterpreter'
5485
],
5486
dynamic_size: false,
5487
modules_pathname: modules_pathname,
5488
reference_name: 'windows/x64/meterpreter/bind_tcp_rc4'
5489
end
5490
5491
context 'windows/x64/meterpreter/bind_tcp_uuid' do
5492
it_should_behave_like 'payload cached size is consistent',
5493
ancestor_reference_names: [
5494
'stagers/windows/x64/bind_tcp_uuid',
5495
'stages/windows/x64/meterpreter'
5496
],
5497
dynamic_size: false,
5498
modules_pathname: modules_pathname,
5499
reference_name: 'windows/x64/meterpreter/bind_tcp_uuid'
5500
end
5501
5502
context 'windows/x64/meterpreter/reverse_http' do
5503
it_should_behave_like 'payload cached size is consistent',
5504
ancestor_reference_names: [
5505
'stagers/windows/x64/reverse_http',
5506
'stages/windows/x64/meterpreter'
5507
],
5508
dynamic_size: false,
5509
modules_pathname: modules_pathname,
5510
reference_name: 'windows/x64/meterpreter/reverse_http'
5511
end
5512
5513
context 'windows/x64/meterpreter/reverse_https' do
5514
it_should_behave_like 'payload cached size is consistent',
5515
ancestor_reference_names: [
5516
'stagers/windows/x64/reverse_https',
5517
'stages/windows/x64/meterpreter'
5518
],
5519
dynamic_size: false,
5520
modules_pathname: modules_pathname,
5521
reference_name: 'windows/x64/meterpreter/reverse_https'
5522
end
5523
5524
context 'windows/x64/meterpreter/reverse_named_pipe' do
5525
it_should_behave_like 'payload cached size is consistent',
5526
ancestor_reference_names: [
5527
'stagers/windows/x64/reverse_named_pipe',
5528
'stages/windows/x64/meterpreter'
5529
],
5530
dynamic_size: false,
5531
modules_pathname: modules_pathname,
5532
reference_name: 'windows/x64/meterpreter/reverse_named_pipe'
5533
end
5534
5535
context 'windows/x64/meterpreter/reverse_tcp' do
5536
it_should_behave_like 'payload cached size is consistent',
5537
ancestor_reference_names: [
5538
'stagers/windows/x64/reverse_tcp',
5539
'stages/windows/x64/meterpreter'
5540
],
5541
dynamic_size: false,
5542
modules_pathname: modules_pathname,
5543
reference_name: 'windows/x64/meterpreter/reverse_tcp'
5544
end
5545
5546
context 'windows/x64/meterpreter/reverse_tcp_rc4' do
5547
it_should_behave_like 'payload cached size is consistent',
5548
ancestor_reference_names: [
5549
'stagers/windows/x64/reverse_tcp_rc4',
5550
'stages/windows/x64/meterpreter'
5551
],
5552
dynamic_size: false,
5553
modules_pathname: modules_pathname,
5554
reference_name: 'windows/x64/meterpreter/reverse_tcp_rc4'
5555
end
5556
5557
context 'windows/x64/meterpreter/reverse_tcp_uuid' do
5558
it_should_behave_like 'payload cached size is consistent',
5559
ancestor_reference_names: [
5560
'stagers/windows/x64/reverse_tcp_uuid',
5561
'stages/windows/x64/meterpreter'
5562
],
5563
dynamic_size: false,
5564
modules_pathname: modules_pathname,
5565
reference_name: 'windows/x64/meterpreter/reverse_tcp_uuid'
5566
end
5567
5568
context 'windows/x64/meterpreter/reverse_winhttp' do
5569
it_should_behave_like 'payload cached size is consistent',
5570
ancestor_reference_names: [
5571
'stagers/windows/x64/reverse_winhttp',
5572
'stages/windows/x64/meterpreter'
5573
],
5574
dynamic_size: false,
5575
modules_pathname: modules_pathname,
5576
reference_name: 'windows/x64/meterpreter/reverse_winhttp'
5577
end
5578
5579
context 'windows/x64/meterpreter/reverse_winhttps' do
5580
it_should_behave_like 'payload cached size is consistent',
5581
ancestor_reference_names: [
5582
'stagers/windows/x64/reverse_winhttps',
5583
'stages/windows/x64/meterpreter'
5584
],
5585
dynamic_size: false,
5586
modules_pathname: modules_pathname,
5587
reference_name: 'windows/x64/meterpreter/reverse_winhttps'
5588
end
5589
5590
context 'windows/x64/meterpreter_bind_named_pipe' do
5591
it_should_behave_like 'payload cached size is consistent',
5592
ancestor_reference_names: [
5593
'singles/windows/x64/meterpreter_bind_named_pipe'
5594
],
5595
dynamic_size: false,
5596
modules_pathname: modules_pathname,
5597
reference_name: 'windows/x64/meterpreter_bind_named_pipe'
5598
end
5599
5600
context 'windows/x64/meterpreter_bind_tcp' do
5601
it_should_behave_like 'payload cached size is consistent',
5602
ancestor_reference_names: [
5603
'singles/windows/x64/meterpreter_bind_tcp'
5604
],
5605
dynamic_size: false,
5606
modules_pathname: modules_pathname,
5607
reference_name: 'windows/x64/meterpreter_bind_tcp'
5608
end
5609
5610
context 'windows/x64/meterpreter_reverse_http' do
5611
it_should_behave_like 'payload cached size is consistent',
5612
ancestor_reference_names: [
5613
'singles/windows/x64/meterpreter_reverse_http'
5614
],
5615
dynamic_size: false,
5616
modules_pathname: modules_pathname,
5617
reference_name: 'windows/x64/meterpreter_reverse_http'
5618
end
5619
5620
context 'windows/x64/meterpreter_reverse_https' do
5621
it_should_behave_like 'payload cached size is consistent',
5622
ancestor_reference_names: [
5623
'singles/windows/x64/meterpreter_reverse_https'
5624
],
5625
dynamic_size: false,
5626
modules_pathname: modules_pathname,
5627
reference_name: 'windows/x64/meterpreter_reverse_https'
5628
end
5629
5630
context 'windows/x64/meterpreter_reverse_ipv6_tcp' do
5631
it_should_behave_like 'payload cached size is consistent',
5632
ancestor_reference_names: [
5633
'singles/windows/x64/meterpreter_reverse_ipv6_tcp'
5634
],
5635
dynamic_size: false,
5636
modules_pathname: modules_pathname,
5637
reference_name: 'windows/x64/meterpreter_reverse_ipv6_tcp'
5638
end
5639
5640
context 'windows/x64/meterpreter_reverse_tcp' do
5641
it_should_behave_like 'payload cached size is consistent',
5642
ancestor_reference_names: [
5643
'singles/windows/x64/meterpreter_reverse_tcp'
5644
],
5645
dynamic_size: false,
5646
modules_pathname: modules_pathname,
5647
reference_name: 'windows/x64/meterpreter_reverse_tcp'
5648
end
5649
5650
context 'windows/x64/peinject/bind_ipv6_tcp' do
5651
it_should_behave_like 'payload cached size is consistent',
5652
ancestor_reference_names: [
5653
'stagers/windows/x64/bind_ipv6_tcp',
5654
'stages/windows/x64/peinject'
5655
],
5656
dynamic_size: true,
5657
modules_pathname: modules_pathname,
5658
reference_name: 'windows/x64/peinject/bind_ipv6_tcp'
5659
end
5660
5661
context 'windows/x64/peinject/bind_ipv6_tcp_uuid' do
5662
it_should_behave_like 'payload cached size is consistent',
5663
ancestor_reference_names: [
5664
'stagers/windows/x64/bind_ipv6_tcp_uuid',
5665
'stages/windows/x64/peinject'
5666
],
5667
dynamic_size: true,
5668
modules_pathname: modules_pathname,
5669
reference_name: 'windows/x64/peinject/bind_ipv6_tcp_uuid'
5670
end
5671
5672
context 'windows/x64/peinject/bind_named_pipe' do
5673
it_should_behave_like 'payload cached size is consistent',
5674
ancestor_reference_names: [
5675
'stagers/windows/x64/bind_named_pipe',
5676
'stages/windows/x64/peinject'
5677
],
5678
dynamic_size: true,
5679
modules_pathname: modules_pathname,
5680
reference_name: 'windows/x64/peinject/bind_named_pipe'
5681
end
5682
5683
context 'windows/x64/peinject/bind_tcp' do
5684
it_should_behave_like 'payload cached size is consistent',
5685
ancestor_reference_names: [
5686
'stagers/windows/x64/bind_tcp',
5687
'stages/windows/x64/peinject'
5688
],
5689
dynamic_size: true,
5690
modules_pathname: modules_pathname,
5691
reference_name: 'windows/x64/peinject/bind_tcp'
5692
end
5693
5694
context 'windows/x64/peinject/bind_tcp_rc4' do
5695
it_should_behave_like 'payload cached size is consistent',
5696
ancestor_reference_names: [
5697
'stagers/windows/x64/bind_tcp_rc4',
5698
'stages/windows/x64/peinject'
5699
],
5700
dynamic_size: true,
5701
modules_pathname: modules_pathname,
5702
reference_name: 'windows/x64/peinject/bind_tcp_rc4'
5703
end
5704
5705
context 'windows/x64/peinject/bind_tcp_uuid' do
5706
it_should_behave_like 'payload cached size is consistent',
5707
ancestor_reference_names: [
5708
'stagers/windows/x64/bind_tcp_uuid',
5709
'stages/windows/x64/peinject'
5710
],
5711
dynamic_size: true,
5712
modules_pathname: modules_pathname,
5713
reference_name: 'windows/x64/peinject/bind_tcp_uuid'
5714
end
5715
5716
context 'windows/x64/peinject/reverse_named_pipe' do
5717
it_should_behave_like 'payload cached size is consistent',
5718
ancestor_reference_names: [
5719
'stagers/windows/x64/reverse_named_pipe',
5720
'stages/windows/x64/peinject'
5721
],
5722
dynamic_size: true,
5723
modules_pathname: modules_pathname,
5724
reference_name: 'windows/x64/peinject/reverse_named_pipe'
5725
end
5726
5727
context 'windows/x64/peinject/reverse_tcp' do
5728
it_should_behave_like 'payload cached size is consistent',
5729
ancestor_reference_names: [
5730
'stagers/windows/x64/reverse_tcp',
5731
'stages/windows/x64/peinject'
5732
],
5733
dynamic_size: true,
5734
modules_pathname: modules_pathname,
5735
reference_name: 'windows/x64/peinject/reverse_tcp'
5736
end
5737
5738
context 'windows/x64/peinject/reverse_tcp_rc4' do
5739
it_should_behave_like 'payload cached size is consistent',
5740
ancestor_reference_names: [
5741
'stagers/windows/x64/reverse_tcp_rc4',
5742
'stages/windows/x64/peinject'
5743
],
5744
dynamic_size: true,
5745
modules_pathname: modules_pathname,
5746
reference_name: 'windows/x64/peinject/reverse_tcp_rc4'
5747
end
5748
5749
context 'windows/x64/peinject/reverse_tcp_uuid' do
5750
it_should_behave_like 'payload cached size is consistent',
5751
ancestor_reference_names: [
5752
'stagers/windows/x64/reverse_tcp_uuid',
5753
'stages/windows/x64/peinject'
5754
],
5755
dynamic_size: true,
5756
modules_pathname: modules_pathname,
5757
reference_name: 'windows/x64/peinject/reverse_tcp_uuid'
5758
end
5759
5760
context 'windows/x64/powershell_bind_tcp' do
5761
it_should_behave_like 'payload cached size is consistent',
5762
ancestor_reference_names: [
5763
'singles/windows/x64/powershell_bind_tcp'
5764
],
5765
dynamic_size: true,
5766
modules_pathname: modules_pathname,
5767
reference_name: 'windows/x64/powershell_bind_tcp'
5768
end
5769
5770
context 'windows/x64/powershell_reverse_tcp' do
5771
it_should_behave_like 'payload cached size is consistent',
5772
ancestor_reference_names: [
5773
'singles/windows/x64/powershell_reverse_tcp'
5774
],
5775
dynamic_size: true,
5776
modules_pathname: modules_pathname,
5777
reference_name: 'windows/x64/powershell_reverse_tcp'
5778
end
5779
5780
context 'windows/x64/powershell_reverse_tcp_ssl' do
5781
it_should_behave_like 'payload cached size is consistent',
5782
ancestor_reference_names: [
5783
'singles/windows/x64/powershell_reverse_tcp_ssl'
5784
],
5785
dynamic_size: true,
5786
modules_pathname: modules_pathname,
5787
reference_name: 'windows/x64/powershell_reverse_tcp_ssl'
5788
end
5789
5790
context 'windows/x64/pingback_reverse_tcp' do
5791
it_should_behave_like 'payload cached size is consistent',
5792
ancestor_reference_names: [
5793
'singles/windows/x64/pingback_reverse_tcp'
5794
],
5795
dynamic_size: false,
5796
modules_pathname: modules_pathname,
5797
reference_name: 'windows/x64/pingback_reverse_tcp'
5798
end
5799
5800
context 'windows/x64/shell/bind_named_pipe' do
5801
it_should_behave_like 'payload cached size is consistent',
5802
ancestor_reference_names: [
5803
'stagers/windows/x64/bind_named_pipe',
5804
'stages/windows/x64/shell'
5805
],
5806
dynamic_size: false,
5807
modules_pathname: modules_pathname,
5808
reference_name: 'windows/x64/shell/bind_named_pipe'
5809
end
5810
5811
context 'windows/x64/shell/bind_tcp' do
5812
it_should_behave_like 'payload cached size is consistent',
5813
ancestor_reference_names: [
5814
'stagers/windows/x64/bind_tcp',
5815
'stages/windows/x64/shell'
5816
],
5817
dynamic_size: false,
5818
modules_pathname: modules_pathname,
5819
reference_name: 'windows/x64/shell/bind_tcp'
5820
end
5821
5822
context 'windows/x64/shell/bind_tcp_rc4' do
5823
it_should_behave_like 'payload cached size is consistent',
5824
ancestor_reference_names: [
5825
'stagers/windows/x64/bind_tcp_rc4',
5826
'stages/windows/x64/shell'
5827
],
5828
dynamic_size: false,
5829
modules_pathname: modules_pathname,
5830
reference_name: 'windows/x64/shell/bind_tcp_rc4'
5831
end
5832
5833
context 'windows/x64/shell/reverse_tcp' do
5834
it_should_behave_like 'payload cached size is consistent',
5835
ancestor_reference_names: [
5836
'stagers/windows/x64/reverse_tcp',
5837
'stages/windows/x64/shell'
5838
],
5839
dynamic_size: false,
5840
modules_pathname: modules_pathname,
5841
reference_name: 'windows/x64/shell/reverse_tcp'
5842
end
5843
5844
context 'windows/x64/shell/reverse_tcp_rc4' do
5845
it_should_behave_like 'payload cached size is consistent',
5846
ancestor_reference_names: [
5847
'stagers/windows/x64/reverse_tcp_rc4',
5848
'stages/windows/x64/shell'
5849
],
5850
dynamic_size: false,
5851
modules_pathname: modules_pathname,
5852
reference_name: 'windows/x64/shell/reverse_tcp_rc4'
5853
end
5854
5855
context 'windows/x64/shell_bind_tcp' do
5856
it_should_behave_like 'payload cached size is consistent',
5857
ancestor_reference_names: [
5858
'singles/windows/x64/shell_bind_tcp'
5859
],
5860
dynamic_size: false,
5861
modules_pathname: modules_pathname,
5862
reference_name: 'windows/x64/shell_bind_tcp'
5863
end
5864
5865
context 'windows/x64/shell_reverse_tcp' do
5866
it_should_behave_like 'payload cached size is consistent',
5867
ancestor_reference_names: [
5868
'singles/windows/x64/shell_reverse_tcp'
5869
],
5870
dynamic_size: false,
5871
modules_pathname: modules_pathname,
5872
reference_name: 'windows/x64/shell_reverse_tcp'
5873
end
5874
5875
context 'windows/x64/vncinject/bind_named_pipe' do
5876
it_should_behave_like 'payload cached size is consistent',
5877
ancestor_reference_names: [
5878
'stagers/windows/x64/bind_named_pipe',
5879
'stages/windows/x64/vncinject'
5880
],
5881
dynamic_size: false,
5882
modules_pathname: modules_pathname,
5883
reference_name: 'windows/x64/vncinject/bind_named_pipe'
5884
end
5885
5886
context 'windows/x64/vncinject/bind_tcp' do
5887
it_should_behave_like 'payload cached size is consistent',
5888
ancestor_reference_names: [
5889
'stagers/windows/x64/bind_tcp',
5890
'stages/windows/x64/vncinject'
5891
],
5892
dynamic_size: false,
5893
modules_pathname: modules_pathname,
5894
reference_name: 'windows/x64/vncinject/bind_tcp'
5895
end
5896
5897
context 'windows/x64/vncinject/bind_tcp_rc4' do
5898
it_should_behave_like 'payload cached size is consistent',
5899
ancestor_reference_names: [
5900
'stagers/windows/x64/bind_tcp_rc4',
5901
'stages/windows/x64/vncinject'
5902
],
5903
dynamic_size: false,
5904
modules_pathname: modules_pathname,
5905
reference_name: 'windows/x64/vncinject/bind_tcp_rc4'
5906
end
5907
5908
context 'windows/x64/vncinject/reverse_tcp' do
5909
it_should_behave_like 'payload cached size is consistent',
5910
ancestor_reference_names: [
5911
'stagers/windows/x64/reverse_tcp',
5912
'stages/windows/x64/vncinject'
5913
],
5914
dynamic_size: false,
5915
modules_pathname: modules_pathname,
5916
reference_name: 'windows/x64/vncinject/reverse_tcp'
5917
end
5918
5919
context 'windows/x64/vncinject/reverse_tcp_rc4' do
5920
it_should_behave_like 'payload cached size is consistent',
5921
ancestor_reference_names: [
5922
'stagers/windows/x64/reverse_tcp_rc4',
5923
'stages/windows/x64/vncinject'
5924
],
5925
dynamic_size: false,
5926
modules_pathname: modules_pathname,
5927
reference_name: 'windows/x64/vncinject/reverse_tcp_rc4'
5928
end
5929
5930
context 'windows/dllinject/bind_hidden_tcp' do
5931
it_should_behave_like 'payload cached size is consistent',
5932
ancestor_reference_names: [
5933
'stagers/windows/bind_hidden_tcp',
5934
'stages/windows/dllinject'
5935
],
5936
dynamic_size: false,
5937
modules_pathname: modules_pathname,
5938
reference_name: 'windows/dllinject/bind_hidden_tcp'
5939
end
5940
5941
context 'windows/meterpreter/bind_hidden_tcp' do
5942
it_should_behave_like 'payload cached size is consistent',
5943
ancestor_reference_names: [
5944
'stagers/windows/bind_hidden_tcp',
5945
'stages/windows/meterpreter'
5946
],
5947
dynamic_size: false,
5948
modules_pathname: modules_pathname,
5949
reference_name: 'windows/meterpreter/bind_hidden_tcp'
5950
end
5951
5952
context 'windows/patchupdllinject/bind_hidden_tcp' do
5953
it_should_behave_like 'payload cached size is consistent',
5954
ancestor_reference_names: [
5955
'stagers/windows/bind_hidden_tcp',
5956
'stages/windows/patchupdllinject'
5957
],
5958
dynamic_size: false,
5959
modules_pathname: modules_pathname,
5960
reference_name: 'windows/patchupdllinject/bind_hidden_tcp'
5961
end
5962
5963
context 'windows/patchupmeterpreter/bind_hidden_tcp' do
5964
it_should_behave_like 'payload cached size is consistent',
5965
ancestor_reference_names: [
5966
'stagers/windows/bind_hidden_tcp',
5967
'stages/windows/patchupmeterpreter'
5968
],
5969
dynamic_size: false,
5970
modules_pathname: modules_pathname,
5971
reference_name: 'windows/patchupmeterpreter/bind_hidden_tcp'
5972
end
5973
5974
context 'windows/shell/bind_hidden_tcp' do
5975
it_should_behave_like 'payload cached size is consistent',
5976
ancestor_reference_names: [
5977
'stagers/windows/bind_hidden_tcp',
5978
'stages/windows/shell'
5979
],
5980
dynamic_size: false,
5981
modules_pathname: modules_pathname,
5982
reference_name: 'windows/shell/bind_hidden_tcp'
5983
end
5984
5985
context 'windows/upexec/bind_hidden_tcp' do
5986
it_should_behave_like 'payload cached size is consistent',
5987
ancestor_reference_names: [
5988
'stagers/windows/bind_hidden_tcp',
5989
'stages/windows/upexec'
5990
],
5991
dynamic_size: false,
5992
modules_pathname: modules_pathname,
5993
reference_name: 'windows/upexec/bind_hidden_tcp'
5994
end
5995
5996
context 'windows/vncinject/bind_hidden_tcp' do
5997
it_should_behave_like 'payload cached size is consistent',
5998
ancestor_reference_names: [
5999
'stagers/windows/bind_hidden_tcp',
6000
'stages/windows/vncinject'
6001
],
6002
dynamic_size: false,
6003
modules_pathname: modules_pathname,
6004
reference_name: 'windows/vncinject/bind_hidden_tcp'
6005
end
6006
6007
context 'windows/dllinject/bind_hidden_ipknock_tcp' do
6008
it_should_behave_like 'payload cached size is consistent',
6009
ancestor_reference_names: [
6010
'stagers/windows/bind_hidden_ipknock_tcp',
6011
'stages/windows/dllinject'
6012
],
6013
dynamic_size: false,
6014
modules_pathname: modules_pathname,
6015
reference_name: 'windows/dllinject/bind_hidden_ipknock_tcp'
6016
end
6017
6018
context 'windows/meterpreter/bind_hidden_ipknock_tcp' do
6019
it_should_behave_like 'payload cached size is consistent',
6020
ancestor_reference_names: [
6021
'stagers/windows/bind_hidden_ipknock_tcp',
6022
'stages/windows/meterpreter'
6023
],
6024
dynamic_size: false,
6025
modules_pathname: modules_pathname,
6026
reference_name: 'windows/meterpreter/bind_hidden_ipknock_tcp'
6027
end
6028
6029
context 'windows/patchupdllinject/bind_hidden_ipknock_tcp' do
6030
it_should_behave_like 'payload cached size is consistent',
6031
ancestor_reference_names: [
6032
'stagers/windows/bind_hidden_ipknock_tcp',
6033
'stages/windows/patchupdllinject'
6034
],
6035
dynamic_size: false,
6036
modules_pathname: modules_pathname,
6037
reference_name: 'windows/patchupdllinject/bind_hidden_ipknock_tcp'
6038
end
6039
6040
context 'windows/patchupmeterpreter/bind_hidden_ipknock_tcp' do
6041
it_should_behave_like 'payload cached size is consistent',
6042
ancestor_reference_names: [
6043
'stagers/windows/bind_hidden_ipknock_tcp',
6044
'stages/windows/patchupmeterpreter'
6045
],
6046
dynamic_size: false,
6047
modules_pathname: modules_pathname,
6048
reference_name: 'windows/patchupmeterpreter/bind_hidden_ipknock_tcp'
6049
end
6050
6051
context 'windows/powershell_bind_tcp' do
6052
it_should_behave_like 'payload cached size is consistent',
6053
ancestor_reference_names: [
6054
'singles/windows/powershell_bind_tcp'
6055
],
6056
dynamic_size: true,
6057
modules_pathname: modules_pathname,
6058
reference_name: 'windows/powershell_bind_tcp'
6059
end
6060
6061
context 'windows/powershell_reverse_tcp' do
6062
it_should_behave_like 'payload cached size is consistent',
6063
ancestor_reference_names: [
6064
'singles/windows/powershell_reverse_tcp'
6065
],
6066
dynamic_size: true,
6067
modules_pathname: modules_pathname,
6068
reference_name: 'windows/powershell_reverse_tcp'
6069
end
6070
6071
context 'windows/powershell_reverse_tcp_ssl' do
6072
it_should_behave_like 'payload cached size is consistent',
6073
ancestor_reference_names: [
6074
'singles/windows/powershell_reverse_tcp_ssl'
6075
],
6076
dynamic_size: true,
6077
modules_pathname: modules_pathname,
6078
reference_name: 'windows/powershell_reverse_tcp_ssl'
6079
end
6080
6081
context 'windows/shell/bind_hidden_ipknock_tcp' do
6082
it_should_behave_like 'payload cached size is consistent',
6083
ancestor_reference_names: [
6084
'stagers/windows/bind_hidden_ipknock_tcp',
6085
'stages/windows/shell'
6086
],
6087
dynamic_size: false,
6088
modules_pathname: modules_pathname,
6089
reference_name: 'windows/shell/bind_hidden_ipknock_tcp'
6090
end
6091
6092
context 'windows/upexec/bind_hidden_ipknock_tcp' do
6093
it_should_behave_like 'payload cached size is consistent',
6094
ancestor_reference_names: [
6095
'stagers/windows/bind_hidden_ipknock_tcp',
6096
'stages/windows/upexec'
6097
],
6098
dynamic_size: false,
6099
modules_pathname: modules_pathname,
6100
reference_name: 'windows/upexec/bind_hidden_ipknock_tcp'
6101
end
6102
6103
context 'windows/vncinject/bind_hidden_ipknock_tcp' do
6104
it_should_behave_like 'payload cached size is consistent',
6105
ancestor_reference_names: [
6106
'stagers/windows/bind_hidden_ipknock_tcp',
6107
'stages/windows/vncinject'
6108
],
6109
dynamic_size: false,
6110
modules_pathname: modules_pathname,
6111
reference_name: 'windows/vncinject/bind_hidden_ipknock_tcp'
6112
end
6113
6114
context 'windows/meterpreter/reverse_winhttp' do
6115
it_should_behave_like 'payload cached size is consistent',
6116
ancestor_reference_names: [
6117
'stagers/windows/reverse_winhttp',
6118
'stages/windows/meterpreter'
6119
],
6120
dynamic_size: false,
6121
modules_pathname: modules_pathname,
6122
reference_name: 'windows/meterpreter/reverse_winhttp'
6123
end
6124
6125
context 'windows/meterpreter/reverse_winhttps' do
6126
it_should_behave_like 'payload cached size is consistent',
6127
ancestor_reference_names: [
6128
'stagers/windows/reverse_winhttps',
6129
'stages/windows/meterpreter'
6130
],
6131
dynamic_size: false,
6132
modules_pathname: modules_pathname,
6133
reference_name: 'windows/meterpreter/reverse_winhttps'
6134
end
6135
6136
context 'linux/mips64/meterpreter_reverse_http' do
6137
it_should_behave_like 'payload cached size is consistent',
6138
ancestor_reference_names: [
6139
'singles/linux/mips64/meterpreter_reverse_http'
6140
],
6141
dynamic_size: false,
6142
modules_pathname: modules_pathname,
6143
reference_name: 'linux/mips64/meterpreter_reverse_http'
6144
end
6145
6146
context 'linux/mips64/meterpreter_reverse_https' do
6147
it_should_behave_like 'payload cached size is consistent',
6148
ancestor_reference_names: [
6149
'singles/linux/mips64/meterpreter_reverse_https'
6150
],
6151
dynamic_size: false,
6152
modules_pathname: modules_pathname,
6153
reference_name: 'linux/mips64/meterpreter_reverse_https'
6154
end
6155
6156
context 'linux/mipsbe/meterpreter_reverse_http' do
6157
it_should_behave_like 'payload cached size is consistent',
6158
ancestor_reference_names: [
6159
'singles/linux/mipsbe/meterpreter_reverse_http'
6160
],
6161
dynamic_size: false,
6162
modules_pathname: modules_pathname,
6163
reference_name: 'linux/mipsbe/meterpreter_reverse_http'
6164
end
6165
6166
context 'linux/mipsbe/meterpreter_reverse_https' do
6167
it_should_behave_like 'payload cached size is consistent',
6168
ancestor_reference_names: [
6169
'singles/linux/mipsbe/meterpreter_reverse_https'
6170
],
6171
dynamic_size: false,
6172
modules_pathname: modules_pathname,
6173
reference_name: 'linux/mipsbe/meterpreter_reverse_https'
6174
end
6175
6176
context 'linux/mipsle/meterpreter_reverse_http' do
6177
it_should_behave_like 'payload cached size is consistent',
6178
ancestor_reference_names: [
6179
'singles/linux/mipsle/meterpreter_reverse_http'
6180
],
6181
dynamic_size: false,
6182
modules_pathname: modules_pathname,
6183
reference_name: 'linux/mipsle/meterpreter_reverse_http'
6184
end
6185
6186
context 'linux/mipsle/meterpreter_reverse_https' do
6187
it_should_behave_like 'payload cached size is consistent',
6188
ancestor_reference_names: [
6189
'singles/linux/mipsle/meterpreter_reverse_https'
6190
],
6191
dynamic_size: false,
6192
modules_pathname: modules_pathname,
6193
reference_name: 'linux/mipsle/meterpreter_reverse_https'
6194
end
6195
6196
context 'linux/x64/meterpreter_reverse_http' do
6197
it_should_behave_like 'payload cached size is consistent',
6198
ancestor_reference_names: [
6199
'singles/linux/x64/meterpreter_reverse_http'
6200
],
6201
dynamic_size: false,
6202
modules_pathname: modules_pathname,
6203
reference_name: 'linux/x64/meterpreter_reverse_http'
6204
end
6205
6206
context 'linux/x64/meterpreter_reverse_https' do
6207
it_should_behave_like 'payload cached size is consistent',
6208
ancestor_reference_names: [
6209
'singles/linux/x64/meterpreter_reverse_https'
6210
],
6211
dynamic_size: false,
6212
modules_pathname: modules_pathname,
6213
reference_name: 'linux/x64/meterpreter_reverse_https'
6214
end
6215
6216
context 'linux/x86/meterpreter_reverse_http' do
6217
it_should_behave_like 'payload cached size is consistent',
6218
ancestor_reference_names: [
6219
'singles/linux/x86/meterpreter_reverse_http'
6220
],
6221
dynamic_size: false,
6222
modules_pathname: modules_pathname,
6223
reference_name: 'linux/x86/meterpreter_reverse_http'
6224
end
6225
6226
context 'linux/x86/meterpreter_reverse_https' do
6227
it_should_behave_like 'payload cached size is consistent',
6228
ancestor_reference_names: [
6229
'singles/linux/x86/meterpreter_reverse_https'
6230
],
6231
dynamic_size: false,
6232
modules_pathname: modules_pathname,
6233
reference_name: 'linux/x86/meterpreter_reverse_https'
6234
end
6235
6236
context 'linux/x86/metsvc_bind_tcp' do
6237
it_should_behave_like 'payload cached size is consistent',
6238
ancestor_reference_names: [
6239
'singles/linux/x86/metsvc_bind_tcp'
6240
],
6241
dynamic_size: false,
6242
modules_pathname: modules_pathname,
6243
reference_name: 'linux/x86/metsvc_bind_tcp'
6244
end
6245
6246
context 'linux/x86/metsvc_reverse_tcp' do
6247
it_should_behave_like 'payload cached size is consistent',
6248
ancestor_reference_names: [
6249
'singles/linux/x86/metsvc_reverse_tcp'
6250
],
6251
dynamic_size: false,
6252
modules_pathname: modules_pathname,
6253
reference_name: 'linux/x86/metsvc_reverse_tcp'
6254
end
6255
6256
context 'linux/zarch/meterpreter_reverse_http' do
6257
it_should_behave_like 'payload cached size is consistent',
6258
ancestor_reference_names: [
6259
'singles/linux/zarch/meterpreter_reverse_http'
6260
],
6261
dynamic_size: false,
6262
modules_pathname: modules_pathname,
6263
reference_name: 'linux/zarch/meterpreter_reverse_http'
6264
end
6265
6266
context 'linux/zarch/meterpreter_reverse_https' do
6267
it_should_behave_like 'payload cached size is consistent',
6268
ancestor_reference_names: [
6269
'singles/linux/zarch/meterpreter_reverse_https'
6270
],
6271
dynamic_size: false,
6272
modules_pathname: modules_pathname,
6273
reference_name: 'linux/zarch/meterpreter_reverse_https'
6274
end
6275
6276
context 'linux/aarch64/meterpreter/reverse_tcp' do
6277
it_should_behave_like 'payload cached size is consistent',
6278
ancestor_reference_names: [
6279
'stagers/linux/aarch64/reverse_tcp',
6280
'stages/linux/aarch64/meterpreter'
6281
],
6282
dynamic_size: false,
6283
modules_pathname: modules_pathname,
6284
reference_name: 'linux/aarch64/meterpreter/reverse_tcp'
6285
end
6286
6287
context 'linux/aarch64/meterpreter_reverse_tcp' do
6288
it_should_behave_like 'payload cached size is consistent',
6289
ancestor_reference_names: [
6290
'singles/linux/aarch64/meterpreter_reverse_tcp'
6291
],
6292
dynamic_size: false,
6293
modules_pathname: modules_pathname,
6294
reference_name: 'linux/aarch64/meterpreter_reverse_tcp'
6295
end
6296
6297
context 'linux/armbe/meterpreter_reverse_tcp' do
6298
it_should_behave_like 'payload cached size is consistent',
6299
ancestor_reference_names: [
6300
'singles/linux/armbe/meterpreter_reverse_tcp'
6301
],
6302
dynamic_size: false,
6303
modules_pathname: modules_pathname,
6304
reference_name: 'linux/armbe/meterpreter_reverse_tcp'
6305
end
6306
6307
context 'linux/armbe/meterpreter_reverse_http' do
6308
it_should_behave_like 'payload cached size is consistent',
6309
ancestor_reference_names: [
6310
'singles/linux/armbe/meterpreter_reverse_http'
6311
],
6312
dynamic_size: false,
6313
modules_pathname: modules_pathname,
6314
reference_name: 'linux/armbe/meterpreter_reverse_http'
6315
end
6316
6317
context 'linux/armbe/meterpreter_reverse_https' do
6318
it_should_behave_like 'payload cached size is consistent',
6319
ancestor_reference_names: [
6320
'singles/linux/armbe/meterpreter_reverse_https'
6321
],
6322
dynamic_size: false,
6323
modules_pathname: modules_pathname,
6324
reference_name: 'linux/armbe/meterpreter_reverse_https'
6325
end
6326
6327
context 'linux/armle/meterpreter_reverse_http' do
6328
it_should_behave_like 'payload cached size is consistent',
6329
ancestor_reference_names: [
6330
'singles/linux/armle/meterpreter_reverse_http'
6331
],
6332
dynamic_size: false,
6333
modules_pathname: modules_pathname,
6334
reference_name: 'linux/armle/meterpreter_reverse_http'
6335
end
6336
6337
context 'linux/armle/meterpreter_reverse_https' do
6338
it_should_behave_like 'payload cached size is consistent',
6339
ancestor_reference_names: [
6340
'singles/linux/armle/meterpreter_reverse_https'
6341
],
6342
dynamic_size: false,
6343
modules_pathname: modules_pathname,
6344
reference_name: 'linux/armle/meterpreter_reverse_https'
6345
end
6346
6347
context 'linux/armle/meterpreter/bind_tcp' do
6348
it_should_behave_like 'payload cached size is consistent',
6349
ancestor_reference_names: [
6350
'stagers/linux/armle/bind_tcp',
6351
'stages/linux/armle/meterpreter'
6352
],
6353
dynamic_size: false,
6354
modules_pathname: modules_pathname,
6355
reference_name: 'linux/armle/meterpreter/bind_tcp'
6356
end
6357
6358
context 'linux/armle/meterpreter/reverse_tcp' do
6359
it_should_behave_like 'payload cached size is consistent',
6360
ancestor_reference_names: [
6361
'stagers/linux/armle/reverse_tcp',
6362
'stages/linux/armle/meterpreter'
6363
],
6364
dynamic_size: false,
6365
modules_pathname: modules_pathname,
6366
reference_name: 'linux/armle/meterpreter/reverse_tcp'
6367
end
6368
6369
context 'linux/armle/meterpreter_reverse_tcp' do
6370
it_should_behave_like 'payload cached size is consistent',
6371
ancestor_reference_names: [
6372
'singles/linux/armle/meterpreter_reverse_tcp'
6373
],
6374
dynamic_size: false,
6375
modules_pathname: modules_pathname,
6376
reference_name: 'linux/armle/meterpreter_reverse_tcp'
6377
end
6378
6379
context 'linux/mips64/meterpreter_reverse_tcp' do
6380
it_should_behave_like 'payload cached size is consistent',
6381
ancestor_reference_names: [
6382
'singles/linux/mips64/meterpreter_reverse_tcp'
6383
],
6384
dynamic_size: false,
6385
modules_pathname: modules_pathname,
6386
reference_name: 'linux/mips64/meterpreter_reverse_tcp'
6387
end
6388
6389
context 'linux/mipsbe/meterpreter/reverse_tcp' do
6390
it_should_behave_like 'payload cached size is consistent',
6391
ancestor_reference_names: [
6392
'stagers/linux/mipsbe/reverse_tcp',
6393
'stages/linux/mipsbe/meterpreter'
6394
],
6395
dynamic_size: false,
6396
modules_pathname: modules_pathname,
6397
reference_name: 'linux/mipsbe/meterpreter/reverse_tcp'
6398
end
6399
6400
context 'linux/mipsbe/meterpreter_reverse_tcp' do
6401
it_should_behave_like 'payload cached size is consistent',
6402
ancestor_reference_names: [
6403
'singles/linux/mipsbe/meterpreter_reverse_tcp'
6404
],
6405
dynamic_size: false,
6406
modules_pathname: modules_pathname,
6407
reference_name: 'linux/mipsbe/meterpreter_reverse_tcp'
6408
end
6409
6410
context 'linux/mipsle/meterpreter/reverse_tcp' do
6411
it_should_behave_like 'payload cached size is consistent',
6412
ancestor_reference_names: [
6413
'stagers/linux/mipsle/reverse_tcp',
6414
'stages/linux/mipsle/meterpreter'
6415
],
6416
dynamic_size: false,
6417
modules_pathname: modules_pathname,
6418
reference_name: 'linux/mipsle/meterpreter/reverse_tcp'
6419
end
6420
6421
context 'linux/mipsle/meterpreter_reverse_tcp' do
6422
it_should_behave_like 'payload cached size is consistent',
6423
ancestor_reference_names: [
6424
'singles/linux/mipsle/meterpreter_reverse_tcp'
6425
],
6426
dynamic_size: false,
6427
modules_pathname: modules_pathname,
6428
reference_name: 'linux/mipsle/meterpreter_reverse_tcp'
6429
end
6430
6431
context 'linux/x64/meterpreter/bind_tcp' do
6432
it_should_behave_like 'payload cached size is consistent',
6433
ancestor_reference_names: [
6434
'stagers/linux/x64/bind_tcp',
6435
'stages/linux/x64/meterpreter'
6436
],
6437
dynamic_size: false,
6438
modules_pathname: modules_pathname,
6439
reference_name: 'linux/x64/meterpreter/bind_tcp'
6440
end
6441
6442
context 'linux/x64/meterpreter/reverse_tcp' do
6443
it_should_behave_like 'payload cached size is consistent',
6444
ancestor_reference_names: [
6445
'stagers/linux/x64/reverse_tcp',
6446
'stages/linux/x64/meterpreter'
6447
],
6448
dynamic_size: false,
6449
modules_pathname: modules_pathname,
6450
reference_name: 'linux/x64/meterpreter/reverse_tcp'
6451
end
6452
6453
context 'linux/x64/meterpreter_reverse_tcp' do
6454
it_should_behave_like 'payload cached size is consistent',
6455
ancestor_reference_names: [
6456
'singles/linux/x64/meterpreter_reverse_tcp'
6457
],
6458
dynamic_size: false,
6459
modules_pathname: modules_pathname,
6460
reference_name: 'linux/x64/meterpreter_reverse_tcp'
6461
end
6462
6463
context 'linux/x86/meterpreter/bind_ipv6_tcp' do
6464
it_should_behave_like 'payload cached size is consistent',
6465
ancestor_reference_names: [
6466
'stagers/linux/x86/bind_ipv6_tcp',
6467
'stages/linux/x86/meterpreter'
6468
],
6469
dynamic_size: false,
6470
modules_pathname: modules_pathname,
6471
reference_name: 'linux/x86/meterpreter/bind_ipv6_tcp'
6472
end
6473
6474
context 'linux/x86/meterpreter/bind_ipv6_tcp_uuid' do
6475
it_should_behave_like 'payload cached size is consistent',
6476
ancestor_reference_names: [
6477
'stagers/linux/x86/bind_ipv6_tcp_uuid',
6478
'stages/linux/x86/meterpreter'
6479
],
6480
dynamic_size: false,
6481
modules_pathname: modules_pathname,
6482
reference_name: 'linux/x86/meterpreter/bind_ipv6_tcp_uuid'
6483
end
6484
6485
context 'linux/x86/meterpreter/bind_nonx_tcp' do
6486
it_should_behave_like 'payload cached size is consistent',
6487
ancestor_reference_names: [
6488
'stagers/linux/x86/bind_nonx_tcp',
6489
'stages/linux/x86/meterpreter'
6490
],
6491
dynamic_size: false,
6492
modules_pathname: modules_pathname,
6493
reference_name: 'linux/x86/meterpreter/bind_nonx_tcp'
6494
end
6495
6496
context 'linux/x86/meterpreter/bind_tcp' do
6497
it_should_behave_like 'payload cached size is consistent',
6498
ancestor_reference_names: [
6499
'stagers/linux/x86/bind_tcp',
6500
'stages/linux/x86/meterpreter'
6501
],
6502
dynamic_size: false,
6503
modules_pathname: modules_pathname,
6504
reference_name: 'linux/x86/meterpreter/bind_tcp'
6505
end
6506
6507
context 'linux/x86/meterpreter/bind_tcp_uuid' do
6508
it_should_behave_like 'payload cached size is consistent',
6509
ancestor_reference_names: [
6510
'stagers/linux/x86/bind_tcp_uuid',
6511
'stages/linux/x86/meterpreter'
6512
],
6513
dynamic_size: false,
6514
modules_pathname: modules_pathname,
6515
reference_name: 'linux/x86/meterpreter/bind_tcp_uuid'
6516
end
6517
6518
context 'linux/x86/meterpreter/find_tag' do
6519
it_should_behave_like 'payload cached size is consistent',
6520
ancestor_reference_names: [
6521
'stagers/linux/x86/find_tag',
6522
'stages/linux/x86/meterpreter'
6523
],
6524
dynamic_size: false,
6525
modules_pathname: modules_pathname,
6526
reference_name: 'linux/x86/meterpreter/find_tag'
6527
end
6528
6529
context 'linux/x86/meterpreter/reverse_ipv6_tcp' do
6530
it_should_behave_like 'payload cached size is consistent',
6531
ancestor_reference_names: [
6532
'stagers/linux/x86/reverse_ipv6_tcp',
6533
'stages/linux/x86/meterpreter'
6534
],
6535
dynamic_size: false,
6536
modules_pathname: modules_pathname,
6537
reference_name: 'linux/x86/meterpreter/reverse_ipv6_tcp'
6538
end
6539
6540
context 'linux/x86/meterpreter/reverse_nonx_tcp' do
6541
it_should_behave_like 'payload cached size is consistent',
6542
ancestor_reference_names: [
6543
'stagers/linux/x86/reverse_nonx_tcp',
6544
'stages/linux/x86/meterpreter'
6545
],
6546
dynamic_size: false,
6547
modules_pathname: modules_pathname,
6548
reference_name: 'linux/x86/meterpreter/reverse_nonx_tcp'
6549
end
6550
6551
context 'linux/x86/meterpreter/reverse_tcp' do
6552
it_should_behave_like 'payload cached size is consistent',
6553
ancestor_reference_names: [
6554
'stagers/linux/x86/reverse_tcp',
6555
'stages/linux/x86/meterpreter'
6556
],
6557
dynamic_size: false,
6558
modules_pathname: modules_pathname,
6559
reference_name: 'linux/x86/meterpreter/reverse_tcp'
6560
end
6561
6562
context 'linux/x86/meterpreter/reverse_tcp_uuid' do
6563
it_should_behave_like 'payload cached size is consistent',
6564
ancestor_reference_names: [
6565
'stagers/linux/x86/reverse_tcp_uuid',
6566
'stages/linux/x86/meterpreter'
6567
],
6568
dynamic_size: false,
6569
modules_pathname: modules_pathname,
6570
reference_name: 'linux/x86/meterpreter/reverse_tcp_uuid'
6571
end
6572
6573
context 'linux/x86/meterpreter_reverse_tcp' do
6574
it_should_behave_like 'payload cached size is consistent',
6575
ancestor_reference_names: [
6576
'singles/linux/x86/meterpreter_reverse_tcp'
6577
],
6578
dynamic_size: false,
6579
modules_pathname: modules_pathname,
6580
reference_name: 'linux/x86/meterpreter_reverse_tcp'
6581
end
6582
6583
context 'linux/zarch/meterpreter_reverse_tcp' do
6584
it_should_behave_like 'payload cached size is consistent',
6585
ancestor_reference_names: [
6586
'singles/linux/zarch/meterpreter_reverse_tcp'
6587
],
6588
dynamic_size: false,
6589
modules_pathname: modules_pathname,
6590
reference_name: 'linux/zarch/meterpreter_reverse_tcp'
6591
end
6592
6593
context 'r/shell_bind_tcp' do
6594
it_should_behave_like 'payload cached size is consistent',
6595
ancestor_reference_names: [
6596
'singles/r/shell_bind_tcp'
6597
],
6598
dynamic_size: false,
6599
modules_pathname: modules_pathname,
6600
reference_name: 'r/shell_bind_tcp'
6601
end
6602
6603
context 'r/shell_reverse_tcp' do
6604
it_should_behave_like 'payload cached size is consistent',
6605
ancestor_reference_names: [
6606
'singles/r/shell_reverse_tcp'
6607
],
6608
dynamic_size: false,
6609
modules_pathname: modules_pathname,
6610
reference_name: 'r/shell_reverse_tcp'
6611
end
6612
end
6613
6614