idaifish / rasp4php

RASP for PHP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RASP4PHP license Build Status

Runtime Application Self-Protection for PHP, based on Frida, mostly used as a sensor for SIEM.

Compatibility

Tested on Ubuntu 1604, PHP 5.x and 7.x are officially supported.

Usage

VM

# pip install pipenv
$ pipenv install
$ pipenv shell

# Console
$ sudo pipenv run rasp-debug

# GELF UDP Output
$ sudo pipenv run rasp --graylog 127.0.0.1 --graylog-port 27017

# Webhook
$ sudo pipenv run rasp --webhook http://127.0.0.1:8080/webhooks

Docker

$ export RASP4PHP7_OPTION="--webhook http://127.0.0.1:8080/webhooks"
$ export RASP4PHP5_OPTION="--graylog 127.0.0.1 --graylog-port 27017"
$ docker-compose up

About

RASP for PHP

License:MIT License


Languages

Language:JavaScript 50.4%Language:Python 49.6%