diff --git a/.bundle/config b/.bundle/config new file mode 100644 index 0000000000..e7db70bb4c --- /dev/null +++ b/.bundle/config @@ -0,0 +1,3 @@ +--- +BUNDLE_WITHOUT: "development" +BUNDLE_WITH: "test:tests" diff --git a/core/main/ar-migrations/011_create_web_cloner.rb b/core/main/ar-migrations/011_create_web_cloner.rb index 00fe9d5752..38c351ad6d 100644 --- a/core/main/ar-migrations/011_create_web_cloner.rb +++ b/core/main/ar-migrations/011_create_web_cloner.rb @@ -2,7 +2,7 @@ class CreateWebCloner < ActiveRecord::Migration[6.0] def change - create_table :web_cloner do |t| + create_table :web_cloners do |t| t.text :uri t.text :mount end diff --git a/core/main/ar-migrations/012_create_mass_mailer.rb b/core/main/ar-migrations/012_create_mass_mailer.rb index fb06ddfd8a..d4816f186a 100644 --- a/core/main/ar-migrations/012_create_mass_mailer.rb +++ b/core/main/ar-migrations/012_create_mass_mailer.rb @@ -2,7 +2,7 @@ class CreateMassMailer < ActiveRecord::Migration[6.0] def change - create_table :mass_mailer do |t| + create_table :mass_mailers do |t| #todo fields end diff --git a/core/main/ar-migrations/015_create_http.rb b/core/main/ar-migrations/015_create_http.rb index 31d821f717..76d491cd1c 100644 --- a/core/main/ar-migrations/015_create_http.rb +++ b/core/main/ar-migrations/015_create_http.rb @@ -2,7 +2,7 @@ class CreateHttp < ActiveRecord::Migration[6.0] def change - create_table :http do |t| + create_table :https do |t| t.references :hooked_browser # The http request to perform. In clear text. t.text :request diff --git a/core/main/ar-migrations/016_create_rtc_status.rb b/core/main/ar-migrations/016_create_rtc_status.rb index cdb7389d6b..dae86650e7 100644 --- a/core/main/ar-migrations/016_create_rtc_status.rb +++ b/core/main/ar-migrations/016_create_rtc_status.rb @@ -2,7 +2,7 @@ class CreateRtcStatus < ActiveRecord::Migration[6.0] def change - create_table :rtc_status do |t| + create_table :rtc_statuss do |t| t.references :hooked_browser t.integer :target_hooked_browser_id t.text :status diff --git a/core/main/ar-migrations/017_create_rtc_manage.rb b/core/main/ar-migrations/017_create_rtc_manage.rb index 64b0962c29..16239ad7ef 100644 --- a/core/main/ar-migrations/017_create_rtc_manage.rb +++ b/core/main/ar-migrations/017_create_rtc_manage.rb @@ -2,7 +2,7 @@ class CreateRtcManage < ActiveRecord::Migration[6.0] def change - create_table :rtc_manage do |t| + create_table :rtc_manages do |t| t.references :hooked_browser t.text :message t.text :has_sent, default: "waiting" diff --git a/core/main/ar-migrations/018_create_rtc_signal.rb b/core/main/ar-migrations/018_create_rtc_signal.rb index 3b51862eb6..5d1b0b7cc6 100644 --- a/core/main/ar-migrations/018_create_rtc_signal.rb +++ b/core/main/ar-migrations/018_create_rtc_signal.rb @@ -2,7 +2,7 @@ class CreateRtcSignal < ActiveRecord::Migration[6.0] def change - create_table :rtc_signal do |t| + create_table :rtc_signals do |t| t.references :hooked_browser t.integer :target_hooked_browser_id t.text :signal diff --git a/core/main/ar-migrations/019_create_rtc_module_status.rb b/core/main/ar-migrations/019_create_rtc_module_status.rb index 7c47f8730c..abeb941c37 100644 --- a/core/main/ar-migrations/019_create_rtc_module_status.rb +++ b/core/main/ar-migrations/019_create_rtc_module_status.rb @@ -2,7 +2,7 @@ class CreateRtcModuleStatus < ActiveRecord::Migration[6.0] def change - create_table :rtc_module_status do |t| + create_table :rtc_module_statuss do |t| t.references :hooked_browser t.references :command_module t.integer :target_hooked_browser_id diff --git a/core/main/ar-migrations/020_create_xssrays_detail.rb b/core/main/ar-migrations/020_create_xssrays_detail.rb index 73ca3314a8..22900b5018 100644 --- a/core/main/ar-migrations/020_create_xssrays_detail.rb +++ b/core/main/ar-migrations/020_create_xssrays_detail.rb @@ -2,7 +2,7 @@ class CreateXssraysDetail < ActiveRecord::Migration[6.0] def change - create_table :xssrays_detail do |t| + create_table :xssraysdetails do |t| t.references :hooked_browser t.text :vector_name t.text :vector_method diff --git a/core/main/ar-migrations/022_create_ipec_exploit.rb b/core/main/ar-migrations/022_create_ipec_exploit.rb index 8e6150b4fd..228d1afc0b 100644 --- a/core/main/ar-migrations/022_create_ipec_exploit.rb +++ b/core/main/ar-migrations/022_create_ipec_exploit.rb @@ -2,7 +2,7 @@ class CreateIpecExploit < ActiveRecord::Migration[6.0] def change - create_table :ipec_exploit do |t| + create_table :ipec_exploits do |t| t.text :name t.text :protocol t.text :os diff --git a/core/main/ar-migrations/023_create_ipec_exploit_run.rb b/core/main/ar-migrations/023_create_ipec_exploit_run.rb index 66d939722d..7b7526665c 100644 --- a/core/main/ar-migrations/023_create_ipec_exploit_run.rb +++ b/core/main/ar-migrations/023_create_ipec_exploit_run.rb @@ -2,7 +2,7 @@ class CreateIpecExploitRun < ActiveRecord::Migration[6.0] def change - create_table :ipec_exploit_run do |t| + create_table :ipec_exploit_runs do |t| t.boolean :launched t.text :http_headers t.text :junk_size diff --git a/core/main/ar-migrations/024_create_autoloader.rb b/core/main/ar-migrations/024_create_autoloader.rb index 16a4f49622..4ebe1197af 100644 --- a/core/main/ar-migrations/024_create_autoloader.rb +++ b/core/main/ar-migrations/024_create_autoloader.rb @@ -2,7 +2,7 @@ class CreateAutoloader < ActiveRecord::Migration[6.0] def change - create_table :autoloader do |t| + create_table :autoloaders do |t| t.references :command t.boolean :in_use end diff --git a/core/main/ar-migrations/025_create_xssrays_scan.rb b/core/main/ar-migrations/025_create_xssrays_scan.rb index 8c6f0cfc59..67122a5f9a 100644 --- a/core/main/ar-migrations/025_create_xssrays_scan.rb +++ b/core/main/ar-migrations/025_create_xssrays_scan.rb @@ -2,7 +2,7 @@ class CreateXssraysScan < ActiveRecord::Migration[6.0] def change - create_table :xssrays_scan do |t| + create_table :xssraysscans do |t| t.references :hooked_browser t.datetime :scan_start t.datetime :scan_finish