CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
rapid7

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

GitHub Repository: rapid7/metasploit-framework
Path: blob/master/spec/modules/payloads_spec.rb
Views: 11766
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/riscv32le/exec' do
1849
it_should_behave_like 'payload cached size is consistent',
1850
ancestor_reference_names: [
1851
'singles/linux/riscv32le/exec'
1852
],
1853
dynamic_size: false,
1854
modules_pathname: modules_pathname,
1855
reference_name: 'linux/riscv32le/exec'
1856
end
1857
1858
context 'linux/riscv32le/reboot' do
1859
it_should_behave_like 'payload cached size is consistent',
1860
ancestor_reference_names: [
1861
'singles/linux/riscv32le/reboot'
1862
],
1863
dynamic_size: false,
1864
modules_pathname: modules_pathname,
1865
reference_name: 'linux/riscv32le/reboot'
1866
end
1867
1868
context 'linux/riscv64le/exec' do
1869
it_should_behave_like 'payload cached size is consistent',
1870
ancestor_reference_names: [
1871
'singles/linux/riscv64le/exec'
1872
],
1873
dynamic_size: false,
1874
modules_pathname: modules_pathname,
1875
reference_name: 'linux/riscv64le/exec'
1876
end
1877
1878
context 'linux/riscv64le/reboot' do
1879
it_should_behave_like 'payload cached size is consistent',
1880
ancestor_reference_names: [
1881
'singles/linux/riscv64le/reboot'
1882
],
1883
dynamic_size: false,
1884
modules_pathname: modules_pathname,
1885
reference_name: 'linux/riscv64le/reboot'
1886
end
1887
1888
context 'linux/x64/exec' do
1889
it_should_behave_like 'payload cached size is consistent',
1890
ancestor_reference_names: [
1891
'singles/linux/x64/exec'
1892
],
1893
dynamic_size: false,
1894
modules_pathname: modules_pathname,
1895
reference_name: 'linux/x64/exec'
1896
end
1897
1898
context 'linux/x64/pingback_bind_tcp' do
1899
it_should_behave_like 'payload cached size is consistent',
1900
ancestor_reference_names: [
1901
'singles/linux/x64/pingback_bind_tcp'
1902
],
1903
dynamic_size: false,
1904
modules_pathname: modules_pathname,
1905
reference_name: 'linux/x64/pingback_bind_tcp'
1906
end
1907
1908
context 'linux/x64/pingback_reverse_tcp' do
1909
it_should_behave_like 'payload cached size is consistent',
1910
ancestor_reference_names: [
1911
'singles/linux/x64/pingback_reverse_tcp'
1912
],
1913
dynamic_size: false,
1914
modules_pathname: modules_pathname,
1915
reference_name: 'linux/x64/pingback_reverse_tcp'
1916
end
1917
1918
context 'linux/x64/shell/bind_tcp' do
1919
it_should_behave_like 'payload cached size is consistent',
1920
ancestor_reference_names: [
1921
'stagers/linux/x64/bind_tcp',
1922
'stages/linux/x64/shell'
1923
],
1924
dynamic_size: false,
1925
modules_pathname: modules_pathname,
1926
reference_name: 'linux/x64/shell/bind_tcp'
1927
end
1928
1929
context 'linux/x64/shell/reverse_sctp' do
1930
it_should_behave_like 'payload cached size is consistent',
1931
ancestor_reference_names: [
1932
'stagers/linux/x64/reverse_sctp',
1933
'stages/linux/x64/shell'
1934
],
1935
dynamic_size: false,
1936
modules_pathname: modules_pathname,
1937
reference_name: 'linux/x64/shell/reverse_sctp'
1938
end
1939
1940
context 'linux/x64/shell/reverse_tcp' do
1941
it_should_behave_like 'payload cached size is consistent',
1942
ancestor_reference_names: [
1943
'stagers/linux/x64/reverse_tcp',
1944
'stages/linux/x64/shell'
1945
],
1946
dynamic_size: false,
1947
modules_pathname: modules_pathname,
1948
reference_name: 'linux/x64/shell/reverse_tcp'
1949
end
1950
1951
context 'linux/x64/shell_bind_ipv6_tcp' do
1952
it_should_behave_like 'payload cached size is consistent',
1953
ancestor_reference_names: [
1954
'singles/linux/x64/shell_bind_ipv6_tcp'
1955
],
1956
dynamic_size: false,
1957
modules_pathname: modules_pathname,
1958
reference_name: 'linux/x64/shell_bind_ipv6_tcp'
1959
end
1960
1961
context 'linux/x64/shell_bind_tcp' do
1962
it_should_behave_like 'payload cached size is consistent',
1963
ancestor_reference_names: [
1964
'singles/linux/x64/shell_bind_tcp'
1965
],
1966
dynamic_size: false,
1967
modules_pathname: modules_pathname,
1968
reference_name: 'linux/x64/shell_bind_tcp'
1969
end
1970
1971
context 'linux/x64/shell_bind_tcp_random_port' do
1972
it_should_behave_like 'payload cached size is consistent',
1973
ancestor_reference_names: [
1974
'singles/linux/x64/shell_bind_tcp_random_port'
1975
],
1976
dynamic_size: false,
1977
modules_pathname: modules_pathname,
1978
reference_name: 'linux/x64/shell_bind_tcp_random_port'
1979
end
1980
1981
context 'linux/x64/shell_find_port' do
1982
it_should_behave_like 'payload cached size is consistent',
1983
ancestor_reference_names: [
1984
'singles/linux/x64/shell_find_port'
1985
],
1986
dynamic_size: false,
1987
modules_pathname: modules_pathname,
1988
reference_name: 'linux/x64/shell_find_port'
1989
end
1990
1991
context 'linux/x64/shell_reverse_ipv6_tcp' do
1992
it_should_behave_like 'payload cached size is consistent',
1993
ancestor_reference_names: [
1994
'singles/linux/x64/shell_reverse_ipv6_tcp'
1995
],
1996
dynamic_size: false,
1997
modules_pathname: modules_pathname,
1998
reference_name: 'linux/x64/shell_reverse_ipv6_tcp'
1999
end
2000
2001
context 'linux/x64/shell_reverse_tcp' do
2002
it_should_behave_like 'payload cached size is consistent',
2003
ancestor_reference_names: [
2004
'singles/linux/x64/shell_reverse_tcp'
2005
],
2006
dynamic_size: false,
2007
modules_pathname: modules_pathname,
2008
reference_name: 'linux/x64/shell_reverse_tcp'
2009
end
2010
2011
context 'linux/x86/adduser' do
2012
it_should_behave_like 'payload cached size is consistent',
2013
ancestor_reference_names: [
2014
'singles/linux/x86/adduser'
2015
],
2016
dynamic_size: false,
2017
modules_pathname: modules_pathname,
2018
reference_name: 'linux/x86/adduser'
2019
end
2020
2021
context 'linux/x86/chmod' do
2022
it_should_behave_like 'payload cached size is consistent',
2023
ancestor_reference_names: [
2024
'singles/linux/x86/chmod'
2025
],
2026
dynamic_size: false,
2027
modules_pathname: modules_pathname,
2028
reference_name: 'linux/x86/chmod'
2029
end
2030
2031
context 'linux/x86/exec' do
2032
it_should_behave_like 'payload cached size is consistent',
2033
ancestor_reference_names: [
2034
'singles/linux/x86/exec'
2035
],
2036
dynamic_size: false,
2037
modules_pathname: modules_pathname,
2038
reference_name: 'linux/x86/exec'
2039
end
2040
2041
context 'linux/x86/read_file' do
2042
it_should_behave_like 'payload cached size is consistent',
2043
ancestor_reference_names: [
2044
'singles/linux/x86/read_file'
2045
],
2046
dynamic_size: false,
2047
modules_pathname: modules_pathname,
2048
reference_name: 'linux/x86/read_file'
2049
end
2050
2051
context 'linux/x86/shell/bind_ipv6_tcp' do
2052
it_should_behave_like 'payload cached size is consistent',
2053
ancestor_reference_names: [
2054
'stagers/linux/x86/bind_ipv6_tcp',
2055
'stages/linux/x86/shell'
2056
],
2057
dynamic_size: false,
2058
modules_pathname: modules_pathname,
2059
reference_name: 'linux/x86/shell/bind_ipv6_tcp'
2060
end
2061
2062
context 'linux/x86/shell/bind_nonx_tcp' do
2063
it_should_behave_like 'payload cached size is consistent',
2064
ancestor_reference_names: [
2065
'stagers/linux/x86/bind_nonx_tcp',
2066
'stages/linux/x86/shell'
2067
],
2068
dynamic_size: false,
2069
modules_pathname: modules_pathname,
2070
reference_name: 'linux/x86/shell/bind_nonx_tcp'
2071
end
2072
2073
context 'linux/x86/shell/bind_tcp' do
2074
it_should_behave_like 'payload cached size is consistent',
2075
ancestor_reference_names: [
2076
'stagers/linux/x86/bind_tcp',
2077
'stages/linux/x86/shell'
2078
],
2079
dynamic_size: false,
2080
modules_pathname: modules_pathname,
2081
reference_name: 'linux/x86/shell/bind_tcp'
2082
end
2083
2084
context 'linux/x86/shell/find_tag' do
2085
it_should_behave_like 'payload cached size is consistent',
2086
ancestor_reference_names: [
2087
'stagers/linux/x86/find_tag',
2088
'stages/linux/x86/shell'
2089
],
2090
dynamic_size: false,
2091
modules_pathname: modules_pathname,
2092
reference_name: 'linux/x86/shell/find_tag'
2093
end
2094
2095
context 'linux/x86/shell/reverse_ipv6_tcp' do
2096
it_should_behave_like 'payload cached size is consistent',
2097
ancestor_reference_names: [
2098
'stagers/linux/x86/reverse_ipv6_tcp',
2099
'stages/linux/x86/shell'
2100
],
2101
dynamic_size: false,
2102
modules_pathname: modules_pathname,
2103
reference_name: 'linux/x86/shell/reverse_ipv6_tcp'
2104
end
2105
2106
context 'linux/x86/shell/reverse_nonx_tcp' do
2107
it_should_behave_like 'payload cached size is consistent',
2108
ancestor_reference_names: [
2109
'stagers/linux/x86/reverse_nonx_tcp',
2110
'stages/linux/x86/shell'
2111
],
2112
dynamic_size: false,
2113
modules_pathname: modules_pathname,
2114
reference_name: 'linux/x86/shell/reverse_nonx_tcp'
2115
end
2116
2117
context 'linux/x86/shell/reverse_tcp' do
2118
it_should_behave_like 'payload cached size is consistent',
2119
ancestor_reference_names: [
2120
'stagers/linux/x86/reverse_tcp',
2121
'stages/linux/x86/shell'
2122
],
2123
dynamic_size: false,
2124
modules_pathname: modules_pathname,
2125
reference_name: 'linux/x86/shell/reverse_tcp'
2126
end
2127
2128
context 'linux/x86/shell_bind_ipv6_tcp' do
2129
it_should_behave_like 'payload cached size is consistent',
2130
ancestor_reference_names: [
2131
'singles/linux/x86/shell_bind_ipv6_tcp'
2132
],
2133
dynamic_size: false,
2134
modules_pathname: modules_pathname,
2135
reference_name: 'linux/x86/shell_bind_ipv6_tcp'
2136
end
2137
2138
context 'linux/x86/shell_bind_tcp' do
2139
it_should_behave_like 'payload cached size is consistent',
2140
ancestor_reference_names: [
2141
'singles/linux/x86/shell_bind_tcp'
2142
],
2143
dynamic_size: false,
2144
modules_pathname: modules_pathname,
2145
reference_name: 'linux/x86/shell_bind_tcp'
2146
end
2147
2148
context 'linux/x86/shell_bind_tcp_random_port' do
2149
it_should_behave_like 'payload cached size is consistent',
2150
ancestor_reference_names: [
2151
'singles/linux/x86/shell_bind_tcp_random_port'
2152
],
2153
dynamic_size: false,
2154
modules_pathname: modules_pathname,
2155
reference_name: 'linux/x86/shell_bind_tcp_random_port'
2156
end
2157
2158
context 'linux/x86/shell_find_port' do
2159
it_should_behave_like 'payload cached size is consistent',
2160
ancestor_reference_names: [
2161
'singles/linux/x86/shell_find_port'
2162
],
2163
dynamic_size: false,
2164
modules_pathname: modules_pathname,
2165
reference_name: 'linux/x86/shell_find_port'
2166
end
2167
2168
context 'linux/x86/shell_find_tag' do
2169
it_should_behave_like 'payload cached size is consistent',
2170
ancestor_reference_names: [
2171
'singles/linux/x86/shell_find_tag'
2172
],
2173
dynamic_size: false,
2174
modules_pathname: modules_pathname,
2175
reference_name: 'linux/x86/shell_find_tag'
2176
end
2177
2178
context 'linux/x86/shell_reverse_tcp' do
2179
it_should_behave_like 'payload cached size is consistent',
2180
ancestor_reference_names: [
2181
'singles/linux/x86/shell_reverse_tcp'
2182
],
2183
dynamic_size: false,
2184
modules_pathname: modules_pathname,
2185
reference_name: 'linux/x86/shell_reverse_tcp'
2186
end
2187
2188
context 'linux/x86/shell_reverse_tcp_ipv6' do
2189
it_should_behave_like 'payload cached size is consistent',
2190
ancestor_reference_names: [
2191
'singles/linux/x86/shell_reverse_tcp_ipv6'
2192
],
2193
dynamic_size: false,
2194
modules_pathname: modules_pathname,
2195
reference_name: 'linux/x86/shell_reverse_tcp_ipv6'
2196
end
2197
2198
context 'mainframe/shell_reverse_tcp' do
2199
it_should_behave_like 'payload cached size is consistent',
2200
ancestor_reference_names: [
2201
'singles/mainframe/shell_reverse_tcp'
2202
],
2203
dynamic_size: false,
2204
modules_pathname: modules_pathname,
2205
reference_name: 'mainframe/shell_reverse_tcp'
2206
end
2207
2208
context 'multi/meterpreter/reverse_http' do
2209
it_should_behave_like 'payload cached size is consistent',
2210
ancestor_reference_names: [
2211
'stagers/multi/reverse_http',
2212
'stages/multi/meterpreter'
2213
],
2214
dynamic_size: false,
2215
modules_pathname: modules_pathname,
2216
reference_name: 'multi/meterpreter/reverse_http'
2217
end
2218
2219
context 'multi/meterpreter/reverse_https' do
2220
it_should_behave_like 'payload cached size is consistent',
2221
ancestor_reference_names: [
2222
'stagers/multi/reverse_https',
2223
'stages/multi/meterpreter'
2224
],
2225
dynamic_size: false,
2226
modules_pathname: modules_pathname,
2227
reference_name: 'multi/meterpreter/reverse_https'
2228
end
2229
2230
context 'netware/shell/reverse_tcp' do
2231
it_should_behave_like 'payload cached size is consistent',
2232
ancestor_reference_names: [
2233
'stagers/netware/reverse_tcp',
2234
'stages/netware/shell'
2235
],
2236
dynamic_size: false,
2237
modules_pathname: modules_pathname,
2238
reference_name: 'netware/shell/reverse_tcp'
2239
end
2240
2241
context 'nodejs/shell_bind_tcp' do
2242
it_should_behave_like 'payload cached size is consistent',
2243
ancestor_reference_names: [
2244
'singles/nodejs/shell_bind_tcp'
2245
],
2246
dynamic_size: false,
2247
modules_pathname: modules_pathname,
2248
reference_name: 'nodejs/shell_bind_tcp'
2249
end
2250
2251
context 'nodejs/shell_reverse_tcp' do
2252
it_should_behave_like 'payload cached size is consistent',
2253
ancestor_reference_names: [
2254
'singles/nodejs/shell_reverse_tcp'
2255
],
2256
dynamic_size: false,
2257
modules_pathname: modules_pathname,
2258
reference_name: 'nodejs/shell_reverse_tcp'
2259
end
2260
2261
context 'nodejs/shell_reverse_tcp_ssl' do
2262
it_should_behave_like 'payload cached size is consistent',
2263
ancestor_reference_names: [
2264
'singles/nodejs/shell_reverse_tcp_ssl'
2265
],
2266
dynamic_size: false,
2267
modules_pathname: modules_pathname,
2268
reference_name: 'nodejs/shell_reverse_tcp_ssl'
2269
end
2270
2271
context 'osx/x64/exec' do
2272
it_should_behave_like 'payload cached size is consistent',
2273
ancestor_reference_names: [
2274
'singles/osx/aarch64/exec'
2275
],
2276
dynamic_size: false,
2277
modules_pathname: modules_pathname,
2278
reference_name: 'osx/aarch64/exec'
2279
end
2280
2281
context 'osx/aarch64/shell_reverse_tcp' do
2282
it_should_behave_like 'payload cached size is consistent',
2283
ancestor_reference_names: [
2284
'singles/osx/aarch64/shell_reverse_tcp'
2285
],
2286
dynamic_size: false,
2287
modules_pathname: modules_pathname,
2288
reference_name: 'osx/aarch64/shell_reverse_tcp'
2289
end
2290
2291
context 'osx/aarch64/meterpreter/reverse_tcp' do
2292
it_should_behave_like 'payload cached size is consistent',
2293
ancestor_reference_names: [
2294
'stagers/osx/aarch64/reverse_tcp',
2295
'stages/osx/aarch64/meterpreter'
2296
],
2297
dynamic_size: false,
2298
modules_pathname: modules_pathname,
2299
reference_name: 'osx/aarch64/meterpreter/reverse_tcp'
2300
end
2301
2302
context 'osx/aarch64/meterpreter_reverse_http' do
2303
it_should_behave_like 'payload cached size is consistent',
2304
ancestor_reference_names: [
2305
'singles/osx/aarch64/meterpreter_reverse_http'
2306
],
2307
dynamic_size: false,
2308
modules_pathname: modules_pathname,
2309
reference_name: 'osx/aarch64/meterpreter_reverse_http'
2310
end
2311
2312
context 'osx/aarch64/meterpreter_reverse_https' do
2313
it_should_behave_like 'payload cached size is consistent',
2314
ancestor_reference_names: [
2315
'singles/osx/aarch64/meterpreter_reverse_https'
2316
],
2317
dynamic_size: false,
2318
modules_pathname: modules_pathname,
2319
reference_name: 'osx/aarch64/meterpreter_reverse_https'
2320
end
2321
2322
context 'osx/aarch64/shell_bind_tcp' do
2323
it_should_behave_like 'payload cached size is consistent',
2324
ancestor_reference_names: [
2325
'singles/osx/aarch64/shell_bind_tcp'
2326
],
2327
dynamic_size: false,
2328
modules_pathname: modules_pathname,
2329
reference_name: 'osx/aarch64/shell_bind_tcp'
2330
end
2331
2332
context 'osx/aarch64/meterpreter_reverse_tcp' do
2333
it_should_behave_like 'payload cached size is consistent',
2334
ancestor_reference_names: [
2335
'singles/osx/aarch64/meterpreter_reverse_tcp'
2336
],
2337
dynamic_size: false,
2338
modules_pathname: modules_pathname,
2339
reference_name: 'osx/aarch64/meterpreter_reverse_tcp'
2340
end
2341
2342
context 'osx/armle/execute/bind_tcp' do
2343
it_should_behave_like 'payload cached size is consistent',
2344
ancestor_reference_names: [
2345
'stagers/osx/armle/bind_tcp',
2346
'stages/osx/armle/execute'
2347
],
2348
dynamic_size: false,
2349
modules_pathname: modules_pathname,
2350
reference_name: 'osx/armle/execute/bind_tcp'
2351
end
2352
2353
context 'osx/armle/execute/reverse_tcp' do
2354
it_should_behave_like 'payload cached size is consistent',
2355
ancestor_reference_names: [
2356
'stagers/osx/armle/reverse_tcp',
2357
'stages/osx/armle/execute'
2358
],
2359
dynamic_size: false,
2360
modules_pathname: modules_pathname,
2361
reference_name: 'osx/armle/execute/reverse_tcp'
2362
end
2363
2364
context 'osx/armle/shell/bind_tcp' do
2365
it_should_behave_like 'payload cached size is consistent',
2366
ancestor_reference_names: [
2367
'stagers/osx/armle/bind_tcp',
2368
'stages/osx/armle/shell'
2369
],
2370
dynamic_size: false,
2371
modules_pathname: modules_pathname,
2372
reference_name: 'osx/armle/shell/bind_tcp'
2373
end
2374
2375
context 'osx/armle/shell/reverse_tcp' do
2376
it_should_behave_like 'payload cached size is consistent',
2377
ancestor_reference_names: [
2378
'stagers/osx/armle/reverse_tcp',
2379
'stages/osx/armle/shell'
2380
],
2381
dynamic_size: false,
2382
modules_pathname: modules_pathname,
2383
reference_name: 'osx/armle/shell/reverse_tcp'
2384
end
2385
2386
context 'osx/armle/shell_bind_tcp' do
2387
it_should_behave_like 'payload cached size is consistent',
2388
ancestor_reference_names: [
2389
'singles/osx/armle/shell_bind_tcp'
2390
],
2391
dynamic_size: false,
2392
modules_pathname: modules_pathname,
2393
reference_name: 'osx/armle/shell_bind_tcp'
2394
end
2395
2396
context 'osx/armle/shell_reverse_tcp' do
2397
it_should_behave_like 'payload cached size is consistent',
2398
ancestor_reference_names: [
2399
'singles/osx/armle/shell_reverse_tcp'
2400
],
2401
dynamic_size: false,
2402
modules_pathname: modules_pathname,
2403
reference_name: 'osx/armle/shell_reverse_tcp'
2404
end
2405
2406
context 'osx/armle/vibrate' do
2407
it_should_behave_like 'payload cached size is consistent',
2408
ancestor_reference_names: [
2409
'singles/osx/armle/vibrate'
2410
],
2411
dynamic_size: false,
2412
modules_pathname: modules_pathname,
2413
reference_name: 'osx/armle/vibrate'
2414
end
2415
2416
context 'osx/ppc/shell/bind_tcp' do
2417
it_should_behave_like 'payload cached size is consistent',
2418
ancestor_reference_names: [
2419
'stagers/osx/ppc/bind_tcp',
2420
'stages/osx/ppc/shell'
2421
],
2422
dynamic_size: false,
2423
modules_pathname: modules_pathname,
2424
reference_name: 'osx/ppc/shell/bind_tcp'
2425
end
2426
2427
context 'osx/ppc/shell/find_tag' do
2428
it_should_behave_like 'payload cached size is consistent',
2429
ancestor_reference_names: [
2430
'stagers/osx/ppc/find_tag',
2431
'stages/osx/ppc/shell'
2432
],
2433
dynamic_size: false,
2434
modules_pathname: modules_pathname,
2435
reference_name: 'osx/ppc/shell/find_tag'
2436
end
2437
2438
context 'osx/ppc/shell/reverse_tcp' do
2439
it_should_behave_like 'payload cached size is consistent',
2440
ancestor_reference_names: [
2441
'stagers/osx/ppc/reverse_tcp',
2442
'stages/osx/ppc/shell'
2443
],
2444
dynamic_size: false,
2445
modules_pathname: modules_pathname,
2446
reference_name: 'osx/ppc/shell/reverse_tcp'
2447
end
2448
2449
context 'osx/ppc/shell_bind_tcp' do
2450
it_should_behave_like 'payload cached size is consistent',
2451
ancestor_reference_names: [
2452
'singles/osx/ppc/shell_bind_tcp'
2453
],
2454
dynamic_size: false,
2455
modules_pathname: modules_pathname,
2456
reference_name: 'osx/ppc/shell_bind_tcp'
2457
end
2458
2459
context 'osx/ppc/shell_reverse_tcp' do
2460
it_should_behave_like 'payload cached size is consistent',
2461
ancestor_reference_names: [
2462
'singles/osx/ppc/shell_reverse_tcp'
2463
],
2464
dynamic_size: false,
2465
modules_pathname: modules_pathname,
2466
reference_name: 'osx/ppc/shell_reverse_tcp'
2467
end
2468
2469
context 'osx/x64/dupandexecve/bind_tcp' do
2470
it_should_behave_like 'payload cached size is consistent',
2471
ancestor_reference_names: [
2472
'stagers/osx/x64/bind_tcp',
2473
'stages/osx/x64/dupandexecve'
2474
],
2475
dynamic_size: false,
2476
modules_pathname: modules_pathname,
2477
reference_name: 'osx/x64/dupandexecve/bind_tcp'
2478
end
2479
2480
context 'osx/x64/dupandexecve/reverse_tcp' do
2481
it_should_behave_like 'payload cached size is consistent',
2482
ancestor_reference_names: [
2483
'stagers/osx/x64/reverse_tcp',
2484
'stages/osx/x64/dupandexecve'
2485
],
2486
dynamic_size: false,
2487
modules_pathname: modules_pathname,
2488
reference_name: 'osx/x64/dupandexecve/reverse_tcp'
2489
end
2490
2491
context 'osx/x64/exec' do
2492
it_should_behave_like 'payload cached size is consistent',
2493
ancestor_reference_names: [
2494
'singles/osx/x64/exec'
2495
],
2496
dynamic_size: false,
2497
modules_pathname: modules_pathname,
2498
reference_name: 'osx/x64/exec'
2499
end
2500
2501
context 'osx/x64/meterpreter/bind_tcp' do
2502
it_should_behave_like 'payload cached size is consistent',
2503
ancestor_reference_names: [
2504
'stagers/osx/x64/bind_tcp',
2505
'stages/osx/x64/meterpreter'
2506
],
2507
dynamic_size: false,
2508
modules_pathname: modules_pathname,
2509
reference_name: 'osx/x64/meterpreter/bind_tcp'
2510
end
2511
2512
context 'osx/x64/meterpreter/reverse_tcp' do
2513
it_should_behave_like 'payload cached size is consistent',
2514
ancestor_reference_names: [
2515
'stagers/osx/x64/reverse_tcp',
2516
'stages/osx/x64/meterpreter'
2517
],
2518
dynamic_size: false,
2519
modules_pathname: modules_pathname,
2520
reference_name: 'osx/x64/meterpreter/reverse_tcp'
2521
end
2522
2523
context 'osx/x64/meterpreter/reverse_tcp_uuid' do
2524
it_should_behave_like 'payload cached size is consistent',
2525
ancestor_reference_names: [
2526
'stagers/osx/x64/reverse_tcp_uuid',
2527
'stages/osx/x64/meterpreter'
2528
],
2529
dynamic_size: false,
2530
modules_pathname: modules_pathname,
2531
reference_name: 'osx/x64/meterpreter/reverse_tcp_uuid'
2532
end
2533
2534
context 'osx/x64/meterpreter_reverse_http' do
2535
it_should_behave_like 'payload cached size is consistent',
2536
ancestor_reference_names: [
2537
'singles/osx/x64/meterpreter_reverse_http'
2538
],
2539
dynamic_size: false,
2540
modules_pathname: modules_pathname,
2541
reference_name: 'osx/x64/meterpreter_reverse_http'
2542
end
2543
2544
context 'osx/x64/meterpreter_reverse_https' do
2545
it_should_behave_like 'payload cached size is consistent',
2546
ancestor_reference_names: [
2547
'singles/osx/x64/meterpreter_reverse_https'
2548
],
2549
dynamic_size: false,
2550
modules_pathname: modules_pathname,
2551
reference_name: 'osx/x64/meterpreter_reverse_https'
2552
end
2553
2554
context 'osx/x64/meterpreter_reverse_tcp' do
2555
it_should_behave_like 'payload cached size is consistent',
2556
ancestor_reference_names: [
2557
'singles/osx/x64/meterpreter_reverse_tcp'
2558
],
2559
dynamic_size: false,
2560
modules_pathname: modules_pathname,
2561
reference_name: 'osx/x64/meterpreter_reverse_tcp'
2562
end
2563
2564
context 'osx/x64/say' do
2565
it_should_behave_like 'payload cached size is consistent',
2566
ancestor_reference_names: [
2567
'singles/osx/x64/say'
2568
],
2569
dynamic_size: false,
2570
modules_pathname: modules_pathname,
2571
reference_name: 'osx/x64/say'
2572
end
2573
2574
context 'osx/x64/shell_bind_tcp' do
2575
it_should_behave_like 'payload cached size is consistent',
2576
ancestor_reference_names: [
2577
'singles/osx/x64/shell_bind_tcp'
2578
],
2579
dynamic_size: false,
2580
modules_pathname: modules_pathname,
2581
reference_name: 'osx/x64/shell_bind_tcp'
2582
end
2583
2584
context 'osx/x64/shell_find_tag' do
2585
it_should_behave_like 'payload cached size is consistent',
2586
ancestor_reference_names: [
2587
'singles/osx/x64/shell_find_tag'
2588
],
2589
dynamic_size: false,
2590
modules_pathname: modules_pathname,
2591
reference_name: 'osx/x64/shell_find_tag'
2592
end
2593
2594
context 'osx/x64/shell_reverse_tcp' do
2595
it_should_behave_like 'payload cached size is consistent',
2596
ancestor_reference_names: [
2597
'singles/osx/x64/shell_reverse_tcp'
2598
],
2599
dynamic_size: false,
2600
modules_pathname: modules_pathname,
2601
reference_name: 'osx/x64/shell_reverse_tcp'
2602
end
2603
2604
context 'osx/x86/bundleinject/bind_tcp' do
2605
it_should_behave_like 'payload cached size is consistent',
2606
ancestor_reference_names: [
2607
'stagers/osx/x86/bind_tcp',
2608
'stages/osx/x86/bundleinject'
2609
],
2610
dynamic_size: false,
2611
modules_pathname: modules_pathname,
2612
reference_name: 'osx/x86/bundleinject/bind_tcp'
2613
end
2614
2615
context 'osx/x86/bundleinject/reverse_tcp' do
2616
it_should_behave_like 'payload cached size is consistent',
2617
ancestor_reference_names: [
2618
'stagers/osx/x86/reverse_tcp',
2619
'stages/osx/x86/bundleinject',
2620
],
2621
dynamic_size: false,
2622
modules_pathname: modules_pathname,
2623
reference_name: 'osx/x86/bundleinject/reverse_tcp'
2624
end
2625
2626
context 'osx/x86/exec' do
2627
it_should_behave_like 'payload cached size is consistent',
2628
ancestor_reference_names: [
2629
'singles/osx/x86/exec'
2630
],
2631
dynamic_size: false,
2632
modules_pathname: modules_pathname,
2633
reference_name: 'osx/x86/exec'
2634
end
2635
2636
context 'osx/x86/isight/bind_tcp' do
2637
it_should_behave_like 'payload cached size is consistent',
2638
ancestor_reference_names: [
2639
'stagers/osx/x86/bind_tcp',
2640
'stages/osx/x86/isight'
2641
],
2642
dynamic_size: false,
2643
modules_pathname: modules_pathname,
2644
reference_name: 'osx/x86/isight/bind_tcp'
2645
end
2646
2647
context 'osx/x86/isight/reverse_tcp' do
2648
it_should_behave_like 'payload cached size is consistent',
2649
ancestor_reference_names: [
2650
'stagers/osx/x86/reverse_tcp',
2651
'stages/osx/x86/isight'
2652
],
2653
dynamic_size: false,
2654
modules_pathname: modules_pathname,
2655
reference_name: 'osx/x86/isight/reverse_tcp'
2656
end
2657
2658
context 'osx/x86/shell_bind_tcp' do
2659
it_should_behave_like 'payload cached size is consistent',
2660
ancestor_reference_names: [
2661
'singles/osx/x86/shell_bind_tcp'
2662
],
2663
dynamic_size: false,
2664
modules_pathname: modules_pathname,
2665
reference_name: 'osx/x86/shell_bind_tcp'
2666
end
2667
2668
context 'osx/x86/shell_find_port' do
2669
it_should_behave_like 'payload cached size is consistent',
2670
ancestor_reference_names: [
2671
'singles/osx/x86/shell_find_port'
2672
],
2673
dynamic_size: false,
2674
modules_pathname: modules_pathname,
2675
reference_name: 'osx/x86/shell_find_port'
2676
end
2677
2678
context 'osx/x86/shell_reverse_tcp' do
2679
it_should_behave_like 'payload cached size is consistent',
2680
ancestor_reference_names: [
2681
'singles/osx/x86/shell_reverse_tcp'
2682
],
2683
dynamic_size: false,
2684
modules_pathname: modules_pathname,
2685
reference_name: 'osx/x86/shell_reverse_tcp'
2686
end
2687
2688
context 'osx/x86/vforkshell/bind_tcp' do
2689
it_should_behave_like 'payload cached size is consistent',
2690
ancestor_reference_names: [
2691
'stagers/osx/x86/bind_tcp',
2692
'stages/osx/x86/vforkshell'
2693
],
2694
dynamic_size: false,
2695
modules_pathname: modules_pathname,
2696
reference_name: 'osx/x86/vforkshell/bind_tcp'
2697
end
2698
2699
context 'osx/x86/vforkshell/reverse_tcp' do
2700
it_should_behave_like 'payload cached size is consistent',
2701
ancestor_reference_names: [
2702
'stagers/osx/x86/reverse_tcp',
2703
'stages/osx/x86/vforkshell'
2704
],
2705
dynamic_size: false,
2706
modules_pathname: modules_pathname,
2707
reference_name: 'osx/x86/vforkshell/reverse_tcp'
2708
end
2709
2710
context 'osx/x86/vforkshell_bind_tcp' do
2711
it_should_behave_like 'payload cached size is consistent',
2712
ancestor_reference_names: [
2713
'singles/osx/x86/vforkshell_bind_tcp'
2714
],
2715
dynamic_size: false,
2716
modules_pathname: modules_pathname,
2717
reference_name: 'osx/x86/vforkshell_bind_tcp'
2718
end
2719
2720
context 'osx/x86/vforkshell_reverse_tcp' do
2721
it_should_behave_like 'payload cached size is consistent',
2722
ancestor_reference_names: [
2723
'singles/osx/x86/vforkshell_reverse_tcp'
2724
],
2725
dynamic_size: false,
2726
modules_pathname: modules_pathname,
2727
reference_name: 'osx/x86/vforkshell_reverse_tcp'
2728
end
2729
2730
context 'php/bind_perl' do
2731
it_should_behave_like 'payload cached size is consistent',
2732
ancestor_reference_names: [
2733
'singles/php/bind_perl'
2734
],
2735
dynamic_size: true,
2736
modules_pathname: modules_pathname,
2737
reference_name: 'php/bind_perl'
2738
end
2739
2740
context 'php/bind_perl_ipv6' do
2741
it_should_behave_like 'payload cached size is consistent',
2742
ancestor_reference_names: [
2743
'singles/php/bind_perl_ipv6'
2744
],
2745
dynamic_size: true,
2746
modules_pathname: modules_pathname,
2747
reference_name: 'php/bind_perl_ipv6'
2748
end
2749
2750
context 'php/bind_php' do
2751
it_should_behave_like 'payload cached size is consistent',
2752
ancestor_reference_names: [
2753
'singles/php/bind_php'
2754
],
2755
dynamic_size: true,
2756
modules_pathname: modules_pathname,
2757
reference_name: 'php/bind_php'
2758
end
2759
2760
context 'php/bind_php_ipv6' do
2761
it_should_behave_like 'payload cached size is consistent',
2762
ancestor_reference_names: [
2763
'singles/php/bind_php_ipv6'
2764
],
2765
dynamic_size: true,
2766
modules_pathname: modules_pathname,
2767
reference_name: 'php/bind_php_ipv6'
2768
end
2769
2770
context 'php/download_exec' do
2771
it_should_behave_like 'payload cached size is consistent',
2772
ancestor_reference_names: [
2773
'singles/php/download_exec'
2774
],
2775
dynamic_size: true,
2776
modules_pathname: modules_pathname,
2777
reference_name: 'php/download_exec'
2778
end
2779
2780
context 'php/exec' do
2781
it_should_behave_like 'payload cached size is consistent',
2782
ancestor_reference_names: [
2783
'singles/php/exec'
2784
],
2785
dynamic_size: true,
2786
modules_pathname: modules_pathname,
2787
reference_name: 'php/exec'
2788
end
2789
2790
context 'php/meterpreter/bind_tcp' do
2791
it_should_behave_like 'payload cached size is consistent',
2792
ancestor_reference_names: [
2793
'stagers/php/bind_tcp',
2794
'stages/php/meterpreter'
2795
],
2796
dynamic_size: false,
2797
modules_pathname: modules_pathname,
2798
reference_name: 'php/meterpreter/bind_tcp'
2799
end
2800
2801
context 'php/meterpreter/bind_tcp_uuid' do
2802
it_should_behave_like 'payload cached size is consistent',
2803
ancestor_reference_names: [
2804
'stagers/php/bind_tcp_uuid',
2805
'stages/php/meterpreter'
2806
],
2807
dynamic_size: false,
2808
modules_pathname: modules_pathname,
2809
reference_name: 'php/meterpreter/bind_tcp_uuid'
2810
end
2811
2812
context 'php/meterpreter/bind_tcp_ipv6' do
2813
it_should_behave_like 'payload cached size is consistent',
2814
ancestor_reference_names: [
2815
'stagers/php/bind_tcp_ipv6',
2816
'stages/php/meterpreter'
2817
],
2818
dynamic_size: false,
2819
modules_pathname: modules_pathname,
2820
reference_name: 'php/meterpreter/bind_tcp_ipv6'
2821
end
2822
2823
context 'php/meterpreter/bind_tcp_ipv6_uuid' do
2824
it_should_behave_like 'payload cached size is consistent',
2825
ancestor_reference_names: [
2826
'stagers/php/bind_tcp_ipv6_uuid',
2827
'stages/php/meterpreter'
2828
],
2829
dynamic_size: false,
2830
modules_pathname: modules_pathname,
2831
reference_name: 'php/meterpreter/bind_tcp_ipv6_uuid'
2832
end
2833
2834
context 'php/meterpreter/reverse_tcp' do
2835
it_should_behave_like 'payload cached size is consistent',
2836
ancestor_reference_names: [
2837
'stagers/php/reverse_tcp',
2838
'stages/php/meterpreter'
2839
],
2840
dynamic_size: false,
2841
modules_pathname: modules_pathname,
2842
reference_name: 'php/meterpreter/reverse_tcp'
2843
end
2844
2845
context 'php/meterpreter/reverse_tcp_uuid' do
2846
it_should_behave_like 'payload cached size is consistent',
2847
ancestor_reference_names: [
2848
'stagers/php/reverse_tcp_uuid',
2849
'stages/php/meterpreter'
2850
],
2851
dynamic_size: false,
2852
modules_pathname: modules_pathname,
2853
reference_name: 'php/meterpreter/reverse_tcp_uuid'
2854
end
2855
2856
context 'php/meterpreter_reverse_tcp' do
2857
it_should_behave_like 'payload cached size is consistent',
2858
ancestor_reference_names: [
2859
'singles/php/meterpreter_reverse_tcp'
2860
],
2861
dynamic_size: false,
2862
modules_pathname: modules_pathname,
2863
reference_name: 'php/meterpreter_reverse_tcp'
2864
end
2865
2866
context 'php/reverse_perl' do
2867
it_should_behave_like 'payload cached size is consistent',
2868
ancestor_reference_names: [
2869
'singles/php/reverse_perl'
2870
],
2871
dynamic_size: true,
2872
modules_pathname: modules_pathname,
2873
reference_name: 'php/reverse_perl'
2874
end
2875
2876
context 'php/reverse_php' do
2877
it_should_behave_like 'payload cached size is consistent',
2878
ancestor_reference_names: [
2879
'singles/php/reverse_php'
2880
],
2881
dynamic_size: true,
2882
modules_pathname: modules_pathname,
2883
reference_name: 'php/reverse_php'
2884
end
2885
2886
context 'php/shell_findsock' do
2887
it_should_behave_like 'payload cached size is consistent',
2888
ancestor_reference_names: [
2889
'singles/php/shell_findsock'
2890
],
2891
dynamic_size: true,
2892
modules_pathname: modules_pathname,
2893
reference_name: 'php/shell_findsock'
2894
end
2895
2896
context 'python/exec' do
2897
it_should_behave_like 'payload cached size is consistent',
2898
ancestor_reference_names: [
2899
'singles/python/exec'
2900
],
2901
dynamic_size: false,
2902
modules_pathname: modules_pathname,
2903
reference_name: 'python/exec'
2904
end
2905
2906
context 'python/meterpreter/bind_tcp' do
2907
it_should_behave_like 'payload cached size is consistent',
2908
ancestor_reference_names: [
2909
'stagers/python/bind_tcp',
2910
'stages/python/meterpreter'
2911
],
2912
dynamic_size: true,
2913
modules_pathname: modules_pathname,
2914
reference_name: 'python/meterpreter/bind_tcp'
2915
end
2916
2917
context 'python/meterpreter/bind_tcp_uuid' do
2918
it_should_behave_like 'payload cached size is consistent',
2919
ancestor_reference_names: [
2920
'stagers/python/bind_tcp_uuid',
2921
'stages/python/meterpreter'
2922
],
2923
dynamic_size: true,
2924
modules_pathname: modules_pathname,
2925
reference_name: 'python/meterpreter/bind_tcp_uuid'
2926
end
2927
2928
context 'python/meterpreter/reverse_http' do
2929
it_should_behave_like 'payload cached size is consistent',
2930
ancestor_reference_names: [
2931
'stagers/python/reverse_http',
2932
'stages/python/meterpreter'
2933
],
2934
dynamic_size: true,
2935
modules_pathname: modules_pathname,
2936
reference_name: 'python/meterpreter/reverse_http'
2937
end
2938
2939
context 'python/meterpreter/reverse_https' do
2940
it_should_behave_like 'payload cached size is consistent',
2941
ancestor_reference_names: [
2942
'stagers/python/reverse_https',
2943
'stages/python/meterpreter'
2944
],
2945
dynamic_size: true,
2946
modules_pathname: modules_pathname,
2947
reference_name: 'python/meterpreter/reverse_https'
2948
end
2949
2950
context 'python/meterpreter/reverse_tcp' do
2951
it_should_behave_like 'payload cached size is consistent',
2952
ancestor_reference_names: [
2953
'stagers/python/reverse_tcp',
2954
'stages/python/meterpreter'
2955
],
2956
dynamic_size: true,
2957
modules_pathname: modules_pathname,
2958
reference_name: 'python/meterpreter/reverse_tcp'
2959
end
2960
2961
context 'python/meterpreter/reverse_tcp_ssl' do
2962
it_should_behave_like 'payload cached size is consistent',
2963
ancestor_reference_names: [
2964
'stagers/python/reverse_tcp_ssl',
2965
'stages/python/meterpreter'
2966
],
2967
dynamic_size: true,
2968
modules_pathname: modules_pathname,
2969
reference_name: 'python/meterpreter/reverse_tcp_ssl'
2970
end
2971
2972
context 'python/meterpreter/reverse_tcp_uuid' do
2973
it_should_behave_like 'payload cached size is consistent',
2974
ancestor_reference_names: [
2975
'stagers/python/reverse_tcp_uuid',
2976
'stages/python/meterpreter'
2977
],
2978
dynamic_size: true,
2979
modules_pathname: modules_pathname,
2980
reference_name: 'python/meterpreter/reverse_tcp_uuid'
2981
end
2982
2983
context 'python/meterpreter_bind_tcp' do
2984
it_should_behave_like 'payload cached size is consistent',
2985
ancestor_reference_names: [
2986
'singles/python/meterpreter_bind_tcp'
2987
],
2988
dynamic_size: true,
2989
modules_pathname: modules_pathname,
2990
reference_name: 'python/meterpreter_bind_tcp'
2991
end
2992
2993
context 'python/meterpreter_reverse_http' do
2994
it_should_behave_like 'payload cached size is consistent',
2995
ancestor_reference_names: [
2996
'singles/python/meterpreter_reverse_http'
2997
],
2998
dynamic_size: true,
2999
modules_pathname: modules_pathname,
3000
reference_name: 'python/meterpreter_reverse_http'
3001
end
3002
3003
context 'python/meterpreter_reverse_https' do
3004
it_should_behave_like 'payload cached size is consistent',
3005
ancestor_reference_names: [
3006
'singles/python/meterpreter_reverse_https'
3007
],
3008
dynamic_size: true,
3009
modules_pathname: modules_pathname,
3010
reference_name: 'python/meterpreter_reverse_https'
3011
end
3012
3013
context 'python/meterpreter_reverse_tcp' do
3014
it_should_behave_like 'payload cached size is consistent',
3015
ancestor_reference_names: [
3016
'singles/python/meterpreter_reverse_tcp'
3017
],
3018
dynamic_size: true,
3019
modules_pathname: modules_pathname,
3020
reference_name: 'python/meterpreter_reverse_tcp'
3021
end
3022
3023
context 'python/pingback_bind_tcp' do
3024
it_should_behave_like 'payload cached size is consistent',
3025
ancestor_reference_names: [
3026
'singles/python/pingback_bind_tcp'
3027
],
3028
dynamic_size: true,
3029
modules_pathname: modules_pathname,
3030
reference_name: 'python/pingback_bind_tcp'
3031
end
3032
3033
context 'python/pingback_reverse_tcp' do
3034
it_should_behave_like 'payload cached size is consistent',
3035
ancestor_reference_names: [
3036
'singles/python/pingback_reverse_tcp'
3037
],
3038
dynamic_size: true,
3039
modules_pathname: modules_pathname,
3040
reference_name: 'python/pingback_reverse_tcp'
3041
end
3042
3043
context 'python/shell_bind_tcp' do
3044
it_should_behave_like 'payload cached size is consistent',
3045
ancestor_reference_names: [
3046
'singles/python/shell_bind_tcp'
3047
],
3048
dynamic_size: true,
3049
modules_pathname: modules_pathname,
3050
reference_name: 'python/shell_bind_tcp'
3051
end
3052
3053
context 'python/shell_reverse_tcp' do
3054
it_should_behave_like 'payload cached size is consistent',
3055
ancestor_reference_names: [
3056
'singles/python/shell_reverse_tcp'
3057
],
3058
dynamic_size: true,
3059
modules_pathname: modules_pathname,
3060
reference_name: 'python/shell_reverse_tcp'
3061
end
3062
3063
context 'python/shell_reverse_sctp' do
3064
it_should_behave_like 'payload cached size is consistent',
3065
ancestor_reference_names: [
3066
'singles/python/shell_reverse_sctp'
3067
],
3068
dynamic_size: true,
3069
modules_pathname: modules_pathname,
3070
reference_name: 'python/shell_reverse_sctp'
3071
end
3072
3073
context 'python/shell_reverse_tcp_ssl' do
3074
it_should_behave_like 'payload cached size is consistent',
3075
ancestor_reference_names: [
3076
'singles/python/shell_reverse_tcp_ssl'
3077
],
3078
dynamic_size: true,
3079
modules_pathname: modules_pathname,
3080
reference_name: 'python/shell_reverse_tcp_ssl'
3081
end
3082
3083
context 'python/shell_reverse_udp' do
3084
it_should_behave_like 'payload cached size is consistent',
3085
ancestor_reference_names: [
3086
'singles/python/shell_reverse_udp'
3087
],
3088
dynamic_size: true,
3089
modules_pathname: modules_pathname,
3090
reference_name: 'python/shell_reverse_udp'
3091
end
3092
3093
context 'ruby/pingback_bind_tcp' do
3094
it_should_behave_like 'payload cached size is consistent',
3095
ancestor_reference_names: [
3096
'singles/ruby/pingback_bind_tcp'
3097
],
3098
dynamic_size: false,
3099
modules_pathname: modules_pathname,
3100
reference_name: 'ruby/pingback_bind_tcp'
3101
end
3102
3103
context 'ruby/pingback_reverse_tcp' do
3104
it_should_behave_like 'payload cached size is consistent',
3105
ancestor_reference_names: [
3106
'singles/ruby/pingback_reverse_tcp'
3107
],
3108
dynamic_size: false,
3109
modules_pathname: modules_pathname,
3110
reference_name: 'ruby/pingback_reverse_tcp'
3111
end
3112
3113
context 'ruby/shell_bind_tcp' do
3114
it_should_behave_like 'payload cached size is consistent',
3115
ancestor_reference_names: [
3116
'singles/ruby/shell_bind_tcp'
3117
],
3118
dynamic_size: false,
3119
modules_pathname: modules_pathname,
3120
reference_name: 'ruby/shell_bind_tcp'
3121
end
3122
3123
context 'ruby/shell_bind_tcp_ipv6' do
3124
it_should_behave_like 'payload cached size is consistent',
3125
ancestor_reference_names: [
3126
'singles/ruby/shell_bind_tcp_ipv6'
3127
],
3128
dynamic_size: false,
3129
modules_pathname: modules_pathname,
3130
reference_name: 'ruby/shell_bind_tcp_ipv6'
3131
end
3132
3133
context 'ruby/shell_reverse_tcp' do
3134
it_should_behave_like 'payload cached size is consistent',
3135
ancestor_reference_names: [
3136
'singles/ruby/shell_reverse_tcp'
3137
],
3138
dynamic_size: false,
3139
modules_pathname: modules_pathname,
3140
reference_name: 'ruby/shell_reverse_tcp'
3141
end
3142
3143
context 'ruby/shell_reverse_tcp_ssl' do
3144
it_should_behave_like 'payload cached size is consistent',
3145
ancestor_reference_names: [
3146
'singles/ruby/shell_reverse_tcp_ssl'
3147
],
3148
dynamic_size: false,
3149
modules_pathname: modules_pathname,
3150
reference_name: 'ruby/shell_reverse_tcp_ssl'
3151
end
3152
3153
context 'solaris/sparc/shell_bind_tcp' do
3154
it_should_behave_like 'payload cached size is consistent',
3155
ancestor_reference_names: [
3156
'singles/solaris/sparc/shell_bind_tcp'
3157
],
3158
dynamic_size: false,
3159
modules_pathname: modules_pathname,
3160
reference_name: 'solaris/sparc/shell_bind_tcp'
3161
end
3162
3163
context 'solaris/sparc/shell_find_port' do
3164
it_should_behave_like 'payload cached size is consistent',
3165
ancestor_reference_names: [
3166
'singles/solaris/sparc/shell_find_port'
3167
],
3168
dynamic_size: false,
3169
modules_pathname: modules_pathname,
3170
reference_name: 'solaris/sparc/shell_find_port'
3171
end
3172
3173
context 'solaris/sparc/shell_reverse_tcp' do
3174
it_should_behave_like 'payload cached size is consistent',
3175
ancestor_reference_names: [
3176
'singles/solaris/sparc/shell_reverse_tcp'
3177
],
3178
dynamic_size: false,
3179
modules_pathname: modules_pathname,
3180
reference_name: 'solaris/sparc/shell_reverse_tcp'
3181
end
3182
3183
context 'solaris/x86/shell_bind_tcp' do
3184
it_should_behave_like 'payload cached size is consistent',
3185
ancestor_reference_names: [
3186
'singles/solaris/x86/shell_bind_tcp'
3187
],
3188
dynamic_size: false,
3189
modules_pathname: modules_pathname,
3190
reference_name: 'solaris/x86/shell_bind_tcp'
3191
end
3192
3193
context 'solaris/x86/shell_find_port' do
3194
it_should_behave_like 'payload cached size is consistent',
3195
ancestor_reference_names: [
3196
'singles/solaris/x86/shell_find_port'
3197
],
3198
dynamic_size: false,
3199
modules_pathname: modules_pathname,
3200
reference_name: 'solaris/x86/shell_find_port'
3201
end
3202
3203
context 'solaris/x86/shell_reverse_tcp' do
3204
it_should_behave_like 'payload cached size is consistent',
3205
ancestor_reference_names: [
3206
'singles/solaris/x86/shell_reverse_tcp'
3207
],
3208
dynamic_size: false,
3209
modules_pathname: modules_pathname,
3210
reference_name: 'solaris/x86/shell_reverse_tcp'
3211
end
3212
3213
context 'tty/unix/interact' do
3214
it_should_behave_like 'payload cached size is consistent',
3215
ancestor_reference_names: [
3216
'singles/tty/unix/interact'
3217
],
3218
dynamic_size: false,
3219
modules_pathname: modules_pathname,
3220
reference_name: 'tty/unix/interact'
3221
end
3222
3223
context 'windows/adduser' do
3224
it_should_behave_like 'payload cached size is consistent',
3225
ancestor_reference_names: [
3226
'singles/windows/adduser'
3227
],
3228
dynamic_size: false,
3229
modules_pathname: modules_pathname,
3230
reference_name: 'windows/adduser'
3231
end
3232
3233
context 'windows/custom/bind_ipv6_tcp' do
3234
it_should_behave_like 'payload is not cached',
3235
ancestor_reference_names: [
3236
'stagers/windows/bind_ipv6_tcp',
3237
'stages/windows/custom'
3238
],
3239
reference_name: 'windows/custom/bind_ipv6_tcp'
3240
end
3241
3242
context 'windows/custom/bind_ipv6_tcp_uuid' do
3243
it_should_behave_like 'payload is not cached',
3244
ancestor_reference_names: [
3245
'stagers/windows/bind_ipv6_tcp_uuid',
3246
'stages/windows/custom'
3247
],
3248
reference_name: 'windows/custom/bind_ipv6_tcp_uuid'
3249
end
3250
3251
context 'windows/custom/bind_named_pipe' do
3252
it_should_behave_like 'payload is not cached',
3253
ancestor_reference_names: [
3254
'stagers/windows/bind_named_pipe',
3255
'stages/windows/custom'
3256
],
3257
reference_name: 'windows/custom/bind_named_pipe'
3258
end
3259
3260
context 'windows/custom/bind_tcp' do
3261
it_should_behave_like 'payload is not cached',
3262
ancestor_reference_names: [
3263
'stagers/windows/bind_tcp',
3264
'stages/windows/custom'
3265
],
3266
reference_name: 'windows/custom/bind_tcp'
3267
end
3268
3269
context 'windows/custom/bind_tcp_rc4' do
3270
it_should_behave_like 'payload is not cached',
3271
ancestor_reference_names: [
3272
'stagers/windows/bind_tcp_rc4',
3273
'stages/windows/custom'
3274
],
3275
reference_name: 'windows/custom/bind_tcp_rc4'
3276
end
3277
3278
context 'windows/custom/bind_tcp_uuid' do
3279
it_should_behave_like 'payload is not cached',
3280
ancestor_reference_names: [
3281
'stagers/windows/bind_tcp_uuid',
3282
'stages/windows/custom'
3283
],
3284
reference_name: 'windows/custom/bind_tcp_uuid'
3285
end
3286
3287
context 'windows/custom/reverse_http' do
3288
it_should_behave_like 'payload is not cached',
3289
ancestor_reference_names: [
3290
'stagers/windows/reverse_http',
3291
'stages/windows/custom'
3292
],
3293
reference_name: 'windows/custom/reverse_http'
3294
end
3295
3296
context 'windows/custom/reverse_https' do
3297
it_should_behave_like 'payload is not cached',
3298
ancestor_reference_names: [
3299
'stagers/windows/reverse_https',
3300
'stages/windows/custom'
3301
],
3302
reference_name: 'windows/custom/reverse_https'
3303
end
3304
3305
context 'windows/custom/reverse_named_pipe' do
3306
it_should_behave_like 'payload is not cached',
3307
ancestor_reference_names: [
3308
'stagers/windows/reverse_named_pipe',
3309
'stages/windows/custom'
3310
],
3311
reference_name: 'windows/custom/reverse_named_pipe'
3312
end
3313
3314
context 'windows/custom/reverse_tcp' do
3315
it_should_behave_like 'payload is not cached',
3316
ancestor_reference_names: [
3317
'stagers/windows/reverse_tcp',
3318
'stages/windows/custom'
3319
],
3320
reference_name: 'windows/custom/reverse_tcp'
3321
end
3322
3323
context 'windows/custom/reverse_tcp_rc4' do
3324
it_should_behave_like 'payload is not cached',
3325
ancestor_reference_names: [
3326
'stagers/windows/reverse_tcp_rc4',
3327
'stages/windows/custom'
3328
],
3329
reference_name: 'windows/custom/reverse_tcp_rc4'
3330
end
3331
3332
context 'windows/custom/reverse_tcp_uuid' do
3333
it_should_behave_like 'payload is not cached',
3334
ancestor_reference_names: [
3335
'stagers/windows/reverse_tcp_uuid',
3336
'stages/windows/custom'
3337
],
3338
reference_name: 'windows/custom/reverse_tcp_uuid'
3339
end
3340
3341
context 'windows/custom/reverse_winhttp' do
3342
it_should_behave_like 'payload is not cached',
3343
ancestor_reference_names: [
3344
'stagers/windows/reverse_winhttp',
3345
'stages/windows/custom'
3346
],
3347
reference_name: 'windows/custom/reverse_winhttp'
3348
end
3349
3350
context 'windows/custom/reverse_winhttps' do
3351
it_should_behave_like 'payload is not cached',
3352
ancestor_reference_names: [
3353
'stagers/windows/reverse_winhttps',
3354
'stages/windows/custom'
3355
],
3356
reference_name: 'windows/custom/reverse_winhttps'
3357
end
3358
3359
context 'windows/dllinject/bind_ipv6_tcp' do
3360
it_should_behave_like 'payload cached size is consistent',
3361
ancestor_reference_names: [
3362
'stagers/windows/bind_ipv6_tcp',
3363
'stages/windows/dllinject'
3364
],
3365
dynamic_size: false,
3366
modules_pathname: modules_pathname,
3367
reference_name: 'windows/dllinject/bind_ipv6_tcp'
3368
end
3369
3370
context 'windows/dllinject/bind_named_pipe' do
3371
it_should_behave_like 'payload cached size is consistent',
3372
ancestor_reference_names: [
3373
'stagers/windows/bind_named_pipe',
3374
'stages/windows/dllinject'
3375
],
3376
dynamic_size: false,
3377
modules_pathname: modules_pathname,
3378
reference_name: 'windows/dllinject/bind_named_pipe'
3379
end
3380
3381
context 'windows/dllinject/bind_nonx_tcp' do
3382
it_should_behave_like 'payload cached size is consistent',
3383
ancestor_reference_names: [
3384
'stagers/windows/bind_nonx_tcp',
3385
'stages/windows/dllinject'
3386
],
3387
dynamic_size: false,
3388
modules_pathname: modules_pathname,
3389
reference_name: 'windows/dllinject/bind_nonx_tcp'
3390
end
3391
3392
context 'windows/dllinject/bind_tcp' do
3393
it_should_behave_like 'payload cached size is consistent',
3394
ancestor_reference_names: [
3395
'stagers/windows/bind_tcp',
3396
'stages/windows/dllinject'
3397
],
3398
dynamic_size: false,
3399
modules_pathname: modules_pathname,
3400
reference_name: 'windows/dllinject/bind_tcp'
3401
end
3402
3403
context 'windows/dllinject/bind_tcp_rc4' do
3404
it_should_behave_like 'payload cached size is consistent',
3405
ancestor_reference_names: [
3406
'stagers/windows/bind_tcp_rc4',
3407
'stages/windows/dllinject'
3408
],
3409
dynamic_size: false,
3410
modules_pathname: modules_pathname,
3411
reference_name: 'windows/dllinject/bind_tcp_rc4'
3412
end
3413
3414
context 'windows/dllinject/find_tag' do
3415
it_should_behave_like 'payload cached size is consistent',
3416
ancestor_reference_names: [
3417
'stagers/windows/findtag_ord',
3418
'stages/windows/dllinject'
3419
],
3420
dynamic_size: false,
3421
modules_pathname: modules_pathname,
3422
reference_name: 'windows/dllinject/find_tag'
3423
end
3424
3425
context 'windows/dllinject/reverse_hop_http' do
3426
it_should_behave_like 'payload cached size is consistent',
3427
ancestor_reference_names: [
3428
'stagers/windows/reverse_hop_http',
3429
'stages/windows/dllinject'
3430
],
3431
dynamic_size: false,
3432
modules_pathname: modules_pathname,
3433
reference_name: 'windows/dllinject/reverse_hop_http'
3434
end
3435
3436
context 'windows/dllinject/reverse_http' do
3437
it_should_behave_like 'payload cached size is consistent',
3438
ancestor_reference_names: [
3439
'stagers/windows/reverse_http',
3440
'stages/windows/dllinject'
3441
],
3442
dynamic_size: false,
3443
modules_pathname: modules_pathname,
3444
reference_name: 'windows/dllinject/reverse_http'
3445
end
3446
3447
context 'windows/dllinject/reverse_http_proxy_pstore' do
3448
it_should_behave_like 'payload cached size is consistent',
3449
ancestor_reference_names: [
3450
'stagers/windows/reverse_http_proxy_pstore',
3451
'stages/windows/dllinject'
3452
],
3453
dynamic_size: false,
3454
modules_pathname: modules_pathname,
3455
reference_name: 'windows/dllinject/reverse_http_proxy_pstore'
3456
end
3457
3458
context 'windows/dllinject/reverse_ipv6_tcp' do
3459
it_should_behave_like 'payload cached size is consistent',
3460
ancestor_reference_names: [
3461
'stagers/windows/reverse_ipv6_tcp',
3462
'stages/windows/dllinject'
3463
],
3464
dynamic_size: false,
3465
modules_pathname: modules_pathname,
3466
reference_name: 'windows/dllinject/reverse_ipv6_tcp'
3467
end
3468
3469
context 'windows/dllinject/reverse_nonx_tcp' do
3470
it_should_behave_like 'payload cached size is consistent',
3471
ancestor_reference_names: [
3472
'stagers/windows/reverse_nonx_tcp',
3473
'stages/windows/dllinject'
3474
],
3475
dynamic_size: false,
3476
modules_pathname: modules_pathname,
3477
reference_name: 'windows/dllinject/reverse_nonx_tcp'
3478
end
3479
3480
context 'windows/dllinject/reverse_ord_tcp' do
3481
it_should_behave_like 'payload cached size is consistent',
3482
ancestor_reference_names: [
3483
'stagers/windows/reverse_ord_tcp',
3484
'stages/windows/dllinject'
3485
],
3486
dynamic_size: false,
3487
modules_pathname: modules_pathname,
3488
reference_name: 'windows/dllinject/reverse_ord_tcp'
3489
end
3490
3491
context 'windows/dllinject/reverse_tcp' do
3492
it_should_behave_like 'payload cached size is consistent',
3493
ancestor_reference_names: [
3494
'stagers/windows/reverse_tcp',
3495
'stages/windows/dllinject'
3496
],
3497
dynamic_size: false,
3498
modules_pathname: modules_pathname,
3499
reference_name: 'windows/dllinject/reverse_tcp'
3500
end
3501
3502
context 'windows/dllinject/reverse_tcp_allports' do
3503
it_should_behave_like 'payload cached size is consistent',
3504
ancestor_reference_names: [
3505
'stagers/windows/reverse_tcp_allports',
3506
'stages/windows/dllinject'
3507
],
3508
dynamic_size: false,
3509
modules_pathname: modules_pathname,
3510
reference_name: 'windows/dllinject/reverse_tcp_allports'
3511
end
3512
3513
context 'windows/dllinject/reverse_tcp_dns' do
3514
it_should_behave_like 'payload cached size is consistent',
3515
ancestor_reference_names: [
3516
'stagers/windows/reverse_tcp_dns',
3517
'stages/windows/dllinject'
3518
],
3519
dynamic_size: false,
3520
modules_pathname: modules_pathname,
3521
reference_name: 'windows/dllinject/reverse_tcp_dns'
3522
end
3523
3524
context 'windows/dllinject/reverse_tcp_rc4' do
3525
it_should_behave_like 'payload cached size is consistent',
3526
ancestor_reference_names: [
3527
'stagers/windows/reverse_tcp_rc4',
3528
'stages/windows/dllinject'
3529
],
3530
dynamic_size: false,
3531
modules_pathname: modules_pathname,
3532
reference_name: 'windows/dllinject/reverse_tcp_rc4'
3533
end
3534
3535
context 'windows/dllinject/reverse_tcp_rc4_dns' do
3536
it_should_behave_like 'payload cached size is consistent',
3537
ancestor_reference_names: [
3538
'stagers/windows/reverse_tcp_rc4_dns',
3539
'stages/windows/dllinject'
3540
],
3541
dynamic_size: false,
3542
modules_pathname: modules_pathname,
3543
reference_name: 'windows/dllinject/reverse_tcp_rc4_dns'
3544
end
3545
3546
context 'windows/dns_txt_query_exec' do
3547
it_should_behave_like 'payload cached size is consistent',
3548
ancestor_reference_names: [
3549
'singles/windows/dns_txt_query_exec'
3550
],
3551
dynamic_size: false,
3552
modules_pathname: modules_pathname,
3553
reference_name: 'windows/dns_txt_query_exec'
3554
end
3555
3556
context 'windows/download_exec' do
3557
it_should_behave_like 'payload cached size is consistent',
3558
ancestor_reference_names: [
3559
'singles/windows/download_exec'
3560
],
3561
dynamic_size: false,
3562
modules_pathname: modules_pathname,
3563
reference_name: 'windows/download_exec'
3564
end
3565
3566
context 'windows/encrypted_shell/reverse_tcp' do
3567
it_should_behave_like 'payload is not cached',
3568
ancestor_reference_names: [
3569
'stagers/windows/encrypted_reverse_tcp',
3570
'stages/windows/encrypted_shell'
3571
],
3572
reference_name: 'windows/encrypted_shell/reverse_tcp'
3573
end
3574
3575
context 'windows/encrypted_shell_reverse_tcp' do
3576
it_should_behave_like 'payload is not cached',
3577
ancestor_reference_names: [
3578
'singles/windows/encrypted_shell_reverse_tcp'
3579
],
3580
reference_name: 'windows/encrypted_shell_reverse_tcp'
3581
end
3582
3583
context 'windows/exec' do
3584
it_should_behave_like 'payload cached size is consistent',
3585
ancestor_reference_names: [
3586
'singles/windows/exec'
3587
],
3588
dynamic_size: false,
3589
modules_pathname: modules_pathname,
3590
reference_name: 'windows/exec'
3591
end
3592
3593
context 'windows/format_all_drives' do
3594
it_should_behave_like 'payload cached size is consistent',
3595
ancestor_reference_names: [
3596
'singles/windows/format_all_drives'
3597
],
3598
dynamic_size: false,
3599
modules_pathname: modules_pathname,
3600
reference_name: 'windows/format_all_drives'
3601
end
3602
3603
context 'windows/loadlibrary' do
3604
it_should_behave_like 'payload cached size is consistent',
3605
ancestor_reference_names: [
3606
'singles/windows/loadlibrary'
3607
],
3608
dynamic_size: false,
3609
modules_pathname: modules_pathname,
3610
reference_name: 'windows/loadlibrary'
3611
end
3612
3613
context 'windows/messagebox' do
3614
it_should_behave_like 'payload cached size is consistent',
3615
ancestor_reference_names: [
3616
'singles/windows/messagebox'
3617
],
3618
dynamic_size: false,
3619
modules_pathname: modules_pathname,
3620
reference_name: 'windows/messagebox'
3621
end
3622
3623
context 'windows/meterpreter_bind_named_pipe' do
3624
it_should_behave_like 'payload cached size is consistent',
3625
ancestor_reference_names: [
3626
'singles/windows/meterpreter_bind_named_pipe'
3627
],
3628
dynamic_size: false,
3629
modules_pathname: modules_pathname,
3630
reference_name: 'windows/meterpreter_bind_named_pipe'
3631
end
3632
3633
context 'windows/meterpreter_bind_tcp' do
3634
it_should_behave_like 'payload cached size is consistent',
3635
ancestor_reference_names: [
3636
'singles/windows/meterpreter_bind_tcp'
3637
],
3638
dynamic_size: false,
3639
modules_pathname: modules_pathname,
3640
reference_name: 'windows/meterpreter_bind_tcp'
3641
end
3642
3643
context 'windows/meterpreter_reverse_http' do
3644
it_should_behave_like 'payload cached size is consistent',
3645
ancestor_reference_names: [
3646
'singles/windows/meterpreter_reverse_http'
3647
],
3648
dynamic_size: false,
3649
modules_pathname: modules_pathname,
3650
reference_name: 'windows/meterpreter_reverse_http'
3651
end
3652
3653
context 'windows/meterpreter_reverse_https' do
3654
it_should_behave_like 'payload cached size is consistent',
3655
ancestor_reference_names: [
3656
'singles/windows/meterpreter_reverse_https'
3657
],
3658
dynamic_size: false,
3659
modules_pathname: modules_pathname,
3660
reference_name: 'windows/meterpreter_reverse_https'
3661
end
3662
3663
context 'windows/meterpreter_reverse_ipv6_tcp' do
3664
it_should_behave_like 'payload cached size is consistent',
3665
ancestor_reference_names: [
3666
'singles/windows/meterpreter_reverse_ipv6_tcp'
3667
],
3668
dynamic_size: false,
3669
modules_pathname: modules_pathname,
3670
reference_name: 'windows/meterpreter_reverse_ipv6_tcp'
3671
end
3672
3673
context 'windows/meterpreter_reverse_tcp' do
3674
it_should_behave_like 'payload cached size is consistent',
3675
ancestor_reference_names: [
3676
'singles/windows/meterpreter_reverse_tcp'
3677
],
3678
dynamic_size: false,
3679
modules_pathname: modules_pathname,
3680
reference_name: 'windows/meterpreter_reverse_tcp'
3681
end
3682
3683
context 'windows/meterpreter/bind_ipv6_tcp' do
3684
it_should_behave_like 'payload cached size is consistent',
3685
ancestor_reference_names: [
3686
'stagers/windows/bind_ipv6_tcp',
3687
'stages/windows/meterpreter'
3688
],
3689
dynamic_size: false,
3690
modules_pathname: modules_pathname,
3691
reference_name: 'windows/meterpreter/bind_ipv6_tcp'
3692
end
3693
3694
context 'windows/meterpreter/bind_ipv6_tcp_uuid' do
3695
it_should_behave_like 'payload cached size is consistent',
3696
ancestor_reference_names: [
3697
'stagers/windows/bind_ipv6_tcp_uuid',
3698
'stages/windows/meterpreter'
3699
],
3700
dynamic_size: false,
3701
modules_pathname: modules_pathname,
3702
reference_name: 'windows/meterpreter/bind_ipv6_tcp_uuid'
3703
end
3704
3705
context 'windows/meterpreter/bind_named_pipe' do
3706
it_should_behave_like 'payload cached size is consistent',
3707
ancestor_reference_names: [
3708
'stagers/windows/bind_named_pipe',
3709
'stages/windows/meterpreter'
3710
],
3711
dynamic_size: false,
3712
modules_pathname: modules_pathname,
3713
reference_name: 'windows/meterpreter/bind_named_pipe'
3714
end
3715
3716
context 'windows/meterpreter/bind_nonx_tcp' do
3717
it_should_behave_like 'payload cached size is consistent',
3718
ancestor_reference_names: [
3719
'stagers/windows/bind_nonx_tcp',
3720
'stages/windows/meterpreter'
3721
],
3722
dynamic_size: false,
3723
modules_pathname: modules_pathname,
3724
reference_name: 'windows/meterpreter/bind_nonx_tcp'
3725
end
3726
3727
context 'windows/meterpreter/bind_tcp' do
3728
it_should_behave_like 'payload cached size is consistent',
3729
ancestor_reference_names: [
3730
'stagers/windows/bind_tcp',
3731
'stages/windows/meterpreter'
3732
],
3733
dynamic_size: false,
3734
modules_pathname: modules_pathname,
3735
reference_name: 'windows/meterpreter/bind_tcp'
3736
end
3737
3738
context 'windows/meterpreter/bind_tcp_rc4' do
3739
it_should_behave_like 'payload cached size is consistent',
3740
ancestor_reference_names: [
3741
'stagers/windows/bind_tcp_rc4',
3742
'stages/windows/meterpreter'
3743
],
3744
dynamic_size: false,
3745
modules_pathname: modules_pathname,
3746
reference_name: 'windows/meterpreter/bind_tcp_rc4'
3747
end
3748
3749
context 'windows/meterpreter/bind_tcp_uuid' do
3750
it_should_behave_like 'payload cached size is consistent',
3751
ancestor_reference_names: [
3752
'stagers/windows/bind_tcp_uuid',
3753
'stages/windows/meterpreter'
3754
],
3755
dynamic_size: false,
3756
modules_pathname: modules_pathname,
3757
reference_name: 'windows/meterpreter/bind_tcp_uuid'
3758
end
3759
3760
context 'windows/meterpreter/find_tag' do
3761
it_should_behave_like 'payload cached size is consistent',
3762
ancestor_reference_names: [
3763
'stagers/windows/findtag_ord',
3764
'stages/windows/meterpreter'
3765
],
3766
dynamic_size: false,
3767
modules_pathname: modules_pathname,
3768
reference_name: 'windows/meterpreter/find_tag'
3769
end
3770
3771
context 'windows/meterpreter/reverse_hop_http' do
3772
it_should_behave_like 'payload cached size is consistent',
3773
ancestor_reference_names: [
3774
'stagers/windows/reverse_hop_http',
3775
'stages/windows/meterpreter'
3776
],
3777
dynamic_size: false,
3778
modules_pathname: modules_pathname,
3779
reference_name: 'windows/meterpreter/reverse_hop_http'
3780
end
3781
3782
context 'windows/meterpreter/reverse_http' do
3783
it_should_behave_like 'payload cached size is consistent',
3784
ancestor_reference_names: [
3785
'stagers/windows/reverse_http',
3786
'stages/windows/meterpreter'
3787
],
3788
dynamic_size: false,
3789
modules_pathname: modules_pathname,
3790
reference_name: 'windows/meterpreter/reverse_http'
3791
end
3792
3793
context 'windows/meterpreter/reverse_http_proxy_pstore' do
3794
it_should_behave_like 'payload cached size is consistent',
3795
ancestor_reference_names: [
3796
'stagers/windows/reverse_http_proxy_pstore',
3797
'stages/windows/meterpreter'
3798
],
3799
dynamic_size: false,
3800
modules_pathname: modules_pathname,
3801
reference_name: 'windows/meterpreter/reverse_http_proxy_pstore'
3802
end
3803
3804
context 'windows/meterpreter/reverse_https' do
3805
it_should_behave_like 'payload cached size is consistent',
3806
ancestor_reference_names: [
3807
'stagers/windows/reverse_https',
3808
'stages/windows/meterpreter'
3809
],
3810
dynamic_size: false,
3811
modules_pathname: modules_pathname,
3812
reference_name: 'windows/meterpreter/reverse_https'
3813
end
3814
3815
context 'windows/meterpreter/reverse_https_proxy' do
3816
it_should_behave_like 'payload cached size is consistent',
3817
ancestor_reference_names: [
3818
'stagers/windows/reverse_https_proxy',
3819
'stages/windows/meterpreter'
3820
],
3821
dynamic_size: false,
3822
modules_pathname: modules_pathname,
3823
reference_name: 'windows/meterpreter/reverse_https_proxy'
3824
end
3825
3826
context 'windows/meterpreter/reverse_ipv6_tcp' do
3827
it_should_behave_like 'payload cached size is consistent',
3828
ancestor_reference_names: [
3829
'stagers/windows/reverse_ipv6_tcp',
3830
'stages/windows/meterpreter'
3831
],
3832
dynamic_size: false,
3833
modules_pathname: modules_pathname,
3834
reference_name: 'windows/meterpreter/reverse_ipv6_tcp'
3835
end
3836
3837
context 'windows/meterpreter/reverse_named_pipe' do
3838
it_should_behave_like 'payload cached size is consistent',
3839
ancestor_reference_names: [
3840
'stagers/windows/reverse_named_pipe',
3841
'stages/windows/meterpreter'
3842
],
3843
dynamic_size: false,
3844
modules_pathname: modules_pathname,
3845
reference_name: 'windows/meterpreter/reverse_named_pipe'
3846
end
3847
3848
context 'windows/meterpreter/reverse_nonx_tcp' do
3849
it_should_behave_like 'payload cached size is consistent',
3850
ancestor_reference_names: [
3851
'stagers/windows/reverse_nonx_tcp',
3852
'stages/windows/meterpreter'
3853
],
3854
dynamic_size: false,
3855
modules_pathname: modules_pathname,
3856
reference_name: 'windows/meterpreter/reverse_nonx_tcp'
3857
end
3858
3859
context 'windows/meterpreter/reverse_ord_tcp' do
3860
it_should_behave_like 'payload cached size is consistent',
3861
ancestor_reference_names: [
3862
'stagers/windows/reverse_ord_tcp',
3863
'stages/windows/meterpreter'
3864
],
3865
dynamic_size: false,
3866
modules_pathname: modules_pathname,
3867
reference_name: 'windows/meterpreter/reverse_ord_tcp'
3868
end
3869
3870
context 'windows/meterpreter/reverse_tcp' do
3871
it_should_behave_like 'payload cached size is consistent',
3872
ancestor_reference_names: [
3873
'stagers/windows/reverse_tcp',
3874
'stages/windows/meterpreter'
3875
],
3876
dynamic_size: false,
3877
modules_pathname: modules_pathname,
3878
reference_name: 'windows/meterpreter/reverse_tcp'
3879
end
3880
3881
context 'windows/meterpreter/reverse_tcp_allports' do
3882
it_should_behave_like 'payload cached size is consistent',
3883
ancestor_reference_names: [
3884
'stagers/windows/reverse_tcp_allports',
3885
'stages/windows/meterpreter'
3886
],
3887
dynamic_size: false,
3888
modules_pathname: modules_pathname,
3889
reference_name: 'windows/meterpreter/reverse_tcp_allports'
3890
end
3891
3892
context 'windows/meterpreter/reverse_tcp_dns' do
3893
it_should_behave_like 'payload cached size is consistent',
3894
ancestor_reference_names: [
3895
'stagers/windows/reverse_tcp_dns',
3896
'stages/windows/meterpreter'
3897
],
3898
dynamic_size: false,
3899
modules_pathname: modules_pathname,
3900
reference_name: 'windows/meterpreter/reverse_tcp_dns'
3901
end
3902
3903
context 'windows/meterpreter/reverse_tcp_rc4' do
3904
it_should_behave_like 'payload cached size is consistent',
3905
ancestor_reference_names: [
3906
'stagers/windows/reverse_tcp_rc4',
3907
'stages/windows/meterpreter'
3908
],
3909
dynamic_size: false,
3910
modules_pathname: modules_pathname,
3911
reference_name: 'windows/meterpreter/reverse_tcp_rc4'
3912
end
3913
3914
context 'windows/meterpreter/reverse_tcp_rc4_dns' do
3915
it_should_behave_like 'payload cached size is consistent',
3916
ancestor_reference_names: [
3917
'stagers/windows/reverse_tcp_rc4_dns',
3918
'stages/windows/meterpreter'
3919
],
3920
dynamic_size: false,
3921
modules_pathname: modules_pathname,
3922
reference_name: 'windows/meterpreter/reverse_tcp_rc4_dns'
3923
end
3924
3925
context 'windows/meterpreter/reverse_tcp_uuid' do
3926
it_should_behave_like 'payload cached size is consistent',
3927
ancestor_reference_names: [
3928
'stagers/windows/reverse_tcp_uuid',
3929
'stages/windows/meterpreter'
3930
],
3931
dynamic_size: false,
3932
modules_pathname: modules_pathname,
3933
reference_name: 'windows/meterpreter/reverse_tcp_uuid'
3934
end
3935
3936
context 'windows/metsvc_bind_tcp' do
3937
it_should_behave_like 'payload cached size is consistent',
3938
ancestor_reference_names: [
3939
'singles/windows/metsvc_bind_tcp'
3940
],
3941
dynamic_size: false,
3942
modules_pathname: modules_pathname,
3943
reference_name: 'windows/metsvc_bind_tcp'
3944
end
3945
3946
context 'windows/metsvc_reverse_tcp' do
3947
it_should_behave_like 'payload cached size is consistent',
3948
ancestor_reference_names: [
3949
'singles/windows/metsvc_reverse_tcp'
3950
],
3951
dynamic_size: false,
3952
modules_pathname: modules_pathname,
3953
reference_name: 'windows/metsvc_reverse_tcp'
3954
end
3955
3956
context 'windows/patchupdllinject/bind_ipv6_tcp' do
3957
it_should_behave_like 'payload cached size is consistent',
3958
ancestor_reference_names: [
3959
'stagers/windows/bind_ipv6_tcp',
3960
'stages/windows/patchupdllinject'
3961
],
3962
dynamic_size: false,
3963
modules_pathname: modules_pathname,
3964
reference_name: 'windows/patchupdllinject/bind_ipv6_tcp'
3965
end
3966
3967
context 'windows/patchupdllinject/bind_named_pipe' do
3968
it_should_behave_like 'payload cached size is consistent',
3969
ancestor_reference_names: [
3970
'stagers/windows/bind_named_pipe',
3971
'stages/windows/patchupdllinject'
3972
],
3973
dynamic_size: false,
3974
modules_pathname: modules_pathname,
3975
reference_name: 'windows/patchupdllinject/bind_named_pipe'
3976
end
3977
3978
context 'windows/patchupdllinject/bind_nonx_tcp' do
3979
it_should_behave_like 'payload cached size is consistent',
3980
ancestor_reference_names: [
3981
'stagers/windows/bind_nonx_tcp',
3982
'stages/windows/patchupdllinject'
3983
],
3984
dynamic_size: false,
3985
modules_pathname: modules_pathname,
3986
reference_name: 'windows/patchupdllinject/bind_nonx_tcp'
3987
end
3988
3989
context 'windows/patchupdllinject/bind_tcp' do
3990
it_should_behave_like 'payload cached size is consistent',
3991
ancestor_reference_names: [
3992
'stagers/windows/bind_tcp',
3993
'stages/windows/patchupdllinject'
3994
],
3995
dynamic_size: false,
3996
modules_pathname: modules_pathname,
3997
reference_name: 'windows/patchupdllinject/bind_tcp'
3998
end
3999
4000
context 'windows/patchupdllinject/bind_tcp_rc4' do
4001
it_should_behave_like 'payload cached size is consistent',
4002
ancestor_reference_names: [
4003
'stagers/windows/bind_tcp_rc4',
4004
'stages/windows/patchupdllinject'
4005
],
4006
dynamic_size: false,
4007
modules_pathname: modules_pathname,
4008
reference_name: 'windows/patchupdllinject/bind_tcp_rc4'
4009
end
4010
4011
context 'windows/patchupdllinject/find_tag' do
4012
it_should_behave_like 'payload cached size is consistent',
4013
ancestor_reference_names: [
4014
'stagers/windows/findtag_ord',
4015
'stages/windows/patchupdllinject'
4016
],
4017
dynamic_size: false,
4018
modules_pathname: modules_pathname,
4019
reference_name: 'windows/patchupdllinject/find_tag'
4020
end
4021
4022
context 'windows/patchupdllinject/reverse_ipv6_tcp' do
4023
it_should_behave_like 'payload cached size is consistent',
4024
ancestor_reference_names: [
4025
'stagers/windows/reverse_ipv6_tcp',
4026
'stages/windows/patchupdllinject'
4027
],
4028
dynamic_size: false,
4029
modules_pathname: modules_pathname,
4030
reference_name: 'windows/patchupdllinject/reverse_ipv6_tcp'
4031
end
4032
4033
context 'windows/patchupdllinject/reverse_nonx_tcp' do
4034
it_should_behave_like 'payload cached size is consistent',
4035
ancestor_reference_names: [
4036
'stagers/windows/reverse_nonx_tcp',
4037
'stages/windows/patchupdllinject'
4038
],
4039
dynamic_size: false,
4040
modules_pathname: modules_pathname,
4041
reference_name: 'windows/patchupdllinject/reverse_nonx_tcp'
4042
end
4043
4044
context 'windows/patchupdllinject/reverse_ord_tcp' do
4045
it_should_behave_like 'payload cached size is consistent',
4046
ancestor_reference_names: [
4047
'stagers/windows/reverse_ord_tcp',
4048
'stages/windows/patchupdllinject'
4049
],
4050
dynamic_size: false,
4051
modules_pathname: modules_pathname,
4052
reference_name: 'windows/patchupdllinject/reverse_ord_tcp'
4053
end
4054
4055
context 'windows/patchupdllinject/reverse_tcp' do
4056
it_should_behave_like 'payload cached size is consistent',
4057
ancestor_reference_names: [
4058
'stagers/windows/reverse_tcp',
4059
'stages/windows/patchupdllinject'
4060
],
4061
dynamic_size: false,
4062
modules_pathname: modules_pathname,
4063
reference_name: 'windows/patchupdllinject/reverse_tcp'
4064
end
4065
4066
context 'windows/patchupdllinject/reverse_tcp_allports' do
4067
it_should_behave_like 'payload cached size is consistent',
4068
ancestor_reference_names: [
4069
'stagers/windows/reverse_tcp_allports',
4070
'stages/windows/patchupdllinject'
4071
],
4072
dynamic_size: false,
4073
modules_pathname: modules_pathname,
4074
reference_name: 'windows/patchupdllinject/reverse_tcp_allports'
4075
end
4076
4077
context 'windows/patchupdllinject/reverse_tcp_dns' do
4078
it_should_behave_like 'payload cached size is consistent',
4079
ancestor_reference_names: [
4080
'stagers/windows/reverse_tcp_dns',
4081
'stages/windows/patchupdllinject'
4082
],
4083
dynamic_size: false,
4084
modules_pathname: modules_pathname,
4085
reference_name: 'windows/patchupdllinject/reverse_tcp_dns'
4086
end
4087
4088
context 'windows/patchupdllinject/reverse_tcp_rc4' do
4089
it_should_behave_like 'payload cached size is consistent',
4090
ancestor_reference_names: [
4091
'stagers/windows/reverse_tcp_rc4',
4092
'stages/windows/patchupdllinject'
4093
],
4094
dynamic_size: false,
4095
modules_pathname: modules_pathname,
4096
reference_name: 'windows/patchupdllinject/reverse_tcp_rc4'
4097
end
4098
4099
context 'windows/patchupdllinject/reverse_tcp_rc4_dns' do
4100
it_should_behave_like 'payload cached size is consistent',
4101
ancestor_reference_names: [
4102
'stagers/windows/reverse_tcp_rc4_dns',
4103
'stages/windows/patchupdllinject'
4104
],
4105
dynamic_size: false,
4106
modules_pathname: modules_pathname,
4107
reference_name: 'windows/patchupdllinject/reverse_tcp_rc4_dns'
4108
end
4109
4110
context 'windows/patchupmeterpreter/bind_ipv6_tcp' do
4111
it_should_behave_like 'payload cached size is consistent',
4112
ancestor_reference_names: [
4113
'stagers/windows/bind_ipv6_tcp',
4114
'stages/windows/patchupmeterpreter'
4115
],
4116
dynamic_size: false,
4117
modules_pathname: modules_pathname,
4118
reference_name: 'windows/patchupmeterpreter/bind_ipv6_tcp'
4119
end
4120
4121
context 'windows/patchupmeterpreter/bind_named_pipe' do
4122
it_should_behave_like 'payload cached size is consistent',
4123
ancestor_reference_names: [
4124
'stagers/windows/bind_named_pipe',
4125
'stages/windows/patchupmeterpreter'
4126
],
4127
dynamic_size: false,
4128
modules_pathname: modules_pathname,
4129
reference_name: 'windows/patchupmeterpreter/bind_named_pipe'
4130
end
4131
4132
context 'windows/patchupmeterpreter/bind_nonx_tcp' do
4133
it_should_behave_like 'payload cached size is consistent',
4134
ancestor_reference_names: [
4135
'stagers/windows/bind_nonx_tcp',
4136
'stages/windows/patchupmeterpreter'
4137
],
4138
dynamic_size: false,
4139
modules_pathname: modules_pathname,
4140
reference_name: 'windows/patchupmeterpreter/bind_nonx_tcp'
4141
end
4142
4143
context 'windows/patchupmeterpreter/bind_tcp' do
4144
it_should_behave_like 'payload cached size is consistent',
4145
ancestor_reference_names: [
4146
'stagers/windows/bind_tcp',
4147
'stages/windows/patchupmeterpreter'
4148
],
4149
dynamic_size: false,
4150
modules_pathname: modules_pathname,
4151
reference_name: 'windows/patchupmeterpreter/bind_tcp'
4152
end
4153
4154
context 'windows/patchupmeterpreter/bind_tcp_rc4' do
4155
it_should_behave_like 'payload cached size is consistent',
4156
ancestor_reference_names: [
4157
'stagers/windows/bind_tcp_rc4',
4158
'stages/windows/patchupmeterpreter'
4159
],
4160
dynamic_size: false,
4161
modules_pathname: modules_pathname,
4162
reference_name: 'windows/patchupmeterpreter/bind_tcp_rc4'
4163
end
4164
4165
context 'windows/patchupmeterpreter/find_tag' do
4166
it_should_behave_like 'payload cached size is consistent',
4167
ancestor_reference_names: [
4168
'stagers/windows/findtag_ord',
4169
'stages/windows/patchupmeterpreter'
4170
],
4171
dynamic_size: false,
4172
modules_pathname: modules_pathname,
4173
reference_name: 'windows/patchupmeterpreter/find_tag'
4174
end
4175
4176
context 'windows/patchupmeterpreter/reverse_ipv6_tcp' do
4177
it_should_behave_like 'payload cached size is consistent',
4178
ancestor_reference_names: [
4179
'stagers/windows/reverse_ipv6_tcp',
4180
'stages/windows/patchupmeterpreter'
4181
],
4182
dynamic_size: false,
4183
modules_pathname: modules_pathname,
4184
reference_name: 'windows/patchupmeterpreter/reverse_ipv6_tcp'
4185
end
4186
4187
context 'windows/patchupmeterpreter/reverse_nonx_tcp' do
4188
it_should_behave_like 'payload cached size is consistent',
4189
ancestor_reference_names: [
4190
'stagers/windows/reverse_nonx_tcp',
4191
'stages/windows/patchupmeterpreter'
4192
],
4193
dynamic_size: false,
4194
modules_pathname: modules_pathname,
4195
reference_name: 'windows/patchupmeterpreter/reverse_nonx_tcp'
4196
end
4197
4198
context 'windows/patchupmeterpreter/reverse_ord_tcp' do
4199
it_should_behave_like 'payload cached size is consistent',
4200
ancestor_reference_names: [
4201
'stagers/windows/reverse_ord_tcp',
4202
'stages/windows/patchupmeterpreter'
4203
],
4204
dynamic_size: false,
4205
modules_pathname: modules_pathname,
4206
reference_name: 'windows/patchupmeterpreter/reverse_ord_tcp'
4207
end
4208
4209
context 'windows/patchupmeterpreter/reverse_tcp' do
4210
it_should_behave_like 'payload cached size is consistent',
4211
ancestor_reference_names: [
4212
'stagers/windows/reverse_tcp',
4213
'stages/windows/patchupmeterpreter'
4214
],
4215
dynamic_size: false,
4216
modules_pathname: modules_pathname,
4217
reference_name: 'windows/patchupmeterpreter/reverse_tcp'
4218
end
4219
4220
context 'windows/patchupmeterpreter/reverse_tcp_allports' do
4221
it_should_behave_like 'payload cached size is consistent',
4222
ancestor_reference_names: [
4223
'stagers/windows/reverse_tcp_allports',
4224
'stages/windows/patchupmeterpreter'
4225
],
4226
dynamic_size: false,
4227
modules_pathname: modules_pathname,
4228
reference_name: 'windows/patchupmeterpreter/reverse_tcp_allports'
4229
end
4230
4231
context 'windows/patchupmeterpreter/reverse_tcp_dns' do
4232
it_should_behave_like 'payload cached size is consistent',
4233
ancestor_reference_names: [
4234
'stagers/windows/reverse_tcp_dns',
4235
'stages/windows/patchupmeterpreter'
4236
],
4237
dynamic_size: false,
4238
modules_pathname: modules_pathname,
4239
reference_name: 'windows/patchupmeterpreter/reverse_tcp_dns'
4240
end
4241
4242
context 'windows/patchupmeterpreter/reverse_tcp_rc4' do
4243
it_should_behave_like 'payload cached size is consistent',
4244
ancestor_reference_names: [
4245
'stagers/windows/reverse_tcp_rc4',
4246
'stages/windows/patchupmeterpreter'
4247
],
4248
dynamic_size: false,
4249
modules_pathname: modules_pathname,
4250
reference_name: 'windows/patchupmeterpreter/reverse_tcp_rc4'
4251
end
4252
4253
context 'windows/patchupmeterpreter/reverse_tcp_rc4_dns' do
4254
it_should_behave_like 'payload cached size is consistent',
4255
ancestor_reference_names: [
4256
'stagers/windows/reverse_tcp_rc4_dns',
4257
'stages/windows/patchupmeterpreter'
4258
],
4259
dynamic_size: false,
4260
modules_pathname: modules_pathname,
4261
reference_name: 'windows/patchupmeterpreter/reverse_tcp_rc4_dns'
4262
end
4263
4264
context 'windows/peinject/bind_hidden_ipknock_tcp' do
4265
it_should_behave_like 'payload cached size is consistent',
4266
ancestor_reference_names: [
4267
'stagers/windows/bind_hidden_ipknock_tcp',
4268
'stages/windows/peinject'
4269
],
4270
dynamic_size: true,
4271
modules_pathname: modules_pathname,
4272
reference_name: 'windows/peinject/bind_hidden_ipknock_tcp'
4273
end
4274
4275
context 'windows/peinject/bind_hidden_tcp' do
4276
it_should_behave_like 'payload cached size is consistent',
4277
ancestor_reference_names: [
4278
'stagers/windows/bind_hidden_tcp',
4279
'stages/windows/peinject'
4280
],
4281
dynamic_size: true,
4282
modules_pathname: modules_pathname,
4283
reference_name: 'windows/peinject/bind_hidden_tcp'
4284
end
4285
4286
context 'windows/peinject/bind_ipv6_tcp' do
4287
it_should_behave_like 'payload cached size is consistent',
4288
ancestor_reference_names: [
4289
'stagers/windows/bind_ipv6_tcp',
4290
'stages/windows/peinject'
4291
],
4292
dynamic_size: true,
4293
modules_pathname: modules_pathname,
4294
reference_name: 'windows/peinject/bind_ipv6_tcp'
4295
end
4296
4297
context 'windows/peinject/bind_ipv6_tcp_uuid' do
4298
it_should_behave_like 'payload cached size is consistent',
4299
ancestor_reference_names: [
4300
'stagers/windows/bind_ipv6_tcp_uuid',
4301
'stages/windows/peinject'
4302
],
4303
dynamic_size: true,
4304
modules_pathname: modules_pathname,
4305
reference_name: 'windows/peinject/bind_ipv6_tcp_uuid'
4306
end
4307
4308
context 'windows/peinject/bind_named_pipe' do
4309
it_should_behave_like 'payload cached size is consistent',
4310
ancestor_reference_names: [
4311
'stagers/windows/bind_named_pipe',
4312
'stages/windows/peinject'
4313
],
4314
dynamic_size: true,
4315
modules_pathname: modules_pathname,
4316
reference_name: 'windows/peinject/bind_named_pipe'
4317
end
4318
4319
context 'windows/peinject/bind_nonx_tcp' do
4320
it_should_behave_like 'payload cached size is consistent',
4321
ancestor_reference_names: [
4322
'stagers/windows/bind_nonx_tcp',
4323
'stages/windows/peinject'
4324
],
4325
dynamic_size: true,
4326
modules_pathname: modules_pathname,
4327
reference_name: 'windows/peinject/bind_nonx_tcp'
4328
end
4329
4330
context 'windows/peinject/bind_tcp' do
4331
it_should_behave_like 'payload cached size is consistent',
4332
ancestor_reference_names: [
4333
'stagers/windows/bind_tcp',
4334
'stages/windows/peinject'
4335
],
4336
dynamic_size: true,
4337
modules_pathname: modules_pathname,
4338
reference_name: 'windows/peinject/bind_tcp'
4339
end
4340
4341
context 'windows/peinject/bind_tcp_rc4' do
4342
it_should_behave_like 'payload cached size is consistent',
4343
ancestor_reference_names: [
4344
'stagers/windows/bind_tcp_rc4',
4345
'stages/windows/peinject'
4346
],
4347
dynamic_size: true,
4348
modules_pathname: modules_pathname,
4349
reference_name: 'windows/peinject/bind_tcp_rc4'
4350
end
4351
4352
context 'windows/peinject/bind_tcp_uuid' do
4353
it_should_behave_like 'payload cached size is consistent',
4354
ancestor_reference_names: [
4355
'stagers/windows/bind_tcp_uuid',
4356
'stages/windows/peinject'
4357
],
4358
dynamic_size: true,
4359
modules_pathname: modules_pathname,
4360
reference_name: 'windows/peinject/bind_tcp_uuid'
4361
end
4362
4363
context 'windows/peinject/find_tag' do
4364
it_should_behave_like 'payload cached size is consistent',
4365
ancestor_reference_names: [
4366
'stagers/windows/findtag_ord',
4367
'stages/windows/peinject'
4368
],
4369
dynamic_size: true,
4370
modules_pathname: modules_pathname,
4371
reference_name: 'windows/peinject/find_tag'
4372
end
4373
4374
context 'windows/peinject/reverse_ipv6_tcp' do
4375
it_should_behave_like 'payload cached size is consistent',
4376
ancestor_reference_names: [
4377
'stagers/windows/reverse_ipv6_tcp',
4378
'stages/windows/peinject'
4379
],
4380
dynamic_size: true,
4381
modules_pathname: modules_pathname,
4382
reference_name: 'windows/peinject/reverse_ipv6_tcp'
4383
end
4384
4385
context 'windows/peinject/reverse_nonx_tcp' do
4386
it_should_behave_like 'payload cached size is consistent',
4387
ancestor_reference_names: [
4388
'stagers/windows/reverse_nonx_tcp',
4389
'stages/windows/peinject'
4390
],
4391
dynamic_size: true,
4392
modules_pathname: modules_pathname,
4393
reference_name: 'windows/peinject/reverse_nonx_tcp'
4394
end
4395
4396
context 'windows/peinject/reverse_ord_tcp' do
4397
it_should_behave_like 'payload cached size is consistent',
4398
ancestor_reference_names: [
4399
'stagers/windows/reverse_ord_tcp',
4400
'stages/windows/peinject'
4401
],
4402
dynamic_size: true,
4403
modules_pathname: modules_pathname,
4404
reference_name: 'windows/peinject/reverse_ord_tcp'
4405
end
4406
4407
context 'windows/peinject/reverse_tcp' do
4408
it_should_behave_like 'payload cached size is consistent',
4409
ancestor_reference_names: [
4410
'stagers/windows/reverse_tcp',
4411
'stages/windows/peinject'
4412
],
4413
dynamic_size: true,
4414
modules_pathname: modules_pathname,
4415
reference_name: 'windows/peinject/reverse_tcp'
4416
end
4417
4418
context 'windows/peinject/reverse_tcp_allports' do
4419
it_should_behave_like 'payload cached size is consistent',
4420
ancestor_reference_names: [
4421
'stagers/windows/reverse_tcp_allports',
4422
'stages/windows/peinject'
4423
],
4424
dynamic_size: true,
4425
modules_pathname: modules_pathname,
4426
reference_name: 'windows/peinject/reverse_tcp_allports'
4427
end
4428
4429
context 'windows/peinject/reverse_tcp_dns' do
4430
it_should_behave_like 'payload cached size is consistent',
4431
ancestor_reference_names: [
4432
'stagers/windows/reverse_tcp_dns',
4433
'stages/windows/peinject'
4434
],
4435
dynamic_size: true,
4436
modules_pathname: modules_pathname,
4437
reference_name: 'windows/peinject/reverse_tcp_dns'
4438
end
4439
4440
context 'windows/peinject/reverse_tcp_rc4' do
4441
it_should_behave_like 'payload cached size is consistent',
4442
ancestor_reference_names: [
4443
'stagers/windows/reverse_tcp_rc4',
4444
'stages/windows/peinject'
4445
],
4446
dynamic_size: true,
4447
modules_pathname: modules_pathname,
4448
reference_name: 'windows/peinject/reverse_tcp_rc4'
4449
end
4450
4451
context 'windows/peinject/reverse_tcp_rc4_dns' do
4452
it_should_behave_like 'payload cached size is consistent',
4453
ancestor_reference_names: [
4454
'stagers/windows/reverse_tcp_rc4_dns',
4455
'stages/windows/peinject'
4456
],
4457
dynamic_size: true,
4458
modules_pathname: modules_pathname,
4459
reference_name: 'windows/peinject/reverse_tcp_rc4_dns'
4460
end
4461
4462
context 'windows/peinject/reverse_tcp_uuid' do
4463
it_should_behave_like 'payload cached size is consistent',
4464
ancestor_reference_names: [
4465
'stagers/windows/reverse_tcp_uuid',
4466
'stages/windows/peinject'
4467
],
4468
dynamic_size: true,
4469
modules_pathname: modules_pathname,
4470
reference_name: 'windows/peinject/reverse_tcp_uuid'
4471
end
4472
4473
context 'windows/pingback_bind_tcp' do
4474
it_should_behave_like 'payload cached size is consistent',
4475
ancestor_reference_names: [
4476
'singles/windows/pingback_bind_tcp'
4477
],
4478
dynamic_size: false,
4479
modules_pathname: modules_pathname,
4480
reference_name: 'windows/pingback_bind_tcp'
4481
end
4482
4483
context 'windows/pingback_reverse_tcp' do
4484
it_should_behave_like 'payload cached size is consistent',
4485
ancestor_reference_names: [
4486
'singles/windows/pingback_reverse_tcp'
4487
],
4488
dynamic_size: false,
4489
modules_pathname: modules_pathname,
4490
reference_name: 'windows/pingback_reverse_tcp'
4491
end
4492
4493
context 'windows/shell/bind_ipv6_tcp' do
4494
it_should_behave_like 'payload cached size is consistent',
4495
ancestor_reference_names: [
4496
'stagers/windows/bind_ipv6_tcp',
4497
'stages/windows/shell'
4498
],
4499
dynamic_size: false,
4500
modules_pathname: modules_pathname,
4501
reference_name: 'windows/shell/bind_ipv6_tcp'
4502
end
4503
4504
context 'windows/shell/bind_named_pipe' do
4505
it_should_behave_like 'payload cached size is consistent',
4506
ancestor_reference_names: [
4507
'stagers/windows/bind_named_pipe',
4508
'stages/windows/shell'
4509
],
4510
dynamic_size: false,
4511
modules_pathname: modules_pathname,
4512
reference_name: 'windows/shell/bind_named_pipe'
4513
end
4514
4515
context 'windows/shell/bind_nonx_tcp' do
4516
it_should_behave_like 'payload cached size is consistent',
4517
ancestor_reference_names: [
4518
'stagers/windows/bind_nonx_tcp',
4519
'stages/windows/shell'
4520
],
4521
dynamic_size: false,
4522
modules_pathname: modules_pathname,
4523
reference_name: 'windows/shell/bind_nonx_tcp'
4524
end
4525
4526
context 'windows/shell/bind_tcp' do
4527
it_should_behave_like 'payload cached size is consistent',
4528
ancestor_reference_names: [
4529
'stagers/windows/bind_tcp',
4530
'stages/windows/shell'
4531
],
4532
dynamic_size: false,
4533
modules_pathname: modules_pathname,
4534
reference_name: 'windows/shell/bind_tcp'
4535
end
4536
4537
context 'windows/shell/bind_tcp_rc4' do
4538
it_should_behave_like 'payload cached size is consistent',
4539
ancestor_reference_names: [
4540
'stagers/windows/bind_tcp_rc4',
4541
'stages/windows/shell'
4542
],
4543
dynamic_size: false,
4544
modules_pathname: modules_pathname,
4545
reference_name: 'windows/shell/bind_tcp_rc4'
4546
end
4547
4548
context 'windows/shell/find_tag' do
4549
it_should_behave_like 'payload cached size is consistent',
4550
ancestor_reference_names: [
4551
'stagers/windows/findtag_ord',
4552
'stages/windows/shell'
4553
],
4554
dynamic_size: false,
4555
modules_pathname: modules_pathname,
4556
reference_name: 'windows/shell/find_tag'
4557
end
4558
4559
context 'windows/shell/reverse_ipv6_tcp' do
4560
it_should_behave_like 'payload cached size is consistent',
4561
ancestor_reference_names: [
4562
'stagers/windows/reverse_ipv6_tcp',
4563
'stages/windows/shell'
4564
],
4565
dynamic_size: false,
4566
modules_pathname: modules_pathname,
4567
reference_name: 'windows/shell/reverse_ipv6_tcp'
4568
end
4569
4570
context 'windows/shell/reverse_nonx_tcp' do
4571
it_should_behave_like 'payload cached size is consistent',
4572
ancestor_reference_names: [
4573
'stagers/windows/reverse_nonx_tcp',
4574
'stages/windows/shell'
4575
],
4576
dynamic_size: false,
4577
modules_pathname: modules_pathname,
4578
reference_name: 'windows/shell/reverse_nonx_tcp'
4579
end
4580
4581
context 'windows/shell/reverse_ord_tcp' do
4582
it_should_behave_like 'payload cached size is consistent',
4583
ancestor_reference_names: [
4584
'stagers/windows/reverse_ord_tcp',
4585
'stages/windows/shell'
4586
],
4587
dynamic_size: false,
4588
modules_pathname: modules_pathname,
4589
reference_name: 'windows/shell/reverse_ord_tcp'
4590
end
4591
4592
context 'windows/shell/reverse_tcp' do
4593
it_should_behave_like 'payload cached size is consistent',
4594
ancestor_reference_names: [
4595
'stagers/windows/reverse_tcp',
4596
'stages/windows/shell'
4597
],
4598
dynamic_size: false,
4599
modules_pathname: modules_pathname,
4600
reference_name: 'windows/shell/reverse_tcp'
4601
end
4602
4603
context 'windows/shell/reverse_tcp_allports' do
4604
it_should_behave_like 'payload cached size is consistent',
4605
ancestor_reference_names: [
4606
'stagers/windows/reverse_tcp_allports',
4607
'stages/windows/shell'
4608
],
4609
dynamic_size: false,
4610
modules_pathname: modules_pathname,
4611
reference_name: 'windows/shell/reverse_tcp_allports'
4612
end
4613
4614
context 'windows/shell/reverse_tcp_dns' do
4615
it_should_behave_like 'payload cached size is consistent',
4616
ancestor_reference_names: [
4617
'stagers/windows/reverse_tcp_dns',
4618
'stages/windows/shell'
4619
],
4620
dynamic_size: false,
4621
modules_pathname: modules_pathname,
4622
reference_name: 'windows/shell/reverse_tcp_dns'
4623
end
4624
4625
context 'windows/shell/reverse_tcp_rc4' do
4626
it_should_behave_like 'payload cached size is consistent',
4627
ancestor_reference_names: [
4628
'stagers/windows/reverse_tcp_rc4',
4629
'stages/windows/shell'
4630
],
4631
dynamic_size: false,
4632
modules_pathname: modules_pathname,
4633
reference_name: 'windows/shell/reverse_tcp_rc4'
4634
end
4635
4636
context 'windows/shell/reverse_tcp_rc4_dns' do
4637
it_should_behave_like 'payload cached size is consistent',
4638
ancestor_reference_names: [
4639
'stagers/windows/reverse_tcp_rc4_dns',
4640
'stages/windows/shell'
4641
],
4642
dynamic_size: false,
4643
modules_pathname: modules_pathname,
4644
reference_name: 'windows/shell/reverse_tcp_rc4_dns'
4645
end
4646
4647
context 'windows/shell/reverse_udp' do
4648
it_should_behave_like 'payload cached size is consistent',
4649
ancestor_reference_names: [
4650
'stagers/windows/reverse_udp',
4651
'stages/windows/shell'
4652
],
4653
dynamic_size: false,
4654
modules_pathname: modules_pathname,
4655
reference_name: 'windows/shell/reverse_udp'
4656
end
4657
4658
context 'windows/shell_bind_tcp' do
4659
it_should_behave_like 'payload cached size is consistent',
4660
ancestor_reference_names: [
4661
'singles/windows/shell_bind_tcp'
4662
],
4663
dynamic_size: false,
4664
modules_pathname: modules_pathname,
4665
reference_name: 'windows/shell_bind_tcp'
4666
end
4667
4668
context 'windows/shell_bind_tcp_xpfw' do
4669
it_should_behave_like 'payload cached size is consistent',
4670
ancestor_reference_names: [
4671
'singles/windows/shell_bind_tcp_xpfw'
4672
],
4673
dynamic_size: false,
4674
modules_pathname: modules_pathname,
4675
reference_name: 'windows/shell_bind_tcp_xpfw'
4676
end
4677
4678
context 'windows/shell_hidden_bind_tcp' do
4679
it_should_behave_like 'payload cached size is consistent',
4680
ancestor_reference_names: [
4681
'singles/windows/shell_hidden_bind_tcp'
4682
],
4683
dynamic_size: false,
4684
modules_pathname: modules_pathname,
4685
reference_name: 'windows/shell_hidden_bind_tcp'
4686
end
4687
4688
context 'windows/shell_reverse_tcp' do
4689
it_should_behave_like 'payload cached size is consistent',
4690
ancestor_reference_names: [
4691
'singles/windows/shell_reverse_tcp'
4692
],
4693
dynamic_size: false,
4694
modules_pathname: modules_pathname,
4695
reference_name: 'windows/shell_reverse_tcp'
4696
end
4697
4698
context 'windows/speak_pwned' do
4699
it_should_behave_like 'payload cached size is consistent',
4700
ancestor_reference_names: [
4701
'singles/windows/speak_pwned'
4702
],
4703
dynamic_size: false,
4704
modules_pathname: modules_pathname,
4705
reference_name: 'windows/speak_pwned'
4706
end
4707
4708
context 'windows/upexec/bind_ipv6_tcp' do
4709
it_should_behave_like 'payload cached size is consistent',
4710
ancestor_reference_names: [
4711
'stagers/windows/bind_ipv6_tcp',
4712
'stages/windows/upexec'
4713
],
4714
dynamic_size: false,
4715
modules_pathname: modules_pathname,
4716
reference_name: 'windows/upexec/bind_ipv6_tcp'
4717
end
4718
4719
context 'windows/upexec/bind_named_pipe' do
4720
it_should_behave_like 'payload cached size is consistent',
4721
ancestor_reference_names: [
4722
'stagers/windows/bind_named_pipe',
4723
'stages/windows/upexec'
4724
],
4725
dynamic_size: false,
4726
modules_pathname: modules_pathname,
4727
reference_name: 'windows/upexec/bind_named_pipe'
4728
end
4729
4730
context 'windows/upexec/bind_nonx_tcp' do
4731
it_should_behave_like 'payload cached size is consistent',
4732
ancestor_reference_names: [
4733
'stagers/windows/bind_nonx_tcp',
4734
'stages/windows/upexec'
4735
],
4736
dynamic_size: false,
4737
modules_pathname: modules_pathname,
4738
reference_name: 'windows/upexec/bind_nonx_tcp'
4739
end
4740
4741
context 'windows/upexec/bind_tcp' do
4742
it_should_behave_like 'payload cached size is consistent',
4743
ancestor_reference_names: [
4744
'stagers/windows/bind_tcp',
4745
'stages/windows/upexec'
4746
],
4747
dynamic_size: false,
4748
modules_pathname: modules_pathname,
4749
reference_name: 'windows/upexec/bind_tcp'
4750
end
4751
4752
context 'windows/upexec/bind_tcp_rc4' do
4753
it_should_behave_like 'payload cached size is consistent',
4754
ancestor_reference_names: [
4755
'stagers/windows/bind_tcp_rc4',
4756
'stages/windows/upexec'
4757
],
4758
dynamic_size: false,
4759
modules_pathname: modules_pathname,
4760
reference_name: 'windows/upexec/bind_tcp_rc4'
4761
end
4762
4763
context 'windows/upexec/find_tag' do
4764
it_should_behave_like 'payload cached size is consistent',
4765
ancestor_reference_names: [
4766
'stagers/windows/findtag_ord',
4767
'stages/windows/upexec'
4768
],
4769
dynamic_size: false,
4770
modules_pathname: modules_pathname,
4771
reference_name: 'windows/upexec/find_tag'
4772
end
4773
4774
context 'windows/upexec/reverse_ipv6_tcp' do
4775
it_should_behave_like 'payload cached size is consistent',
4776
ancestor_reference_names: [
4777
'stagers/windows/reverse_ipv6_tcp',
4778
'stages/windows/upexec'
4779
],
4780
dynamic_size: false,
4781
modules_pathname: modules_pathname,
4782
reference_name: 'windows/upexec/reverse_ipv6_tcp'
4783
end
4784
4785
context 'windows/upexec/reverse_nonx_tcp' do
4786
it_should_behave_like 'payload cached size is consistent',
4787
ancestor_reference_names: [
4788
'stagers/windows/reverse_nonx_tcp',
4789
'stages/windows/upexec'
4790
],
4791
dynamic_size: false,
4792
modules_pathname: modules_pathname,
4793
reference_name: 'windows/upexec/reverse_nonx_tcp'
4794
end
4795
4796
context 'windows/upexec/reverse_ord_tcp' do
4797
it_should_behave_like 'payload cached size is consistent',
4798
ancestor_reference_names: [
4799
'stagers/windows/reverse_ord_tcp',
4800
'stages/windows/upexec'
4801
],
4802
dynamic_size: false,
4803
modules_pathname: modules_pathname,
4804
reference_name: 'windows/upexec/reverse_ord_tcp'
4805
end
4806
4807
context 'windows/upexec/reverse_tcp' do
4808
it_should_behave_like 'payload cached size is consistent',
4809
ancestor_reference_names: [
4810
'stagers/windows/reverse_tcp',
4811
'stages/windows/upexec'
4812
],
4813
dynamic_size: false,
4814
modules_pathname: modules_pathname,
4815
reference_name: 'windows/upexec/reverse_tcp'
4816
end
4817
4818
context 'windows/upexec/reverse_tcp_allports' do
4819
it_should_behave_like 'payload cached size is consistent',
4820
ancestor_reference_names: [
4821
'stagers/windows/reverse_tcp_allports',
4822
'stages/windows/upexec'
4823
],
4824
dynamic_size: false,
4825
modules_pathname: modules_pathname,
4826
reference_name: 'windows/upexec/reverse_tcp_allports'
4827
end
4828
4829
context 'windows/upexec/reverse_tcp_dns' do
4830
it_should_behave_like 'payload cached size is consistent',
4831
ancestor_reference_names: [
4832
'stagers/windows/reverse_tcp_dns',
4833
'stages/windows/upexec'
4834
],
4835
dynamic_size: false,
4836
modules_pathname: modules_pathname,
4837
reference_name: 'windows/upexec/reverse_tcp_dns'
4838
end
4839
4840
context 'windows/upexec/reverse_tcp_rc4' do
4841
it_should_behave_like 'payload cached size is consistent',
4842
ancestor_reference_names: [
4843
'stagers/windows/reverse_tcp_rc4',
4844
'stages/windows/upexec'
4845
],
4846
dynamic_size: false,
4847
modules_pathname: modules_pathname,
4848
reference_name: 'windows/upexec/reverse_tcp_rc4'
4849
end
4850
4851
context 'windows/upexec/reverse_tcp_rc4_dns' do
4852
it_should_behave_like 'payload cached size is consistent',
4853
ancestor_reference_names: [
4854
'stagers/windows/reverse_tcp_rc4_dns',
4855
'stages/windows/upexec'
4856
],
4857
dynamic_size: false,
4858
modules_pathname: modules_pathname,
4859
reference_name: 'windows/upexec/reverse_tcp_rc4_dns'
4860
end
4861
4862
context 'windows/upexec/reverse_udp' do
4863
it_should_behave_like 'payload cached size is consistent',
4864
ancestor_reference_names: [
4865
'stagers/windows/reverse_udp',
4866
'stages/windows/upexec'
4867
],
4868
dynamic_size: false,
4869
modules_pathname: modules_pathname,
4870
reference_name: 'windows/upexec/reverse_udp'
4871
end
4872
4873
context 'windows/vncinject/bind_ipv6_tcp' do
4874
it_should_behave_like 'payload cached size is consistent',
4875
ancestor_reference_names: [
4876
'stagers/windows/bind_ipv6_tcp',
4877
'stages/windows/vncinject'
4878
],
4879
dynamic_size: false,
4880
modules_pathname: modules_pathname,
4881
reference_name: 'windows/vncinject/bind_ipv6_tcp'
4882
end
4883
4884
context 'windows/vncinject/bind_named_pipe' do
4885
it_should_behave_like 'payload cached size is consistent',
4886
ancestor_reference_names: [
4887
'stagers/windows/bind_named_pipe',
4888
'stages/windows/vncinject'
4889
],
4890
dynamic_size: false,
4891
modules_pathname: modules_pathname,
4892
reference_name: 'windows/vncinject/bind_named_pipe'
4893
end
4894
4895
context 'windows/vncinject/bind_nonx_tcp' do
4896
it_should_behave_like 'payload cached size is consistent',
4897
ancestor_reference_names: [
4898
'stagers/windows/bind_nonx_tcp',
4899
'stages/windows/vncinject'
4900
],
4901
dynamic_size: false,
4902
modules_pathname: modules_pathname,
4903
reference_name: 'windows/vncinject/bind_nonx_tcp'
4904
end
4905
4906
context 'windows/vncinject/bind_tcp' do
4907
it_should_behave_like 'payload cached size is consistent',
4908
ancestor_reference_names: [
4909
'stagers/windows/bind_tcp',
4910
'stages/windows/vncinject'
4911
],
4912
dynamic_size: false,
4913
modules_pathname: modules_pathname,
4914
reference_name: 'windows/vncinject/bind_tcp'
4915
end
4916
4917
context 'windows/vncinject/bind_tcp_rc4' do
4918
it_should_behave_like 'payload cached size is consistent',
4919
ancestor_reference_names: [
4920
'stagers/windows/bind_tcp_rc4',
4921
'stages/windows/vncinject'
4922
],
4923
dynamic_size: false,
4924
modules_pathname: modules_pathname,
4925
reference_name: 'windows/vncinject/bind_tcp_rc4'
4926
end
4927
4928
context 'windows/vncinject/find_tag' do
4929
it_should_behave_like 'payload cached size is consistent',
4930
ancestor_reference_names: [
4931
'stagers/windows/findtag_ord',
4932
'stages/windows/vncinject'
4933
],
4934
dynamic_size: false,
4935
modules_pathname: modules_pathname,
4936
reference_name: 'windows/vncinject/find_tag'
4937
end
4938
4939
context 'windows/vncinject/reverse_ipv6_tcp' do
4940
it_should_behave_like 'payload cached size is consistent',
4941
ancestor_reference_names: [
4942
'stagers/windows/reverse_ipv6_tcp',
4943
'stages/windows/vncinject'
4944
],
4945
dynamic_size: false,
4946
modules_pathname: modules_pathname,
4947
reference_name: 'windows/vncinject/reverse_ipv6_tcp'
4948
end
4949
4950
context 'windows/vncinject/reverse_nonx_tcp' do
4951
it_should_behave_like 'payload cached size is consistent',
4952
ancestor_reference_names: [
4953
'stagers/windows/reverse_nonx_tcp',
4954
'stages/windows/vncinject'
4955
],
4956
dynamic_size: false,
4957
modules_pathname: modules_pathname,
4958
reference_name: 'windows/vncinject/reverse_nonx_tcp'
4959
end
4960
4961
context 'windows/vncinject/reverse_ord_tcp' do
4962
it_should_behave_like 'payload cached size is consistent',
4963
ancestor_reference_names: [
4964
'stagers/windows/reverse_ord_tcp',
4965
'stages/windows/vncinject'
4966
],
4967
dynamic_size: false,
4968
modules_pathname: modules_pathname,
4969
reference_name: 'windows/vncinject/reverse_ord_tcp'
4970
end
4971
4972
context 'windows/vncinject/reverse_tcp' do
4973
it_should_behave_like 'payload cached size is consistent',
4974
ancestor_reference_names: [
4975
'stagers/windows/reverse_tcp',
4976
'stages/windows/vncinject'
4977
],
4978
dynamic_size: false,
4979
modules_pathname: modules_pathname,
4980
reference_name: 'windows/vncinject/reverse_tcp'
4981
end
4982
4983
context 'windows/vncinject/reverse_tcp_allports' do
4984
it_should_behave_like 'payload cached size is consistent',
4985
ancestor_reference_names: [
4986
'stagers/windows/reverse_tcp_allports',
4987
'stages/windows/vncinject'
4988
],
4989
dynamic_size: false,
4990
modules_pathname: modules_pathname,
4991
reference_name: 'windows/vncinject/reverse_tcp_allports'
4992
end
4993
4994
context 'windows/vncinject/reverse_tcp_dns' do
4995
it_should_behave_like 'payload cached size is consistent',
4996
ancestor_reference_names: [
4997
'stagers/windows/reverse_tcp_dns',
4998
'stages/windows/vncinject'
4999
],
5000
dynamic_size: false,
5001
modules_pathname: modules_pathname,
5002
reference_name: 'windows/vncinject/reverse_tcp_dns'
5003
end
5004
5005
context 'windows/vncinject/reverse_tcp_rc4' do
5006
it_should_behave_like 'payload cached size is consistent',
5007
ancestor_reference_names: [
5008
'stagers/windows/reverse_tcp_rc4',
5009
'stages/windows/vncinject'
5010
],
5011
dynamic_size: false,
5012
modules_pathname: modules_pathname,
5013
reference_name: 'windows/vncinject/reverse_tcp_rc4'
5014
end
5015
5016
context 'windows/vncinject/reverse_tcp_rc4_dns' do
5017
it_should_behave_like 'payload cached size is consistent',
5018
ancestor_reference_names: [
5019
'stagers/windows/reverse_tcp_rc4_dns',
5020
'stages/windows/vncinject'
5021
],
5022
dynamic_size: false,
5023
modules_pathname: modules_pathname,
5024
reference_name: 'windows/vncinject/reverse_tcp_rc4_dns'
5025
end
5026
5027
context 'windows/x64/custom/bind_ipv6_tcp' do
5028
it_should_behave_like 'payload is not cached',
5029
ancestor_reference_names: [
5030
'stagers/windows/x64/bind_ipv6_tcp',
5031
'stages/windows/x64/custom'
5032
],
5033
reference_name: 'windows/x64/custom/bind_ipv6_tcp'
5034
end
5035
5036
context 'windows/x64/custom/bind_ipv6_tcp_uuid' do
5037
it_should_behave_like 'payload is not cached',
5038
ancestor_reference_names: [
5039
'stagers/windows/x64/bind_ipv6_tcp_uuid',
5040
'stages/windows/x64/custom'
5041
],
5042
reference_name: 'windows/x64/custom/bind_ipv6_tcp_uuid'
5043
end
5044
5045
context 'windows/x64/custom/bind_named_pipe' do
5046
it_should_behave_like 'payload is not cached',
5047
ancestor_reference_names: [
5048
'stagers/windows/x64/bind_named_pipe',
5049
'stages/windows/x64/custom'
5050
],
5051
reference_name: 'windows/x64/custom/bind_named_pipe'
5052
end
5053
5054
context 'windows/x64/custom/bind_tcp' do
5055
it_should_behave_like 'payload is not cached',
5056
ancestor_reference_names: [
5057
'stagers/windows/x64/bind_tcp',
5058
'stages/windows/x64/custom'
5059
],
5060
reference_name: 'windows/x64/custom/bind_tcp'
5061
end
5062
5063
context 'windows/x64/custom/bind_tcp_rc4' do
5064
it_should_behave_like 'payload is not cached',
5065
ancestor_reference_names: [
5066
'stagers/windows/x64/bind_tcp_rc4',
5067
'stages/windows/x64/custom'
5068
],
5069
reference_name: 'windows/x64/custom/bind_tcp_rc4'
5070
end
5071
5072
context 'windows/x64/custom/bind_tcp_uuid' do
5073
it_should_behave_like 'payload is not cached',
5074
ancestor_reference_names: [
5075
'stagers/windows/x64/bind_tcp_uuid',
5076
'stages/windows/x64/custom'
5077
],
5078
reference_name: 'windows/x64/custom/bind_tcp_uuid'
5079
end
5080
5081
context 'windows/x64/custom/reverse_http' do
5082
it_should_behave_like 'payload is not cached',
5083
ancestor_reference_names: [
5084
'stagers/windows/x64/reverse_http',
5085
'stages/windows/x64/custom'
5086
],
5087
reference_name: 'windows/x64/custom/reverse_http'
5088
end
5089
5090
context 'windows/x64/custom/reverse_https' do
5091
it_should_behave_like 'payload is not cached',
5092
ancestor_reference_names: [
5093
'stagers/windows/x64/reverse_https',
5094
'stages/windows/x64/custom'
5095
],
5096
reference_name: 'windows/x64/custom/reverse_https'
5097
end
5098
5099
context 'windows/x64/custom/reverse_named_pipe' do
5100
it_should_behave_like 'payload is not cached',
5101
ancestor_reference_names: [
5102
'stagers/windows/x64/reverse_named_pipe',
5103
'stages/windows/x64/custom'
5104
],
5105
reference_name: 'windows/x64/custom/reverse_named_pipe'
5106
end
5107
5108
context 'windows/x64/custom/reverse_tcp' do
5109
it_should_behave_like 'payload is not cached',
5110
ancestor_reference_names: [
5111
'stagers/windows/x64/reverse_tcp',
5112
'stages/windows/x64/custom'
5113
],
5114
reference_name: 'windows/x64/custom/reverse_tcp'
5115
end
5116
5117
context 'windows/x64/custom/reverse_tcp_rc4' do
5118
it_should_behave_like 'payload is not cached',
5119
ancestor_reference_names: [
5120
'stagers/windows/x64/reverse_tcp_rc4',
5121
'stages/windows/x64/custom'
5122
],
5123
reference_name: 'windows/x64/custom/reverse_tcp_rc4'
5124
end
5125
5126
context 'windows/x64/custom/reverse_tcp_uuid' do
5127
it_should_behave_like 'payload is not cached',
5128
ancestor_reference_names: [
5129
'stagers/windows/x64/reverse_tcp_uuid',
5130
'stages/windows/x64/custom'
5131
],
5132
reference_name: 'windows/x64/custom/reverse_tcp_uuid'
5133
end
5134
5135
context 'windows/x64/custom/reverse_winhttp' do
5136
it_should_behave_like 'payload is not cached',
5137
ancestor_reference_names: [
5138
'stagers/windows/x64/reverse_winhttp',
5139
'stages/windows/x64/custom'
5140
],
5141
reference_name: 'windows/x64/custom/reverse_winhttp'
5142
end
5143
5144
context 'windows/x64/custom/reverse_winhttps' do
5145
it_should_behave_like 'payload is not cached',
5146
ancestor_reference_names: [
5147
'stagers/windows/x64/reverse_winhttps',
5148
'stages/windows/x64/custom'
5149
],
5150
reference_name: 'windows/x64/custom/reverse_winhttps'
5151
end
5152
5153
context 'windows/x64/encrypted_shell/reverse_tcp' do
5154
it_should_behave_like 'payload is not cached',
5155
ancestor_reference_names: [
5156
'stagers/windows/x64/encrypted_reverse_tcp',
5157
'stages/windows/x64/encrypted_shell'
5158
],
5159
reference_name: 'windows/x64/encrypted_shell/reverse_tcp'
5160
end
5161
5162
context 'windows/x64/encrypted_shell_reverse_tcp' do
5163
it_should_behave_like 'payload is not cached',
5164
ancestor_reference_names: [
5165
'singles/windows/x64/encrypted_shell_reverse_tcp'
5166
],
5167
reference_name: 'windows/x64/encrypted_shell_reverse_tcp'
5168
end
5169
5170
context 'windows/x64/exec' do
5171
it_should_behave_like 'payload cached size is consistent',
5172
ancestor_reference_names: [
5173
'singles/windows/x64/exec'
5174
],
5175
dynamic_size: false,
5176
modules_pathname: modules_pathname,
5177
reference_name: 'windows/x64/exec'
5178
end
5179
5180
context 'windows/x64/loadlibrary' do
5181
it_should_behave_like 'payload cached size is consistent',
5182
ancestor_reference_names: [
5183
'singles/windows/x64/loadlibrary'
5184
],
5185
dynamic_size: false,
5186
modules_pathname: modules_pathname,
5187
reference_name: 'windows/x64/loadlibrary'
5188
end
5189
5190
context 'windows/x64/messagebox' do
5191
it_should_behave_like 'payload cached size is consistent',
5192
ancestor_reference_names: [
5193
'singles/windows/x64/messagebox'
5194
],
5195
dynamic_size: false,
5196
modules_pathname: modules_pathname,
5197
reference_name: 'windows/x64/messagebox'
5198
end
5199
5200
context 'windows/x64/meterpreter/bind_ipv6_tcp' do
5201
it_should_behave_like 'payload cached size is consistent',
5202
ancestor_reference_names: [
5203
'stagers/windows/x64/bind_ipv6_tcp',
5204
'stages/windows/x64/meterpreter'
5205
],
5206
dynamic_size: false,
5207
modules_pathname: modules_pathname,
5208
reference_name: 'windows/x64/meterpreter/bind_ipv6_tcp'
5209
end
5210
5211
context 'windows/x64/meterpreter/bind_ipv6_tcp_uuid' do
5212
it_should_behave_like 'payload cached size is consistent',
5213
ancestor_reference_names: [
5214
'stagers/windows/x64/bind_ipv6_tcp_uuid',
5215
'stages/windows/x64/meterpreter'
5216
],
5217
dynamic_size: false,
5218
modules_pathname: modules_pathname,
5219
reference_name: 'windows/x64/meterpreter/bind_ipv6_tcp_uuid'
5220
end
5221
5222
context 'windows/x64/meterpreter/bind_named_pipe' do
5223
it_should_behave_like 'payload cached size is consistent',
5224
ancestor_reference_names: [
5225
'stagers/windows/x64/bind_named_pipe',
5226
'stages/windows/x64/meterpreter'
5227
],
5228
dynamic_size: false,
5229
modules_pathname: modules_pathname,
5230
reference_name: 'windows/x64/meterpreter/bind_named_pipe'
5231
end
5232
5233
context 'windows/x64/meterpreter/bind_tcp' do
5234
it_should_behave_like 'payload cached size is consistent',
5235
ancestor_reference_names: [
5236
'stagers/windows/x64/bind_tcp',
5237
'stages/windows/x64/meterpreter'
5238
],
5239
dynamic_size: false,
5240
modules_pathname: modules_pathname,
5241
reference_name: 'windows/x64/meterpreter/bind_tcp'
5242
end
5243
5244
context 'windows/x64/meterpreter/bind_tcp_rc4' do
5245
it_should_behave_like 'payload cached size is consistent',
5246
ancestor_reference_names: [
5247
'stagers/windows/x64/bind_tcp_rc4',
5248
'stages/windows/x64/meterpreter'
5249
],
5250
dynamic_size: false,
5251
modules_pathname: modules_pathname,
5252
reference_name: 'windows/x64/meterpreter/bind_tcp_rc4'
5253
end
5254
5255
context 'windows/x64/meterpreter/bind_tcp_uuid' do
5256
it_should_behave_like 'payload cached size is consistent',
5257
ancestor_reference_names: [
5258
'stagers/windows/x64/bind_tcp_uuid',
5259
'stages/windows/x64/meterpreter'
5260
],
5261
dynamic_size: false,
5262
modules_pathname: modules_pathname,
5263
reference_name: 'windows/x64/meterpreter/bind_tcp_uuid'
5264
end
5265
5266
context 'windows/x64/meterpreter/reverse_http' do
5267
it_should_behave_like 'payload cached size is consistent',
5268
ancestor_reference_names: [
5269
'stagers/windows/x64/reverse_http',
5270
'stages/windows/x64/meterpreter'
5271
],
5272
dynamic_size: false,
5273
modules_pathname: modules_pathname,
5274
reference_name: 'windows/x64/meterpreter/reverse_http'
5275
end
5276
5277
context 'windows/x64/meterpreter/reverse_https' do
5278
it_should_behave_like 'payload cached size is consistent',
5279
ancestor_reference_names: [
5280
'stagers/windows/x64/reverse_https',
5281
'stages/windows/x64/meterpreter'
5282
],
5283
dynamic_size: false,
5284
modules_pathname: modules_pathname,
5285
reference_name: 'windows/x64/meterpreter/reverse_https'
5286
end
5287
5288
context 'windows/x64/meterpreter/reverse_named_pipe' do
5289
it_should_behave_like 'payload cached size is consistent',
5290
ancestor_reference_names: [
5291
'stagers/windows/x64/reverse_named_pipe',
5292
'stages/windows/x64/meterpreter'
5293
],
5294
dynamic_size: false,
5295
modules_pathname: modules_pathname,
5296
reference_name: 'windows/x64/meterpreter/reverse_named_pipe'
5297
end
5298
5299
context 'windows/x64/meterpreter/reverse_tcp' do
5300
it_should_behave_like 'payload cached size is consistent',
5301
ancestor_reference_names: [
5302
'stagers/windows/x64/reverse_tcp',
5303
'stages/windows/x64/meterpreter'
5304
],
5305
dynamic_size: false,
5306
modules_pathname: modules_pathname,
5307
reference_name: 'windows/x64/meterpreter/reverse_tcp'
5308
end
5309
5310
context 'windows/x64/meterpreter/reverse_tcp_rc4' do
5311
it_should_behave_like 'payload cached size is consistent',
5312
ancestor_reference_names: [
5313
'stagers/windows/x64/reverse_tcp_rc4',
5314
'stages/windows/x64/meterpreter'
5315
],
5316
dynamic_size: false,
5317
modules_pathname: modules_pathname,
5318
reference_name: 'windows/x64/meterpreter/reverse_tcp_rc4'
5319
end
5320
5321
context 'windows/x64/meterpreter/reverse_tcp_uuid' do
5322
it_should_behave_like 'payload cached size is consistent',
5323
ancestor_reference_names: [
5324
'stagers/windows/x64/reverse_tcp_uuid',
5325
'stages/windows/x64/meterpreter'
5326
],
5327
dynamic_size: false,
5328
modules_pathname: modules_pathname,
5329
reference_name: 'windows/x64/meterpreter/reverse_tcp_uuid'
5330
end
5331
5332
context 'windows/x64/meterpreter/reverse_winhttp' do
5333
it_should_behave_like 'payload cached size is consistent',
5334
ancestor_reference_names: [
5335
'stagers/windows/x64/reverse_winhttp',
5336
'stages/windows/x64/meterpreter'
5337
],
5338
dynamic_size: false,
5339
modules_pathname: modules_pathname,
5340
reference_name: 'windows/x64/meterpreter/reverse_winhttp'
5341
end
5342
5343
context 'windows/x64/meterpreter/reverse_winhttps' do
5344
it_should_behave_like 'payload cached size is consistent',
5345
ancestor_reference_names: [
5346
'stagers/windows/x64/reverse_winhttps',
5347
'stages/windows/x64/meterpreter'
5348
],
5349
dynamic_size: false,
5350
modules_pathname: modules_pathname,
5351
reference_name: 'windows/x64/meterpreter/reverse_winhttps'
5352
end
5353
5354
context 'windows/x64/meterpreter_bind_named_pipe' do
5355
it_should_behave_like 'payload cached size is consistent',
5356
ancestor_reference_names: [
5357
'singles/windows/x64/meterpreter_bind_named_pipe'
5358
],
5359
dynamic_size: false,
5360
modules_pathname: modules_pathname,
5361
reference_name: 'windows/x64/meterpreter_bind_named_pipe'
5362
end
5363
5364
context 'windows/x64/meterpreter_bind_tcp' do
5365
it_should_behave_like 'payload cached size is consistent',
5366
ancestor_reference_names: [
5367
'singles/windows/x64/meterpreter_bind_tcp'
5368
],
5369
dynamic_size: false,
5370
modules_pathname: modules_pathname,
5371
reference_name: 'windows/x64/meterpreter_bind_tcp'
5372
end
5373
5374
context 'windows/x64/meterpreter_reverse_http' do
5375
it_should_behave_like 'payload cached size is consistent',
5376
ancestor_reference_names: [
5377
'singles/windows/x64/meterpreter_reverse_http'
5378
],
5379
dynamic_size: false,
5380
modules_pathname: modules_pathname,
5381
reference_name: 'windows/x64/meterpreter_reverse_http'
5382
end
5383
5384
context 'windows/x64/meterpreter_reverse_https' do
5385
it_should_behave_like 'payload cached size is consistent',
5386
ancestor_reference_names: [
5387
'singles/windows/x64/meterpreter_reverse_https'
5388
],
5389
dynamic_size: false,
5390
modules_pathname: modules_pathname,
5391
reference_name: 'windows/x64/meterpreter_reverse_https'
5392
end
5393
5394
context 'windows/x64/meterpreter_reverse_ipv6_tcp' do
5395
it_should_behave_like 'payload cached size is consistent',
5396
ancestor_reference_names: [
5397
'singles/windows/x64/meterpreter_reverse_ipv6_tcp'
5398
],
5399
dynamic_size: false,
5400
modules_pathname: modules_pathname,
5401
reference_name: 'windows/x64/meterpreter_reverse_ipv6_tcp'
5402
end
5403
5404
context 'windows/x64/meterpreter_reverse_tcp' do
5405
it_should_behave_like 'payload cached size is consistent',
5406
ancestor_reference_names: [
5407
'singles/windows/x64/meterpreter_reverse_tcp'
5408
],
5409
dynamic_size: false,
5410
modules_pathname: modules_pathname,
5411
reference_name: 'windows/x64/meterpreter_reverse_tcp'
5412
end
5413
5414
context 'windows/x64/peinject/bind_ipv6_tcp' do
5415
it_should_behave_like 'payload cached size is consistent',
5416
ancestor_reference_names: [
5417
'stagers/windows/x64/bind_ipv6_tcp',
5418
'stages/windows/x64/peinject'
5419
],
5420
dynamic_size: true,
5421
modules_pathname: modules_pathname,
5422
reference_name: 'windows/x64/peinject/bind_ipv6_tcp'
5423
end
5424
5425
context 'windows/x64/peinject/bind_ipv6_tcp_uuid' do
5426
it_should_behave_like 'payload cached size is consistent',
5427
ancestor_reference_names: [
5428
'stagers/windows/x64/bind_ipv6_tcp_uuid',
5429
'stages/windows/x64/peinject'
5430
],
5431
dynamic_size: true,
5432
modules_pathname: modules_pathname,
5433
reference_name: 'windows/x64/peinject/bind_ipv6_tcp_uuid'
5434
end
5435
5436
context 'windows/x64/peinject/bind_named_pipe' do
5437
it_should_behave_like 'payload cached size is consistent',
5438
ancestor_reference_names: [
5439
'stagers/windows/x64/bind_named_pipe',
5440
'stages/windows/x64/peinject'
5441
],
5442
dynamic_size: true,
5443
modules_pathname: modules_pathname,
5444
reference_name: 'windows/x64/peinject/bind_named_pipe'
5445
end
5446
5447
context 'windows/x64/peinject/bind_tcp' do
5448
it_should_behave_like 'payload cached size is consistent',
5449
ancestor_reference_names: [
5450
'stagers/windows/x64/bind_tcp',
5451
'stages/windows/x64/peinject'
5452
],
5453
dynamic_size: true,
5454
modules_pathname: modules_pathname,
5455
reference_name: 'windows/x64/peinject/bind_tcp'
5456
end
5457
5458
context 'windows/x64/peinject/bind_tcp_rc4' do
5459
it_should_behave_like 'payload cached size is consistent',
5460
ancestor_reference_names: [
5461
'stagers/windows/x64/bind_tcp_rc4',
5462
'stages/windows/x64/peinject'
5463
],
5464
dynamic_size: true,
5465
modules_pathname: modules_pathname,
5466
reference_name: 'windows/x64/peinject/bind_tcp_rc4'
5467
end
5468
5469
context 'windows/x64/peinject/bind_tcp_uuid' do
5470
it_should_behave_like 'payload cached size is consistent',
5471
ancestor_reference_names: [
5472
'stagers/windows/x64/bind_tcp_uuid',
5473
'stages/windows/x64/peinject'
5474
],
5475
dynamic_size: true,
5476
modules_pathname: modules_pathname,
5477
reference_name: 'windows/x64/peinject/bind_tcp_uuid'
5478
end
5479
5480
context 'windows/x64/peinject/reverse_named_pipe' do
5481
it_should_behave_like 'payload cached size is consistent',
5482
ancestor_reference_names: [
5483
'stagers/windows/x64/reverse_named_pipe',
5484
'stages/windows/x64/peinject'
5485
],
5486
dynamic_size: true,
5487
modules_pathname: modules_pathname,
5488
reference_name: 'windows/x64/peinject/reverse_named_pipe'
5489
end
5490
5491
context 'windows/x64/peinject/reverse_tcp' do
5492
it_should_behave_like 'payload cached size is consistent',
5493
ancestor_reference_names: [
5494
'stagers/windows/x64/reverse_tcp',
5495
'stages/windows/x64/peinject'
5496
],
5497
dynamic_size: true,
5498
modules_pathname: modules_pathname,
5499
reference_name: 'windows/x64/peinject/reverse_tcp'
5500
end
5501
5502
context 'windows/x64/peinject/reverse_tcp_rc4' do
5503
it_should_behave_like 'payload cached size is consistent',
5504
ancestor_reference_names: [
5505
'stagers/windows/x64/reverse_tcp_rc4',
5506
'stages/windows/x64/peinject'
5507
],
5508
dynamic_size: true,
5509
modules_pathname: modules_pathname,
5510
reference_name: 'windows/x64/peinject/reverse_tcp_rc4'
5511
end
5512
5513
context 'windows/x64/peinject/reverse_tcp_uuid' do
5514
it_should_behave_like 'payload cached size is consistent',
5515
ancestor_reference_names: [
5516
'stagers/windows/x64/reverse_tcp_uuid',
5517
'stages/windows/x64/peinject'
5518
],
5519
dynamic_size: true,
5520
modules_pathname: modules_pathname,
5521
reference_name: 'windows/x64/peinject/reverse_tcp_uuid'
5522
end
5523
5524
context 'windows/x64/powershell_bind_tcp' do
5525
it_should_behave_like 'payload cached size is consistent',
5526
ancestor_reference_names: [
5527
'singles/windows/x64/powershell_bind_tcp'
5528
],
5529
dynamic_size: true,
5530
modules_pathname: modules_pathname,
5531
reference_name: 'windows/x64/powershell_bind_tcp'
5532
end
5533
5534
context 'windows/x64/powershell_reverse_tcp' do
5535
it_should_behave_like 'payload cached size is consistent',
5536
ancestor_reference_names: [
5537
'singles/windows/x64/powershell_reverse_tcp'
5538
],
5539
dynamic_size: true,
5540
modules_pathname: modules_pathname,
5541
reference_name: 'windows/x64/powershell_reverse_tcp'
5542
end
5543
5544
context 'windows/x64/powershell_reverse_tcp_ssl' do
5545
it_should_behave_like 'payload cached size is consistent',
5546
ancestor_reference_names: [
5547
'singles/windows/x64/powershell_reverse_tcp_ssl'
5548
],
5549
dynamic_size: true,
5550
modules_pathname: modules_pathname,
5551
reference_name: 'windows/x64/powershell_reverse_tcp_ssl'
5552
end
5553
5554
context 'windows/x64/pingback_reverse_tcp' do
5555
it_should_behave_like 'payload cached size is consistent',
5556
ancestor_reference_names: [
5557
'singles/windows/x64/pingback_reverse_tcp'
5558
],
5559
dynamic_size: false,
5560
modules_pathname: modules_pathname,
5561
reference_name: 'windows/x64/pingback_reverse_tcp'
5562
end
5563
5564
context 'windows/x64/shell/bind_named_pipe' do
5565
it_should_behave_like 'payload cached size is consistent',
5566
ancestor_reference_names: [
5567
'stagers/windows/x64/bind_named_pipe',
5568
'stages/windows/x64/shell'
5569
],
5570
dynamic_size: false,
5571
modules_pathname: modules_pathname,
5572
reference_name: 'windows/x64/shell/bind_named_pipe'
5573
end
5574
5575
context 'windows/x64/shell/bind_tcp' do
5576
it_should_behave_like 'payload cached size is consistent',
5577
ancestor_reference_names: [
5578
'stagers/windows/x64/bind_tcp',
5579
'stages/windows/x64/shell'
5580
],
5581
dynamic_size: false,
5582
modules_pathname: modules_pathname,
5583
reference_name: 'windows/x64/shell/bind_tcp'
5584
end
5585
5586
context 'windows/x64/shell/bind_tcp_rc4' do
5587
it_should_behave_like 'payload cached size is consistent',
5588
ancestor_reference_names: [
5589
'stagers/windows/x64/bind_tcp_rc4',
5590
'stages/windows/x64/shell'
5591
],
5592
dynamic_size: false,
5593
modules_pathname: modules_pathname,
5594
reference_name: 'windows/x64/shell/bind_tcp_rc4'
5595
end
5596
5597
context 'windows/x64/shell/reverse_tcp' do
5598
it_should_behave_like 'payload cached size is consistent',
5599
ancestor_reference_names: [
5600
'stagers/windows/x64/reverse_tcp',
5601
'stages/windows/x64/shell'
5602
],
5603
dynamic_size: false,
5604
modules_pathname: modules_pathname,
5605
reference_name: 'windows/x64/shell/reverse_tcp'
5606
end
5607
5608
context 'windows/x64/shell/reverse_tcp_rc4' do
5609
it_should_behave_like 'payload cached size is consistent',
5610
ancestor_reference_names: [
5611
'stagers/windows/x64/reverse_tcp_rc4',
5612
'stages/windows/x64/shell'
5613
],
5614
dynamic_size: false,
5615
modules_pathname: modules_pathname,
5616
reference_name: 'windows/x64/shell/reverse_tcp_rc4'
5617
end
5618
5619
context 'windows/x64/shell_bind_tcp' do
5620
it_should_behave_like 'payload cached size is consistent',
5621
ancestor_reference_names: [
5622
'singles/windows/x64/shell_bind_tcp'
5623
],
5624
dynamic_size: false,
5625
modules_pathname: modules_pathname,
5626
reference_name: 'windows/x64/shell_bind_tcp'
5627
end
5628
5629
context 'windows/x64/shell_reverse_tcp' do
5630
it_should_behave_like 'payload cached size is consistent',
5631
ancestor_reference_names: [
5632
'singles/windows/x64/shell_reverse_tcp'
5633
],
5634
dynamic_size: false,
5635
modules_pathname: modules_pathname,
5636
reference_name: 'windows/x64/shell_reverse_tcp'
5637
end
5638
5639
context 'windows/x64/vncinject/bind_named_pipe' do
5640
it_should_behave_like 'payload cached size is consistent',
5641
ancestor_reference_names: [
5642
'stagers/windows/x64/bind_named_pipe',
5643
'stages/windows/x64/vncinject'
5644
],
5645
dynamic_size: false,
5646
modules_pathname: modules_pathname,
5647
reference_name: 'windows/x64/vncinject/bind_named_pipe'
5648
end
5649
5650
context 'windows/x64/vncinject/bind_tcp' do
5651
it_should_behave_like 'payload cached size is consistent',
5652
ancestor_reference_names: [
5653
'stagers/windows/x64/bind_tcp',
5654
'stages/windows/x64/vncinject'
5655
],
5656
dynamic_size: false,
5657
modules_pathname: modules_pathname,
5658
reference_name: 'windows/x64/vncinject/bind_tcp'
5659
end
5660
5661
context 'windows/x64/vncinject/bind_tcp_rc4' do
5662
it_should_behave_like 'payload cached size is consistent',
5663
ancestor_reference_names: [
5664
'stagers/windows/x64/bind_tcp_rc4',
5665
'stages/windows/x64/vncinject'
5666
],
5667
dynamic_size: false,
5668
modules_pathname: modules_pathname,
5669
reference_name: 'windows/x64/vncinject/bind_tcp_rc4'
5670
end
5671
5672
context 'windows/x64/vncinject/reverse_tcp' do
5673
it_should_behave_like 'payload cached size is consistent',
5674
ancestor_reference_names: [
5675
'stagers/windows/x64/reverse_tcp',
5676
'stages/windows/x64/vncinject'
5677
],
5678
dynamic_size: false,
5679
modules_pathname: modules_pathname,
5680
reference_name: 'windows/x64/vncinject/reverse_tcp'
5681
end
5682
5683
context 'windows/x64/vncinject/reverse_tcp_rc4' do
5684
it_should_behave_like 'payload cached size is consistent',
5685
ancestor_reference_names: [
5686
'stagers/windows/x64/reverse_tcp_rc4',
5687
'stages/windows/x64/vncinject'
5688
],
5689
dynamic_size: false,
5690
modules_pathname: modules_pathname,
5691
reference_name: 'windows/x64/vncinject/reverse_tcp_rc4'
5692
end
5693
5694
context 'windows/dllinject/bind_hidden_tcp' do
5695
it_should_behave_like 'payload cached size is consistent',
5696
ancestor_reference_names: [
5697
'stagers/windows/bind_hidden_tcp',
5698
'stages/windows/dllinject'
5699
],
5700
dynamic_size: false,
5701
modules_pathname: modules_pathname,
5702
reference_name: 'windows/dllinject/bind_hidden_tcp'
5703
end
5704
5705
context 'windows/meterpreter/bind_hidden_tcp' do
5706
it_should_behave_like 'payload cached size is consistent',
5707
ancestor_reference_names: [
5708
'stagers/windows/bind_hidden_tcp',
5709
'stages/windows/meterpreter'
5710
],
5711
dynamic_size: false,
5712
modules_pathname: modules_pathname,
5713
reference_name: 'windows/meterpreter/bind_hidden_tcp'
5714
end
5715
5716
context 'windows/patchupdllinject/bind_hidden_tcp' do
5717
it_should_behave_like 'payload cached size is consistent',
5718
ancestor_reference_names: [
5719
'stagers/windows/bind_hidden_tcp',
5720
'stages/windows/patchupdllinject'
5721
],
5722
dynamic_size: false,
5723
modules_pathname: modules_pathname,
5724
reference_name: 'windows/patchupdllinject/bind_hidden_tcp'
5725
end
5726
5727
context 'windows/patchupmeterpreter/bind_hidden_tcp' do
5728
it_should_behave_like 'payload cached size is consistent',
5729
ancestor_reference_names: [
5730
'stagers/windows/bind_hidden_tcp',
5731
'stages/windows/patchupmeterpreter'
5732
],
5733
dynamic_size: false,
5734
modules_pathname: modules_pathname,
5735
reference_name: 'windows/patchupmeterpreter/bind_hidden_tcp'
5736
end
5737
5738
context 'windows/shell/bind_hidden_tcp' do
5739
it_should_behave_like 'payload cached size is consistent',
5740
ancestor_reference_names: [
5741
'stagers/windows/bind_hidden_tcp',
5742
'stages/windows/shell'
5743
],
5744
dynamic_size: false,
5745
modules_pathname: modules_pathname,
5746
reference_name: 'windows/shell/bind_hidden_tcp'
5747
end
5748
5749
context 'windows/upexec/bind_hidden_tcp' do
5750
it_should_behave_like 'payload cached size is consistent',
5751
ancestor_reference_names: [
5752
'stagers/windows/bind_hidden_tcp',
5753
'stages/windows/upexec'
5754
],
5755
dynamic_size: false,
5756
modules_pathname: modules_pathname,
5757
reference_name: 'windows/upexec/bind_hidden_tcp'
5758
end
5759
5760
context 'windows/vncinject/bind_hidden_tcp' do
5761
it_should_behave_like 'payload cached size is consistent',
5762
ancestor_reference_names: [
5763
'stagers/windows/bind_hidden_tcp',
5764
'stages/windows/vncinject'
5765
],
5766
dynamic_size: false,
5767
modules_pathname: modules_pathname,
5768
reference_name: 'windows/vncinject/bind_hidden_tcp'
5769
end
5770
5771
context 'windows/dllinject/bind_hidden_ipknock_tcp' do
5772
it_should_behave_like 'payload cached size is consistent',
5773
ancestor_reference_names: [
5774
'stagers/windows/bind_hidden_ipknock_tcp',
5775
'stages/windows/dllinject'
5776
],
5777
dynamic_size: false,
5778
modules_pathname: modules_pathname,
5779
reference_name: 'windows/dllinject/bind_hidden_ipknock_tcp'
5780
end
5781
5782
context 'windows/meterpreter/bind_hidden_ipknock_tcp' do
5783
it_should_behave_like 'payload cached size is consistent',
5784
ancestor_reference_names: [
5785
'stagers/windows/bind_hidden_ipknock_tcp',
5786
'stages/windows/meterpreter'
5787
],
5788
dynamic_size: false,
5789
modules_pathname: modules_pathname,
5790
reference_name: 'windows/meterpreter/bind_hidden_ipknock_tcp'
5791
end
5792
5793
context 'windows/patchupdllinject/bind_hidden_ipknock_tcp' do
5794
it_should_behave_like 'payload cached size is consistent',
5795
ancestor_reference_names: [
5796
'stagers/windows/bind_hidden_ipknock_tcp',
5797
'stages/windows/patchupdllinject'
5798
],
5799
dynamic_size: false,
5800
modules_pathname: modules_pathname,
5801
reference_name: 'windows/patchupdllinject/bind_hidden_ipknock_tcp'
5802
end
5803
5804
context 'windows/patchupmeterpreter/bind_hidden_ipknock_tcp' do
5805
it_should_behave_like 'payload cached size is consistent',
5806
ancestor_reference_names: [
5807
'stagers/windows/bind_hidden_ipknock_tcp',
5808
'stages/windows/patchupmeterpreter'
5809
],
5810
dynamic_size: false,
5811
modules_pathname: modules_pathname,
5812
reference_name: 'windows/patchupmeterpreter/bind_hidden_ipknock_tcp'
5813
end
5814
5815
context 'windows/powershell_bind_tcp' do
5816
it_should_behave_like 'payload cached size is consistent',
5817
ancestor_reference_names: [
5818
'singles/windows/powershell_bind_tcp'
5819
],
5820
dynamic_size: true,
5821
modules_pathname: modules_pathname,
5822
reference_name: 'windows/powershell_bind_tcp'
5823
end
5824
5825
context 'windows/powershell_reverse_tcp' do
5826
it_should_behave_like 'payload cached size is consistent',
5827
ancestor_reference_names: [
5828
'singles/windows/powershell_reverse_tcp'
5829
],
5830
dynamic_size: true,
5831
modules_pathname: modules_pathname,
5832
reference_name: 'windows/powershell_reverse_tcp'
5833
end
5834
5835
context 'windows/powershell_reverse_tcp_ssl' do
5836
it_should_behave_like 'payload cached size is consistent',
5837
ancestor_reference_names: [
5838
'singles/windows/powershell_reverse_tcp_ssl'
5839
],
5840
dynamic_size: true,
5841
modules_pathname: modules_pathname,
5842
reference_name: 'windows/powershell_reverse_tcp_ssl'
5843
end
5844
5845
context 'windows/shell/bind_hidden_ipknock_tcp' do
5846
it_should_behave_like 'payload cached size is consistent',
5847
ancestor_reference_names: [
5848
'stagers/windows/bind_hidden_ipknock_tcp',
5849
'stages/windows/shell'
5850
],
5851
dynamic_size: false,
5852
modules_pathname: modules_pathname,
5853
reference_name: 'windows/shell/bind_hidden_ipknock_tcp'
5854
end
5855
5856
context 'windows/upexec/bind_hidden_ipknock_tcp' do
5857
it_should_behave_like 'payload cached size is consistent',
5858
ancestor_reference_names: [
5859
'stagers/windows/bind_hidden_ipknock_tcp',
5860
'stages/windows/upexec'
5861
],
5862
dynamic_size: false,
5863
modules_pathname: modules_pathname,
5864
reference_name: 'windows/upexec/bind_hidden_ipknock_tcp'
5865
end
5866
5867
context 'windows/vncinject/bind_hidden_ipknock_tcp' do
5868
it_should_behave_like 'payload cached size is consistent',
5869
ancestor_reference_names: [
5870
'stagers/windows/bind_hidden_ipknock_tcp',
5871
'stages/windows/vncinject'
5872
],
5873
dynamic_size: false,
5874
modules_pathname: modules_pathname,
5875
reference_name: 'windows/vncinject/bind_hidden_ipknock_tcp'
5876
end
5877
5878
context 'windows/meterpreter/reverse_winhttp' do
5879
it_should_behave_like 'payload cached size is consistent',
5880
ancestor_reference_names: [
5881
'stagers/windows/reverse_winhttp',
5882
'stages/windows/meterpreter'
5883
],
5884
dynamic_size: false,
5885
modules_pathname: modules_pathname,
5886
reference_name: 'windows/meterpreter/reverse_winhttp'
5887
end
5888
5889
context 'windows/meterpreter/reverse_winhttps' do
5890
it_should_behave_like 'payload cached size is consistent',
5891
ancestor_reference_names: [
5892
'stagers/windows/reverse_winhttps',
5893
'stages/windows/meterpreter'
5894
],
5895
dynamic_size: false,
5896
modules_pathname: modules_pathname,
5897
reference_name: 'windows/meterpreter/reverse_winhttps'
5898
end
5899
5900
context 'linux/mips64/meterpreter_reverse_http' do
5901
it_should_behave_like 'payload cached size is consistent',
5902
ancestor_reference_names: [
5903
'singles/linux/mips64/meterpreter_reverse_http'
5904
],
5905
dynamic_size: false,
5906
modules_pathname: modules_pathname,
5907
reference_name: 'linux/mips64/meterpreter_reverse_http'
5908
end
5909
5910
context 'linux/mips64/meterpreter_reverse_https' do
5911
it_should_behave_like 'payload cached size is consistent',
5912
ancestor_reference_names: [
5913
'singles/linux/mips64/meterpreter_reverse_https'
5914
],
5915
dynamic_size: false,
5916
modules_pathname: modules_pathname,
5917
reference_name: 'linux/mips64/meterpreter_reverse_https'
5918
end
5919
5920
context 'linux/mipsbe/meterpreter_reverse_http' do
5921
it_should_behave_like 'payload cached size is consistent',
5922
ancestor_reference_names: [
5923
'singles/linux/mipsbe/meterpreter_reverse_http'
5924
],
5925
dynamic_size: false,
5926
modules_pathname: modules_pathname,
5927
reference_name: 'linux/mipsbe/meterpreter_reverse_http'
5928
end
5929
5930
context 'linux/mipsbe/meterpreter_reverse_https' do
5931
it_should_behave_like 'payload cached size is consistent',
5932
ancestor_reference_names: [
5933
'singles/linux/mipsbe/meterpreter_reverse_https'
5934
],
5935
dynamic_size: false,
5936
modules_pathname: modules_pathname,
5937
reference_name: 'linux/mipsbe/meterpreter_reverse_https'
5938
end
5939
5940
context 'linux/mipsle/meterpreter_reverse_http' do
5941
it_should_behave_like 'payload cached size is consistent',
5942
ancestor_reference_names: [
5943
'singles/linux/mipsle/meterpreter_reverse_http'
5944
],
5945
dynamic_size: false,
5946
modules_pathname: modules_pathname,
5947
reference_name: 'linux/mipsle/meterpreter_reverse_http'
5948
end
5949
5950
context 'linux/mipsle/meterpreter_reverse_https' do
5951
it_should_behave_like 'payload cached size is consistent',
5952
ancestor_reference_names: [
5953
'singles/linux/mipsle/meterpreter_reverse_https'
5954
],
5955
dynamic_size: false,
5956
modules_pathname: modules_pathname,
5957
reference_name: 'linux/mipsle/meterpreter_reverse_https'
5958
end
5959
5960
context 'linux/ppc/meterpreter_reverse_http' do
5961
it_should_behave_like 'payload cached size is consistent',
5962
ancestor_reference_names: [
5963
'singles/linux/ppc/meterpreter_reverse_http'
5964
],
5965
dynamic_size: false,
5966
modules_pathname: modules_pathname,
5967
reference_name: 'linux/ppc/meterpreter_reverse_http'
5968
end
5969
5970
context 'linux/ppc/meterpreter_reverse_https' do
5971
it_should_behave_like 'payload cached size is consistent',
5972
ancestor_reference_names: [
5973
'singles/linux/ppc/meterpreter_reverse_https'
5974
],
5975
dynamic_size: false,
5976
modules_pathname: modules_pathname,
5977
reference_name: 'linux/ppc/meterpreter_reverse_https'
5978
end
5979
5980
context 'linux/ppce500v2/meterpreter_reverse_http' do
5981
it_should_behave_like 'payload cached size is consistent',
5982
ancestor_reference_names: [
5983
'singles/linux/ppce500v2/meterpreter_reverse_http'
5984
],
5985
dynamic_size: false,
5986
modules_pathname: modules_pathname,
5987
reference_name: 'linux/ppce500v2/meterpreter_reverse_http'
5988
end
5989
5990
context 'linux/ppce500v2/meterpreter_reverse_https' do
5991
it_should_behave_like 'payload cached size is consistent',
5992
ancestor_reference_names: [
5993
'singles/linux/ppce500v2/meterpreter_reverse_https'
5994
],
5995
dynamic_size: false,
5996
modules_pathname: modules_pathname,
5997
reference_name: 'linux/ppce500v2/meterpreter_reverse_https'
5998
end
5999
6000
context 'linux/ppce500v2/meterpreter_reverse_tcp' do
6001
it_should_behave_like 'payload cached size is consistent',
6002
ancestor_reference_names: [
6003
'singles/linux/ppce500v2/meterpreter_reverse_tcp'
6004
],
6005
dynamic_size: false,
6006
modules_pathname: modules_pathname,
6007
reference_name: 'linux/ppce500v2/meterpreter_reverse_tcp'
6008
end
6009
6010
context 'linux/ppc64le/meterpreter_reverse_http' do
6011
it_should_behave_like 'payload cached size is consistent',
6012
ancestor_reference_names: [
6013
'singles/linux/ppc64le/meterpreter_reverse_http'
6014
],
6015
dynamic_size: false,
6016
modules_pathname: modules_pathname,
6017
reference_name: 'linux/ppc64le/meterpreter_reverse_http'
6018
end
6019
6020
context 'linux/ppc64le/meterpreter_reverse_https' do
6021
it_should_behave_like 'payload cached size is consistent',
6022
ancestor_reference_names: [
6023
'singles/linux/ppc64le/meterpreter_reverse_https'
6024
],
6025
dynamic_size: false,
6026
modules_pathname: modules_pathname,
6027
reference_name: 'linux/ppc64le/meterpreter_reverse_https'
6028
end
6029
6030
context 'linux/x64/meterpreter_reverse_http' do
6031
it_should_behave_like 'payload cached size is consistent',
6032
ancestor_reference_names: [
6033
'singles/linux/x64/meterpreter_reverse_http'
6034
],
6035
dynamic_size: false,
6036
modules_pathname: modules_pathname,
6037
reference_name: 'linux/x64/meterpreter_reverse_http'
6038
end
6039
6040
context 'linux/x64/meterpreter_reverse_https' do
6041
it_should_behave_like 'payload cached size is consistent',
6042
ancestor_reference_names: [
6043
'singles/linux/x64/meterpreter_reverse_https'
6044
],
6045
dynamic_size: false,
6046
modules_pathname: modules_pathname,
6047
reference_name: 'linux/x64/meterpreter_reverse_https'
6048
end
6049
6050
context 'linux/x86/meterpreter_reverse_http' do
6051
it_should_behave_like 'payload cached size is consistent',
6052
ancestor_reference_names: [
6053
'singles/linux/x86/meterpreter_reverse_http'
6054
],
6055
dynamic_size: false,
6056
modules_pathname: modules_pathname,
6057
reference_name: 'linux/x86/meterpreter_reverse_http'
6058
end
6059
6060
context 'linux/x86/meterpreter_reverse_https' do
6061
it_should_behave_like 'payload cached size is consistent',
6062
ancestor_reference_names: [
6063
'singles/linux/x86/meterpreter_reverse_https'
6064
],
6065
dynamic_size: false,
6066
modules_pathname: modules_pathname,
6067
reference_name: 'linux/x86/meterpreter_reverse_https'
6068
end
6069
6070
context 'linux/x86/metsvc_bind_tcp' do
6071
it_should_behave_like 'payload cached size is consistent',
6072
ancestor_reference_names: [
6073
'singles/linux/x86/metsvc_bind_tcp'
6074
],
6075
dynamic_size: false,
6076
modules_pathname: modules_pathname,
6077
reference_name: 'linux/x86/metsvc_bind_tcp'
6078
end
6079
6080
context 'linux/x86/metsvc_reverse_tcp' do
6081
it_should_behave_like 'payload cached size is consistent',
6082
ancestor_reference_names: [
6083
'singles/linux/x86/metsvc_reverse_tcp'
6084
],
6085
dynamic_size: false,
6086
modules_pathname: modules_pathname,
6087
reference_name: 'linux/x86/metsvc_reverse_tcp'
6088
end
6089
6090
context 'linux/zarch/meterpreter_reverse_http' do
6091
it_should_behave_like 'payload cached size is consistent',
6092
ancestor_reference_names: [
6093
'singles/linux/zarch/meterpreter_reverse_http'
6094
],
6095
dynamic_size: false,
6096
modules_pathname: modules_pathname,
6097
reference_name: 'linux/zarch/meterpreter_reverse_http'
6098
end
6099
6100
context 'linux/zarch/meterpreter_reverse_https' do
6101
it_should_behave_like 'payload cached size is consistent',
6102
ancestor_reference_names: [
6103
'singles/linux/zarch/meterpreter_reverse_https'
6104
],
6105
dynamic_size: false,
6106
modules_pathname: modules_pathname,
6107
reference_name: 'linux/zarch/meterpreter_reverse_https'
6108
end
6109
6110
context 'linux/aarch64/meterpreter/reverse_tcp' do
6111
it_should_behave_like 'payload cached size is consistent',
6112
ancestor_reference_names: [
6113
'stagers/linux/aarch64/reverse_tcp',
6114
'stages/linux/aarch64/meterpreter'
6115
],
6116
dynamic_size: false,
6117
modules_pathname: modules_pathname,
6118
reference_name: 'linux/aarch64/meterpreter/reverse_tcp'
6119
end
6120
6121
context 'linux/aarch64/meterpreter_reverse_tcp' do
6122
it_should_behave_like 'payload cached size is consistent',
6123
ancestor_reference_names: [
6124
'singles/linux/aarch64/meterpreter_reverse_tcp'
6125
],
6126
dynamic_size: false,
6127
modules_pathname: modules_pathname,
6128
reference_name: 'linux/aarch64/meterpreter_reverse_tcp'
6129
end
6130
6131
context 'linux/armbe/meterpreter_reverse_tcp' do
6132
it_should_behave_like 'payload cached size is consistent',
6133
ancestor_reference_names: [
6134
'singles/linux/armbe/meterpreter_reverse_tcp'
6135
],
6136
dynamic_size: false,
6137
modules_pathname: modules_pathname,
6138
reference_name: 'linux/armbe/meterpreter_reverse_tcp'
6139
end
6140
6141
context 'linux/armbe/meterpreter_reverse_http' do
6142
it_should_behave_like 'payload cached size is consistent',
6143
ancestor_reference_names: [
6144
'singles/linux/armbe/meterpreter_reverse_http'
6145
],
6146
dynamic_size: false,
6147
modules_pathname: modules_pathname,
6148
reference_name: 'linux/armbe/meterpreter_reverse_http'
6149
end
6150
6151
context 'linux/armbe/meterpreter_reverse_https' do
6152
it_should_behave_like 'payload cached size is consistent',
6153
ancestor_reference_names: [
6154
'singles/linux/armbe/meterpreter_reverse_https'
6155
],
6156
dynamic_size: false,
6157
modules_pathname: modules_pathname,
6158
reference_name: 'linux/armbe/meterpreter_reverse_https'
6159
end
6160
6161
context 'linux/armle/meterpreter_reverse_http' do
6162
it_should_behave_like 'payload cached size is consistent',
6163
ancestor_reference_names: [
6164
'singles/linux/armle/meterpreter_reverse_http'
6165
],
6166
dynamic_size: false,
6167
modules_pathname: modules_pathname,
6168
reference_name: 'linux/armle/meterpreter_reverse_http'
6169
end
6170
6171
context 'linux/armle/meterpreter_reverse_https' do
6172
it_should_behave_like 'payload cached size is consistent',
6173
ancestor_reference_names: [
6174
'singles/linux/armle/meterpreter_reverse_https'
6175
],
6176
dynamic_size: false,
6177
modules_pathname: modules_pathname,
6178
reference_name: 'linux/armle/meterpreter_reverse_https'
6179
end
6180
6181
context 'linux/armle/meterpreter/bind_tcp' do
6182
it_should_behave_like 'payload cached size is consistent',
6183
ancestor_reference_names: [
6184
'stagers/linux/armle/bind_tcp',
6185
'stages/linux/armle/meterpreter'
6186
],
6187
dynamic_size: false,
6188
modules_pathname: modules_pathname,
6189
reference_name: 'linux/armle/meterpreter/bind_tcp'
6190
end
6191
6192
context 'linux/armle/meterpreter/reverse_tcp' do
6193
it_should_behave_like 'payload cached size is consistent',
6194
ancestor_reference_names: [
6195
'stagers/linux/armle/reverse_tcp',
6196
'stages/linux/armle/meterpreter'
6197
],
6198
dynamic_size: false,
6199
modules_pathname: modules_pathname,
6200
reference_name: 'linux/armle/meterpreter/reverse_tcp'
6201
end
6202
6203
context 'linux/armle/meterpreter_reverse_tcp' do
6204
it_should_behave_like 'payload cached size is consistent',
6205
ancestor_reference_names: [
6206
'singles/linux/armle/meterpreter_reverse_tcp'
6207
],
6208
dynamic_size: false,
6209
modules_pathname: modules_pathname,
6210
reference_name: 'linux/armle/meterpreter_reverse_tcp'
6211
end
6212
6213
context 'linux/mips64/meterpreter_reverse_tcp' do
6214
it_should_behave_like 'payload cached size is consistent',
6215
ancestor_reference_names: [
6216
'singles/linux/mips64/meterpreter_reverse_tcp'
6217
],
6218
dynamic_size: false,
6219
modules_pathname: modules_pathname,
6220
reference_name: 'linux/mips64/meterpreter_reverse_tcp'
6221
end
6222
6223
context 'linux/mipsbe/meterpreter/reverse_tcp' do
6224
it_should_behave_like 'payload cached size is consistent',
6225
ancestor_reference_names: [
6226
'stagers/linux/mipsbe/reverse_tcp',
6227
'stages/linux/mipsbe/meterpreter'
6228
],
6229
dynamic_size: false,
6230
modules_pathname: modules_pathname,
6231
reference_name: 'linux/mipsbe/meterpreter/reverse_tcp'
6232
end
6233
6234
context 'linux/mipsbe/meterpreter_reverse_tcp' do
6235
it_should_behave_like 'payload cached size is consistent',
6236
ancestor_reference_names: [
6237
'singles/linux/mipsbe/meterpreter_reverse_tcp'
6238
],
6239
dynamic_size: false,
6240
modules_pathname: modules_pathname,
6241
reference_name: 'linux/mipsbe/meterpreter_reverse_tcp'
6242
end
6243
6244
context 'linux/mipsle/meterpreter/reverse_tcp' do
6245
it_should_behave_like 'payload cached size is consistent',
6246
ancestor_reference_names: [
6247
'stagers/linux/mipsle/reverse_tcp',
6248
'stages/linux/mipsle/meterpreter'
6249
],
6250
dynamic_size: false,
6251
modules_pathname: modules_pathname,
6252
reference_name: 'linux/mipsle/meterpreter/reverse_tcp'
6253
end
6254
6255
context 'linux/mipsle/meterpreter_reverse_tcp' do
6256
it_should_behave_like 'payload cached size is consistent',
6257
ancestor_reference_names: [
6258
'singles/linux/mipsle/meterpreter_reverse_tcp'
6259
],
6260
dynamic_size: false,
6261
modules_pathname: modules_pathname,
6262
reference_name: 'linux/mipsle/meterpreter_reverse_tcp'
6263
end
6264
6265
context 'linux/ppc/meterpreter_reverse_tcp' do
6266
it_should_behave_like 'payload cached size is consistent',
6267
ancestor_reference_names: [
6268
'singles/linux/ppc/meterpreter_reverse_tcp'
6269
],
6270
dynamic_size: false,
6271
modules_pathname: modules_pathname,
6272
reference_name: 'linux/ppc/meterpreter_reverse_tcp'
6273
end
6274
6275
context 'linux/ppc64le/meterpreter_reverse_tcp' do
6276
it_should_behave_like 'payload cached size is consistent',
6277
ancestor_reference_names: [
6278
'singles/linux/ppc64le/meterpreter_reverse_tcp'
6279
],
6280
dynamic_size: false,
6281
modules_pathname: modules_pathname,
6282
reference_name: 'linux/ppc64le/meterpreter_reverse_tcp'
6283
end
6284
6285
context 'linux/x64/meterpreter/bind_tcp' do
6286
it_should_behave_like 'payload cached size is consistent',
6287
ancestor_reference_names: [
6288
'stagers/linux/x64/bind_tcp',
6289
'stages/linux/x64/meterpreter'
6290
],
6291
dynamic_size: false,
6292
modules_pathname: modules_pathname,
6293
reference_name: 'linux/x64/meterpreter/bind_tcp'
6294
end
6295
6296
context 'linux/x64/meterpreter/reverse_tcp' do
6297
it_should_behave_like 'payload cached size is consistent',
6298
ancestor_reference_names: [
6299
'stagers/linux/x64/reverse_tcp',
6300
'stages/linux/x64/meterpreter'
6301
],
6302
dynamic_size: false,
6303
modules_pathname: modules_pathname,
6304
reference_name: 'linux/x64/meterpreter/reverse_tcp'
6305
end
6306
6307
context 'linux/x64/meterpreter_reverse_tcp' do
6308
it_should_behave_like 'payload cached size is consistent',
6309
ancestor_reference_names: [
6310
'singles/linux/x64/meterpreter_reverse_tcp'
6311
],
6312
dynamic_size: false,
6313
modules_pathname: modules_pathname,
6314
reference_name: 'linux/x64/meterpreter_reverse_tcp'
6315
end
6316
6317
context 'linux/x86/meterpreter/bind_ipv6_tcp' do
6318
it_should_behave_like 'payload cached size is consistent',
6319
ancestor_reference_names: [
6320
'stagers/linux/x86/bind_ipv6_tcp',
6321
'stages/linux/x86/meterpreter'
6322
],
6323
dynamic_size: false,
6324
modules_pathname: modules_pathname,
6325
reference_name: 'linux/x86/meterpreter/bind_ipv6_tcp'
6326
end
6327
6328
context 'linux/x86/meterpreter/bind_ipv6_tcp_uuid' do
6329
it_should_behave_like 'payload cached size is consistent',
6330
ancestor_reference_names: [
6331
'stagers/linux/x86/bind_ipv6_tcp_uuid',
6332
'stages/linux/x86/meterpreter'
6333
],
6334
dynamic_size: false,
6335
modules_pathname: modules_pathname,
6336
reference_name: 'linux/x86/meterpreter/bind_ipv6_tcp_uuid'
6337
end
6338
6339
context 'linux/x86/meterpreter/bind_nonx_tcp' do
6340
it_should_behave_like 'payload cached size is consistent',
6341
ancestor_reference_names: [
6342
'stagers/linux/x86/bind_nonx_tcp',
6343
'stages/linux/x86/meterpreter'
6344
],
6345
dynamic_size: false,
6346
modules_pathname: modules_pathname,
6347
reference_name: 'linux/x86/meterpreter/bind_nonx_tcp'
6348
end
6349
6350
context 'linux/x86/meterpreter/bind_tcp' do
6351
it_should_behave_like 'payload cached size is consistent',
6352
ancestor_reference_names: [
6353
'stagers/linux/x86/bind_tcp',
6354
'stages/linux/x86/meterpreter'
6355
],
6356
dynamic_size: false,
6357
modules_pathname: modules_pathname,
6358
reference_name: 'linux/x86/meterpreter/bind_tcp'
6359
end
6360
6361
context 'linux/x86/meterpreter/bind_tcp_uuid' do
6362
it_should_behave_like 'payload cached size is consistent',
6363
ancestor_reference_names: [
6364
'stagers/linux/x86/bind_tcp_uuid',
6365
'stages/linux/x86/meterpreter'
6366
],
6367
dynamic_size: false,
6368
modules_pathname: modules_pathname,
6369
reference_name: 'linux/x86/meterpreter/bind_tcp_uuid'
6370
end
6371
6372
context 'linux/x86/meterpreter/find_tag' do
6373
it_should_behave_like 'payload cached size is consistent',
6374
ancestor_reference_names: [
6375
'stagers/linux/x86/find_tag',
6376
'stages/linux/x86/meterpreter'
6377
],
6378
dynamic_size: false,
6379
modules_pathname: modules_pathname,
6380
reference_name: 'linux/x86/meterpreter/find_tag'
6381
end
6382
6383
context 'linux/x86/meterpreter/reverse_ipv6_tcp' do
6384
it_should_behave_like 'payload cached size is consistent',
6385
ancestor_reference_names: [
6386
'stagers/linux/x86/reverse_ipv6_tcp',
6387
'stages/linux/x86/meterpreter'
6388
],
6389
dynamic_size: false,
6390
modules_pathname: modules_pathname,
6391
reference_name: 'linux/x86/meterpreter/reverse_ipv6_tcp'
6392
end
6393
6394
context 'linux/x86/meterpreter/reverse_nonx_tcp' do
6395
it_should_behave_like 'payload cached size is consistent',
6396
ancestor_reference_names: [
6397
'stagers/linux/x86/reverse_nonx_tcp',
6398
'stages/linux/x86/meterpreter'
6399
],
6400
dynamic_size: false,
6401
modules_pathname: modules_pathname,
6402
reference_name: 'linux/x86/meterpreter/reverse_nonx_tcp'
6403
end
6404
6405
context 'linux/x86/meterpreter/reverse_tcp' do
6406
it_should_behave_like 'payload cached size is consistent',
6407
ancestor_reference_names: [
6408
'stagers/linux/x86/reverse_tcp',
6409
'stages/linux/x86/meterpreter'
6410
],
6411
dynamic_size: false,
6412
modules_pathname: modules_pathname,
6413
reference_name: 'linux/x86/meterpreter/reverse_tcp'
6414
end
6415
6416
context 'linux/x86/meterpreter/reverse_tcp_uuid' do
6417
it_should_behave_like 'payload cached size is consistent',
6418
ancestor_reference_names: [
6419
'stagers/linux/x86/reverse_tcp_uuid',
6420
'stages/linux/x86/meterpreter'
6421
],
6422
dynamic_size: false,
6423
modules_pathname: modules_pathname,
6424
reference_name: 'linux/x86/meterpreter/reverse_tcp_uuid'
6425
end
6426
6427
context 'linux/x86/meterpreter_reverse_tcp' do
6428
it_should_behave_like 'payload cached size is consistent',
6429
ancestor_reference_names: [
6430
'singles/linux/x86/meterpreter_reverse_tcp'
6431
],
6432
dynamic_size: false,
6433
modules_pathname: modules_pathname,
6434
reference_name: 'linux/x86/meterpreter_reverse_tcp'
6435
end
6436
6437
context 'linux/zarch/meterpreter_reverse_tcp' do
6438
it_should_behave_like 'payload cached size is consistent',
6439
ancestor_reference_names: [
6440
'singles/linux/zarch/meterpreter_reverse_tcp'
6441
],
6442
dynamic_size: false,
6443
modules_pathname: modules_pathname,
6444
reference_name: 'linux/zarch/meterpreter_reverse_tcp'
6445
end
6446
6447
context 'r/shell_bind_tcp' do
6448
it_should_behave_like 'payload cached size is consistent',
6449
ancestor_reference_names: [
6450
'singles/r/shell_bind_tcp'
6451
],
6452
dynamic_size: false,
6453
modules_pathname: modules_pathname,
6454
reference_name: 'r/shell_bind_tcp'
6455
end
6456
6457
context 'r/shell_reverse_tcp' do
6458
it_should_behave_like 'payload cached size is consistent',
6459
ancestor_reference_names: [
6460
'singles/r/shell_reverse_tcp'
6461
],
6462
dynamic_size: false,
6463
modules_pathname: modules_pathname,
6464
reference_name: 'r/shell_reverse_tcp'
6465
end
6466
end
6467
6468