Home

You can also follow the pdf version
Hackazon installation
- 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
Features
- REST Support - http://www.w3.org/2001/sw/wiki/REST
- GWT Support - http://www.gwtproject.org
- AJAX and Standard HTTP Requests are Supported
Technical Details
- 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/
Code structure:
.
├── assets
├── bin
├── classes
├── database
├── docs
├── modules
├── subprojects
├── vendor
└── web
9 directories
Install composer.phar in /var/www/hackazon
# 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
Enable php_rewrite mod
Copy/Rename File DB
cp /assets/config/db.sample.php /assets/config/db.php
Change settings for DB connection in the
Create new configuration file in /etc/apache2/site-available
COPY THIS!
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>
Save file and type in terminal
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
Open in browser
That's it!
More help here
https://community.rapid7.com/thread/9330
Ready to go virtual machine
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