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