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