Skip to content

CSIRT-SK/ioc-server

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IoC Checker

Screenshot of admin panel

Deployment

Web server needs to have HTTPS with client certificate verification enabled to work properly.

Create database and import indicators.sql into it. This will set up the tables as well as default IOC types.

Create file dbInfo.php in /api/models. This file needs to define 5 constants:

  • HOST - database server host (localhost if DB is on the same server as webserver)
  • USER - database user to perform the api operations
  • PASS - password for the user
  • DATABASE - name of the database (where the indicators.sql was imported)
  • ADMIN_CERT - common name of admin client certificate. This certificate will be required to access administrative API calls

Sample dbInfo.php:

<?php
define ('HOST', 'localhost');
define ('USER', 'user');
define ('PASS', 'pass');
define ('DATABASE', 'database');
define ('ADMIN_CERT', 'admin cert');
?>

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 79.0%
  • PHP 13.0%
  • HTML 7.4%
  • CSS 0.6%