You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 1, 2022. It is now read-only.
Repository navigation
This repository was archived by the owner on May 1, 2022. It is now read-only.
We need some good soul to extract the documentation of the functions to a wiki page and create some pages describing how to install and use the platform
Just for interest sake. Its often good to use a very random directory location for your apache webroot. This will
make it harder for users to upload a php shell if they find a bug in your web application.
# apt-get install git
Now as a non root user run git clone of the hackademic project's git repo.
# su me
$ git clone https://github.com/Hackademic/hackademic.git
Go to http://ip/info.php IP.
If it works then continue. See wiki on info on locking down php. Remember to disable phpinfo function.
Change apache's document root directory
# vi /etc/apache2/sites-available/default
Change this line
DocumentRoot /var/www/
To look like this:
DocumentRoot /var/www/hackademic-challenge/
Restart apache service to reload configuration
# service apache2 reload
As non root user:
$ mysql -u root -p
mysql> create database hack_demic_db;
mysql> GRANT ALL PRIVILEGES ON hack_demic_db.* TO 'hack_demic_user'@'localhost' IDENTIFIED BY 'ususn3832Kh0-' WITH GRANT OPTION;
mysql> FLUSH PRIVILEGES;
mysql> quit;
If you are running the application on your desktop machine and not in a virtual machine, then look into running apache only on localhost or blocking incoming requests to port 80 with Iptables.
If you are going to do that then you should atleast give a high level explanation of how to install it on the README.md and tell people "For detailed instructions click on this link on installation instructions on our wiki". At the moment your project README.md is very vague and doesn't make it easy for people to just download and install it.
I see the line that I showed on how to write to a file does not show the php code on github's markdown so just see if you can fix that when you add it to the readme. Would appreciate it if you guys give me credit somewhere on your wiki for the detailed instructions. Here is what a good readme looks like with a link to good install instructions: https://github.com/Netflix/Scumblr and here are the install instructions: https://github.com/Netflix/Scumblr/wiki. Take my suggestions I'm just trying to help make this project's documentation more readable.
If you are going to do that then you should atleast give a high level explanation of how to install it on the README.md and tell people "For detailed instructions click on this link on installation instructions on our wiki".
Of course ;)
I see the line that I showed on how to write to a file does not show the php code on github's markdown so just see if you can fix that when you add it to the readme.
Sure. We'll put it in form before publishing it.
Would appreciate it if you guys give me credit somewhere on your wiki for the detailed instructions.
I'm thinking about making a file with the name of the contributors. Something like this. I'll add you to it of course.
Activity
gameFace22 commentedon Dec 19, 2014
#108
This could be a good start?
kurtcoke commentedon May 20, 2015
Here it is. Sent to one of the leaders aswell:
Instructions:
Just for interest sake. Its often good to use a very random directory location for your apache webroot. This will
make it harder for users to upload a php shell if they find a bug in your web application.
Now as a non root user run git clone of the hackademic project's git repo.
Now as root user
Run mysql secure install
See if php is working. Create a php info page.
Go to http://ip/info.php IP.
If it works then continue. See wiki on info on locking down php. Remember to disable phpinfo function.
Change apache's document root directory
Change this line
To look like this:
Restart apache service to reload configuration
As non root user:
Navigate to your IP and the install will start.
http://yourip
If you are running the application on your desktop machine and not in a virtual machine, then look into running apache only on localhost or blocking incoming requests to port 80 with Iptables.
pchaigno commentedon May 20, 2015
I think we should keep the
README.mdsmall and easily readable. Maybe we should add these detailed instructions for Ubuntu in the Wiki?kurtcoke commentedon May 21, 2015
If you are going to do that then you should atleast give a high level explanation of how to install it on the README.md and tell people "For detailed instructions click on this link on installation instructions on our wiki". At the moment your project README.md is very vague and doesn't make it easy for people to just download and install it.
kurtcoke commentedon May 21, 2015
I see the line that I showed on how to write to a file does not show the php code on github's markdown so just see if you can fix that when you add it to the readme. Would appreciate it if you guys give me credit somewhere on your wiki for the detailed instructions. Here is what a good readme looks like with a link to good install instructions: https://github.com/Netflix/Scumblr and here are the install instructions: https://github.com/Netflix/Scumblr/wiki. Take my suggestions I'm just trying to help make this project's documentation more readable.
pchaigno commentedon May 21, 2015
Of course ;)
Sure. We'll put it in form before publishing it.
I'm thinking about making a file with the name of the contributors. Something like this. I'll add you to it of course.