Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Active record fix #1814

Merged
merged 5 commits into from
Jan 2, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .bundle/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
BUNDLE_WITHOUT: "development"
BUNDLE_WITH: "test:tests"
2 changes: 1 addition & 1 deletion core/main/ar-migrations/011_create_web_cloner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion core/main/ar-migrations/012_create_mass_mailer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion core/main/ar-migrations/015_create_http.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion core/main/ar-migrations/016_create_rtc_status.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion core/main/ar-migrations/017_create_rtc_manage.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion core/main/ar-migrations/018_create_rtc_signal.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion core/main/ar-migrations/019_create_rtc_module_status.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion core/main/ar-migrations/020_create_xssrays_detail.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion core/main/ar-migrations/022_create_ipec_exploit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion core/main/ar-migrations/023_create_ipec_exploit_run.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion core/main/ar-migrations/024_create_autoloader.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion core/main/ar-migrations/025_create_xssrays_scan.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down