Code Monkey home page Code Monkey logo

facts's Introduction

Log Fact Gatherer.

Tool aims in finding attacks in log files, or any other files which have clear text(strings) by patterns with ability to add them ad update database.

enter image description here

Installation

1)Please add your database credentials to this file config\db.php 
$servername = "localhost";
$username = "root";
$password = "";
$dbname = "sca"; 

2)Import database Database.sql file from /assets/ folder to your database folder to desired database. type: InnoDB	and encoding: utf8_general_ci. You can import it using phpmyadmin for example. The database name should be sca.

3)Edit line 24 in \templ\templ.tpl file in order to put your custom path to web db client 

4) Make sure to know your database wait limits and increase them. 

Linux user

Should change line 35 and 36 in upload.php

35 line from "erase" to "rm -rf"
36 line from "ren" to "mv"

Steps to start

1) Check for file you upload: " nginx, apache, php, jboss, iis" logs file

2) Use this form to Upload file.Big files take more time to analyse 

3) Go to Analyze in order to see the results, it make take some time 

4) See the results in format: attack pattern and attack information 

5) Use Add pattern in order to add to database your custom pattern

6) Check for Updates, it will be new patterns updates on request

Screenshots:

Results:

enter image description here

Analysis:

enter image description here

Descriptions:

enter image description here

Add patterns:

enter image description here

facts's People

Contributors

vulnz avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.