Skip to content

Commit ceadd1e

Browse files
committed
Update osx x86 payload cached sizes to be accurate.
- Right now there is a bug in the payload_spec, which causes the payload's datastore during the spec run to have things like 'PrependSetuid' => 'false', where 'false' is a string, which means 'if (datastore['PrependSetuid'])' branch will be taken, resulting in incorrect behavior.
1 parent eaab665 commit ceadd1e

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

modules/payloads/singles/osx/x86/exec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
###
1818
module Metasploit3
1919

20-
CachedSize = 81
20+
CachedSize = 16
2121

2222
include Msf::Payload::Single
2323
include Msf::Payload::Osx

modules/payloads/singles/osx/x86/shell_bind_tcp.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
module Metasploit3
1212

13-
CachedSize = 139
13+
CachedSize = 74
1414

1515
include Msf::Payload::Single
1616
include Msf::Payload::Osx

modules/payloads/singles/osx/x86/shell_find_port.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
module Metasploit3
1212

13-
CachedSize = 126
13+
CachedSize = 61
1414

1515
include Msf::Payload::Single
1616
include Msf::Payload::Osx

modules/payloads/singles/osx/x86/shell_reverse_tcp.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
module Metasploit3
1212

13-
CachedSize = 130
13+
CachedSize = 65
1414

1515
include Msf::Payload::Single
1616
include Msf::Payload::Osx

modules/payloads/singles/osx/x86/vforkshell_bind_tcp.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
module Metasploit3
1212

13-
CachedSize = 217
13+
CachedSize = 152
1414

1515
include Msf::Payload::Single
1616
include Msf::Payload::Osx

modules/payloads/singles/osx/x86/vforkshell_reverse_tcp.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
module Metasploit3
1212

13-
CachedSize = 196
13+
CachedSize = 131
1414

1515
include Msf::Payload::Single
1616
include Msf::Payload::Osx

0 commit comments

Comments
 (0)