CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
rapid7

CoCalc provides the best real-time collaborative environment for Jupyter Notebooks, LaTeX documents, and SageMath, scalable from individual users to large groups and classes!

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