Skip to content

Commit

Permalink
updated table names
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Dec 30, 2019
1 parent 516b787 commit a8f1870
Show file tree
Hide file tree
Showing 12 changed files with 14 additions and 11 deletions.
3 changes: 3 additions & 0 deletions .bundle/config
@@ -0,0 +1,3 @@
---
BUNDLE_WITHOUT: "development"
BUNDLE_WITH: "test:tests"
2 changes: 1 addition & 1 deletion core/main/ar-migrations/015_create_http.rb
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
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|

This comment was marked as spam.

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
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|

This comment was marked as spam.

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
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
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
Expand Up @@ -2,7 +2,7 @@ class CreateXssraysDetail < ActiveRecord::Migration[6.0]

def change

create_table :xssrays_detail do |t|
create_table :xssrays_details 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/021_create_dns_rule.rb
Expand Up @@ -2,7 +2,7 @@ class CreateDnsRule < ActiveRecord::Migration[6.0]

def change

create_table :dns_rule do |t|
create_table :dns_rules do |t|
t.text :pattern
t.text :resource
t.text :response
Expand Down
2 changes: 1 addition & 1 deletion core/main/ar-migrations/022_create_ipec_exploit.rb
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
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
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
Expand Up @@ -2,7 +2,7 @@ class CreateXssraysScan < ActiveRecord::Migration[6.0]

def change

create_table :xssrays_scan do |t|
create_table :xssrays_scans do |t|
t.references :hooked_browser
t.datetime :scan_start
t.datetime :scan_finish
Expand Down

0 comments on commit a8f1870

Please sign in to comment.