Scapytain/Installation-and-configuration
Jump to navigation
Jump to search
You are here: | Installation & configuration
|
Installation
Prerequisites
$ sudo apt-get install python-cherrypy3 python-genshi python-sqlobject \ python-formencode python-pyopenssl python-scapy python-pygraph python-trml2pdf
Scapytain
$ cd /data/src/ $ wget http://www.secdev.org/projects/scapytain/releases/scapytain-0.3.1beta.tar.gz $ tar xzvf scapytain-0.3.1beta.tar.gz $ cd scapytain-0.3.1beta/ $ sudo python setup.py install
Configuration
Configuration file
$ sudo vim /etc/scapytainrc
And adapt following your needs:
[server] # port = 8080 # ssl_certificate = # ssl_key = # production = True # auth = True database = sqlite:///var/lib/scapytain/scapytain.db [paths] # static = # templates = scapyproxy = sudo scapytain_scapyproxy # ssh other_box sudo scapytain_scapyproxy # scapy = # modules = # highlight = [users] # login:passwd # passwd is in cleartext test:test
Create the database
$ sudo mkdir /var/lib/scapytain $ sudo scapytain_dbutil -c Created directory [sqlite:///var/lib/scapytain] INFO: Opening DB [sqlite:///var/lib/scapytain/scapytain.db] Creating table [Test_Group] Creating table [Test] Creating table [Test_Spec] Creating table [Test_Plan] Creating table [Test_Plan_Result] Creating table [Campaign] Creating table [Section] Creating table [Campaign_Run] Creating table [Result] Creating table [Status] Creating table [Objective] Creating table [Objective_Result] Creating table [Meta] Creating table [Test_Mean] Populating Meta table Populating status table