Skip to content

Web audit tool for verification of compliance with legislation such as the GDPR, LOPD and LSSI autonomously, without relying on third parties, and complemented by a guide of tips to comply with them.

License

Notifications You must be signed in to change notification settings

onticsoluciones/iuris

Repository files navigation

alt text

iuris

Web audit tool for verification of compliance with legislation such as the GDPR, LOPD and LSSI autonomously, without relying on third parties, and complemented by a guide of tips to comply with them.

Requirements

  • PHP 5+
  • MySQL
  • Java 1.8+
  • Latest version of Google Chrome

Quick start

Docker Installation

Require version docker-compose 1.17+ and docker-ce 5.18+

git clone https://github.com/onticsoluciones/iuris.git
cd iuris
docker-compose --build -d

Connect to iuris in http://localhost:8081

Manual Installation

Download ChromeDriver and place it inside $PATH
cd /tmp
curl "https://chromedriver.storage.googleapis.com/2.44/chromedriver_linux64.zip" | jar xv
sudo mv chromedriver /usr/local/bin/chromedriver
sudo chmod +x /usr/local/bin/chromedriver 
Download & launch Selenium Standalone Server
cd ~/iuris
wget https://selenium-release.storage.googleapis.com/3.141/selenium-server-standalone-3.141.59.jar
java -jar selenium-server-standalone-3.141.59.jar
Create an empty MySQL database
mysql -e "create database iuris; grant all privileges on iuris.* to 'iuris'@'localhost' identified by 'yourpassword';"
Clone the repository
cd ~
git clone https://github.com/onticsoluciones/iuris.git
Run composer on the backend directory to fetch its dependencies
cd ~/iuris/backend
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('sha384', 'composer-setup.php') === '93b54496392c062774670ac18b134c3b3a95e5a5e5c8f1a9f115f203b75bf9a129d5daa8ba6a13e2cc8a1da0806388a8') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"  
php composer-setup.php
php -r "unlink('composer-setup.php');"
php composer.phar install
Set the database configuration
cp ~/iuris/backend/parameters.yml.dist ~/iuris/backend/parameters.yml
cp ~/iuris/backend/phinx.yml.dist ~/iuris/backend/phinx.yml

Edit the .yml files to set your database configuration.

Create the database schema
cd ~/iuris/backend
vendor/bin/phinx migrate
Start the backend using the integrated PHP server
cd ~/iuris/backend
php -S localhost:8080
Start the backend using the integrated PHP server
cd ~/iuris/frontend
php -S localhost:8081

Webservices

You can access statistics from server on (JSON response):

http://localhost:8080/estadisticas

Webservice for external integrations (access scan funtionality programatically) on (JSON response):

http://localhost:8080/?url={website_to_analyze}

About

Web audit tool for verification of compliance with legislation such as the GDPR, LOPD and LSSI autonomously, without relying on third parties, and complemented by a guide of tips to comply with them.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published