Dradis: Instalasi di Ubuntu 16.04
Instalasi aplikasi pendukung
sudo su rm /var/lib/apt/lists/lock nano /etc/apt/sources.list apt update apt install -y openssh-server apt-get install -y git redis-server ruby ruby-dev gcc make zlib1g-dev libsqlite3-dev libmysqlclient-dev g++
Install Dradis
cd /opt git clone https://github.com/dradis/dradis-ce cd /opt/dradis-ce ruby bin/setup
Kalau ada error waktu running ‘ruby bin/setup’ tentang dradis-html_export plugin, re-run ‘ruby bin/setup’
Inisialisasi Directory yang dibutuhkan
bundle exec rails server -b 0.0.0.0
Dradis akan membuat directory yang dibutuhkan. Kill process tekan Control-C
Perbaiki Konfigurasi
Edit Nessus plugin
vi /opt/dradis-ce/templates/plugins/nessus/report_item.template
Tambahkan di report_item.template
#[Severity]# %report_item.severity%
Buat systemd service untuk server
nano /lib/systemd/system/dradis-ce.service
Tambahkan di dradis-ce.service
[Unit] Description=Service for starting Dradis-CE [Service] Type=simple WorkingDirectory=/opt/dradis-ce ExecStart=/usr/local/bin/bundle exec rails server -b 0.0.0.0 [Install] WantedBy=multi-user.target
Buat systemd service untuk worker
nano /lib/systemd/system/dradis-ce-worker.service
Tambahkan ke dradis-ce-worker.service
[Unit] Description=Service for starting Dradis-CE worker [Service] Type=simple WorkingDirectory=/opt/dradis-ce ExecStart=/usr/local/bin/bundle exec rake resque:work [Install] WantedBy=multi-user.target
Enable service
systemctl enable dradis-ce.service systemctl enable dradis-ce-worker.service
Start Service
systemctl start dradis-ce.service systemctl start dradis-ce-worker.service
Browse ke alamat dradis
##using a web browser, nagivate to the setup page by using the IP address or hostname of the system on port 3000 ###note: if you get an error page make sure you’re going to the /setup page. for some reason it doesn’t appear to work using the hostname and navigating to the root before setup is completed.
http:// IP or hostname:3000/setup
##done!