This repository has been archived by the owner on May 18, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 318
Home
Tyler Schmidtke edited this page Feb 5, 2019
·
16 revisions
You can also follow the pdf version
- Checkout the code
- Set DOCUMENT_ROOT directory to /web. Make sure that htaccess and REWRITE support is enabled.
- Copy /assets/config/db.sample.php to /assets/config/db.php
- Change settings for DB connection in the /assets/config/db.php
- Open http://yoursitename/install
- REST Support - http://www.w3.org/2001/sw/wiki/REST
- GWT Support - http://www.gwtproject.org
- AJAX and Standard HTTP Requests are Supported
- Web Server – Apache 2.0
- PHP Version – 5.4
- DB – MySQL 5.5 with InnoDB Support
- PHP Framework – http://phpixie.com/
- JS – http://jquery.com/ & http://knockoutjs.com/
- CSS – http://getbootstrap.com/
.
├── assets
├── bin
├── classes
├── database
├── docs
├── modules
├── subprojects
├── vendor
└── web
9 directories
# Install manual dependencies, apt example below
apt install php-xml php-bcmath
# First update composer.phar
php composer.phar self-update
# Then install dependencies
php composer.phar install -o --prefer-dist
a2enmod rewrite
cp /assets/config/db.sample.php /assets/config/db.php
/assets/config/db.php
001-hackazon.conf
type in /etc/hosts - 127.0.0.1 hackazon.lc
<VirtualHost *:80>
ServerName hackazon.lc
DocumentRoot /var/www/hackazon/web
<Directory />
Options FollowSymLinks
AllowOverride All
Order deny,allow
Allow from all
</Directory>
<Directory /var/www/hackazon/web/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
ln -s /etc/apache2/sites-available/001-hackazon.conf /etc/apache2/sites-enabled/001-hackazon.conf
If you get error "Forbidden - You don't have permission to access / on this server" type this in terminal:
chown -R www-data:www-data /var/www/hackazon
That's it!
https://community.rapid7.com/thread/9330
You can find OVA file (VMWare image) with installed Hackazon web application by the url https://drive.google.com/open?id=0B7KzT3FP4YOoRkp6empQQi1WTXM
OS: hackazon/hackazon
MySQL: hackazon/hackazon
Web app: admin/hackazon