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