providers.rb - warvox - VoIP based wardialing tool, forked from rapid7/warvox.
HTML git clone git://jay.scot/warvox
DIR Log
DIR Files
DIR Refs
DIR README
---
providers.rb (742B)
---
1 # == Schema Information
2 #
3 # Table name: providers
4 #
5 # id :integer not null, primary key
6 # created_at :datetime
7 # updated_at :datetime
8 # name :text not null
9 # host :text not null
10 # port :integer not null
11 # user :text
12 # pass :text
13 # lines :integer default(1), not null
14 # enabled :boolean default(TRUE)
15 #
16
17 FactoryGirl.define do
18 factory :provider do
19 name { Faker::Company.name }
20 host { Faker::Internet.ip_v4_address }
21 port { Faker::Number.between(1, 65535) }
22 user { Faker::Internet.user_name }
23 pass { Faker::Internet.password(10, 20) }
24 lines { Faker::Number.between(1, 254) }
25 enabled true
26 end
27
28 end