Merge pull request #5587 from trevrosen/bug/MSP-12834/crawler-choke-on-save
MSP-12834 #landbug/bundler_fix
commit
ea4d13586c
|
@ -124,7 +124,7 @@ GEM
|
|||
activesupport (>= 4.0.9, < 4.1.0)
|
||||
railties (>= 4.0.9, < 4.1.0)
|
||||
metasploit-payloads (1.0.3)
|
||||
metasploit_data_models (1.2.3)
|
||||
metasploit_data_models (1.2.5)
|
||||
activerecord (>= 4.0.9, < 4.1.0)
|
||||
activesupport (>= 4.0.9, < 4.1.0)
|
||||
arel-helpers
|
||||
|
@ -156,7 +156,7 @@ GEM
|
|||
coderay (~> 1.1.0)
|
||||
method_source (~> 0.8.1)
|
||||
slop (~> 3.4)
|
||||
rack (1.5.3)
|
||||
rack (1.5.5)
|
||||
rack-test (0.6.3)
|
||||
rack (>= 1.0)
|
||||
rails (4.0.13)
|
||||
|
|
|
@ -142,8 +142,16 @@ module Msf::DBManager::Web
|
|||
page.cookie = opts[:cookie] if opts[:cookie]
|
||||
page.auth = opts[:auth] if opts[:auth]
|
||||
page.mtime = opts[:mtime] if opts[:mtime]
|
||||
page.ctype = opts[:ctype] if opts[:ctype]
|
||||
|
||||
|
||||
if opts[:ctype].blank? || opts[:ctype] == [""]
|
||||
page.ctype = ""
|
||||
else
|
||||
page.ctype = opts[:ctype]
|
||||
end
|
||||
|
||||
page.location = opts[:location] if opts[:location]
|
||||
|
||||
msf_import_timestamps(opts, page)
|
||||
page.save!
|
||||
|
||||
|
|
Loading…
Reference in New Issue