Skip to content

Commit 5fc0085

Browse files
committed
Merge branch 'master' of github.com:rapid7/metasploit-framework into rapid7
2 parents f9fe944 + 06fb8f5 commit 5fc0085

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
coverage
1111
data/meterpreter/ext_server_pivot.dll
1212
data/meterpreter/ext_server_pivot.x64.dll
13-
doc
13+
doc/
1414
external/source/meterpreter/java/bin
1515
external/source/meterpreter/java/build
1616
external/source/meterpreter/java/extensions

lib/msf/core/option_container.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,10 @@ def type
302302
return 'port'
303303
end
304304

305+
def normalize(value)
306+
value.to_i
307+
end
308+
305309
def valid?(value)
306310
return false if empty_required_value?(value)
307311

modules/exploits/multi/http/rails_xml_yaml_code_exec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ def initialize(info = {})
2424
2525
This module has been tested across multiple versions of RoR 3.x and RoR 2.x
2626
27-
The technique used by this module requires the target to be running a fairly version
28-
of Ruby 1.9 (since 2011 or so). Applications using Ruby 1.8 may still be
27+
The technique used by this module requires the target to be running a fairly recent
28+
version of Ruby 1.9 (since 2011 or so). Applications using Ruby 1.8 may still be
2929
exploitable using the init_with() method, but this has not been demonstrated.
3030
3131
},

0 commit comments

Comments
 (0)