File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 124
124
activesupport (>= 4.0.9 , < 4.1.0 )
125
125
railties (>= 4.0.9 , < 4.1.0 )
126
126
metasploit-payloads (1.0.3 )
127
- metasploit_data_models (1.2.3 )
127
+ metasploit_data_models (1.2.5 )
128
128
activerecord (>= 4.0.9 , < 4.1.0 )
129
129
activesupport (>= 4.0.9 , < 4.1.0 )
130
130
arel-helpers
156
156
coderay (~> 1.1.0 )
157
157
method_source (~> 0.8.1 )
158
158
slop (~> 3.4 )
159
- rack (1.5.3 )
159
+ rack (1.5.5 )
160
160
rack-test (0.6.3 )
161
161
rack (>= 1.0 )
162
162
rails (4.0.13 )
Original file line number Diff line number Diff line change @@ -142,8 +142,16 @@ def report_web_page(opts)
142
142
page . cookie = opts [ :cookie ] if opts [ :cookie ]
143
143
page . auth = opts [ :auth ] if opts [ :auth ]
144
144
page . mtime = opts [ :mtime ] if opts [ :mtime ]
145
- page . ctype = opts [ :ctype ] if opts [ :ctype ]
145
+
146
+
147
+ if opts [ :ctype ] . blank? || opts [ :ctype ] == [ "" ]
148
+ page . ctype = ""
149
+ else
150
+ page . ctype = opts [ :ctype ]
151
+ end
152
+
146
153
page . location = opts [ :location ] if opts [ :location ]
154
+
147
155
msf_import_timestamps ( opts , page )
148
156
page . save!
149
157
You can’t perform that action at this time.
0 commit comments