Merge branch 'active_record_fix' of https://github.com/beefproject/beef into active_record_fix

pull
This commit is contained in:
root
2020-01-02 12:12:07 +00:00
13 changed files with 15 additions and 12 deletions

3
.bundle/config Normal file
View File

@@ -0,0 +1,3 @@
---
BUNDLE_WITHOUT: "development"
BUNDLE_WITH: "test:tests"

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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