Skip to content

Commit 21f6127

Browse files
committed
Platform windows cleanup
Change all Platform 'windows' to 'win', as it internally is an alias anyway and only causes unnecessary confusion to have two platform names that mean the same.
1 parent 33ce74f commit 21f6127

File tree

136 files changed

+138
-138
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

136 files changed

+138
-138
lines changed

modules/exploits/multi/http/ajaxplorer_checkinstall_exec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def initialize(info = {})
4444
'RequiredCmd' => 'generic perl ruby python bash telnet'
4545
}
4646
},
47-
'Platform' => ['unix', 'bsd', 'linux', 'osx', 'windows'],
47+
'Platform' => ['unix', 'bsd', 'linux', 'osx', 'win'],
4848
'Arch' => ARCH_CMD,
4949
'Targets' => [[ 'AjaXplorer 2.5.5 or older', { }]],
5050
'DisclosureDate' => 'Apr 4 2010',
@@ -108,4 +108,4 @@ def exploit
108108
=begin
109109
Repo:
110110
http://sourceforge.net/projects/ajaxplorer/files/ajaxplorer/2.6/
111-
=end
111+
=end

modules/exploits/multi/http/jboss_bshdeployer.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def initialize(info = {})
4242
[ 'URL', 'https://bugzilla.redhat.com/show_bug.cgi?id=574105' ],
4343
],
4444
'Privileged' => true,
45-
'Platform' => ['java', 'windows', 'linux' ],
45+
'Platform' => ['java', 'win', 'linux' ],
4646
'Stance' => Msf::Exploit::Stance::Aggressive,
4747
'Targets' =>
4848
[

modules/exploits/multi/http/jboss_deploymentfilerepository.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def initialize(info = {})
3636
[ 'URL', 'https://bugzilla.redhat.com/show_bug.cgi?id=574105' ],
3737
],
3838
'Privileged' => false,
39-
'Platform' => ['java', 'linux', 'windows' ],
39+
'Platform' => ['java', 'linux', 'win' ],
4040
'Targets' =>
4141
[
4242
#

modules/exploits/windows/local/ask.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def initialize(info={})
2929
'License' => MSF_LICENSE,
3030
'Author' => [ 'mubix' ],
3131
'Version' => '$Revision$',
32-
'Platform' => [ 'windows' ],
32+
'Platform' => [ 'win' ],
3333
'SessionTypes' => [ 'meterpreter' ],
3434
'Targets' => [ [ 'Windows', {} ] ],
3535
'DefaultTarget' => 0,

modules/exploits/windows/local/bypassuac.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def initialize(info={})
3333
'mubix' # Port to local exploit
3434
],
3535
'Version' => '$Revision$',
36-
'Platform' => [ 'windows' ],
36+
'Platform' => [ 'win' ],
3737
'SessionTypes' => [ 'meterpreter' ],
3838
'Targets' => [ [ 'Windows', {} ] ],
3939
'DefaultTarget' => 0,

modules/exploits/windows/local/current_user_psexec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def initialize(info={})
4949
],
5050
'DisclosureDate' => 'Jan 01 1999',
5151
'Version' => '$Revision$',
52-
'Platform' => [ 'windows' ],
52+
'Platform' => [ 'win' ],
5353
'SessionTypes' => [ 'meterpreter' ],
5454
'Targets' => [ [ 'Universal', {} ] ],
5555
'DefaultTarget' => 0

modules/exploits/windows/local/ms10_092_schelevator.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def initialize(info={})
3535
'Author' => [ 'jduck' ],
3636
'Version' => '$Revision$',
3737
'Arch' => [ ARCH_X86, ARCH_X86_64 ],
38-
'Platform' => [ 'windows' ],
38+
'Platform' => [ 'win' ],
3939
'SessionTypes' => [ 'meterpreter' ],
4040
'Targets' =>
4141
[

modules/exploits/windows/local/ms11_080_afdjoinleaf.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def initialize(info={})
4040
'Spencer McIntyre' # MSF module
4141
],
4242
'Arch' => [ ARCH_X86 ],
43-
'Platform' => [ 'windows' ],
43+
'Platform' => [ 'win' ],
4444
'SessionTypes' => [ 'meterpreter' ],
4545
'DefaultOptions' =>
4646
{

modules/exploits/windows/local/service_permissions.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def initialize(info={})
3030
'License' => MSF_LICENSE,
3131
'Author' => [ 'scriptjunkie' ],
3232
'Arch' => [ ARCH_X86 ],
33-
'Platform' => [ 'windows' ],
33+
'Platform' => [ 'win' ],
3434
'SessionTypes' => [ 'meterpreter' ],
3535
'DefaultOptions' =>
3636
{

modules/post/multi/gather/apple_ios_backup.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def initialize(info={})
2828
'bannedit' # Based on bannedit's pidgin_cred module structure
2929
],
3030
'Version' => '$Revision$',
31-
'Platform' => ['windows', 'osx'],
31+
'Platform' => ['win', 'osx'],
3232
'SessionTypes' => ['meterpreter', 'shell']
3333
))
3434
register_options(

0 commit comments

Comments
 (0)