

GitHub - fate0/prvd: PHP Runtime Vulnerability Detection
source link: https://github.com/fate0/prvd
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md
prvd
介绍
PHP 动态漏洞检测
安装
- git clone 到一个非 web 目录下,假设目录为
/data/prvd
git clone https://github.com/fate0/prvd.git /data/prvd
- 安装依赖
composer install
- 下载编译 xmark
- 更改 php.ini 配置文件
auto_prepend_file
配置成/data/prvd/src/Entry.php
extension
配置成xmark.so
路径- 其余的配置请直接 copy 本项目中 php.ini 的内容
配置
使用编辑器打开 /data/prvd/src/Config.php
define("PRVD_FUZZER_DSN", ""); // fuzzer dsn 地址 define("PRVD_SENTRY_DSN", ""); // sentry dsn 地址 define("PRVD_TAINT_ENABLE", true); // 是否启用 taint 模式 define("PRVD_TANZI", "xtanzi"); // payload 关键字 define("PRVD_LOG_FILE", "/data/prvd/prvd.log"); // log 文件
前往 https://sentry.io 注册一个账号,或者自建一套 sentry 服务
dvwa
可以使用 docker 体验一下 prvd
docker pull fate0/prvd-dvwa
docker run -d -e "PRVD_SENTRY_DSN={YOUR_SENTRY_DSN}" -p 80:80 fate0/prvd-dvwa
可设置的环境变量有
PRVD_FUZZER_DSN
PRVD_SENTRY_DSN
PRVD_TAINT_ENABLE
PRVD_TANZI
更多关于 prvd-dvwa
可以看这里
原理
引用
Recommend
-
46
TaskSanitizer: Runtime Determinacy Race Detection Tool for OpenMP Tasks Overview TaskSanitizer implements a method to detect determinacy races in OpenMP tasks. It relies on open-source tools and is...
-
31
EmbedSanitizer: A Runtime Race Detection Tool for 32-bit Embedded ARM This tool extends ThreadSanitizer to do race detection for 32-bit ARM applications. Due to the complexity of the ThreadSanitizer's race det...
-
39
README.md webanalyzer 安装 pip install -U webanalyzer 使用 命令行 webanalyzer -u "
-
34
README.md Middleware-Vulnerability-detection
-
10
Threat Update 29 – Exchange Vulnerability Detection Tips & Tools Incident Response,
-
7
README.md PHP Runtimes In early 2021, Symfony created a "Runtime component". This component may look complex, weird and full of hacks but it is a g...
-
9
Vulners Linux Audit API for Host Vulnerability Detection: Manual Auditing, Python Scripting and Licensing
-
6
ANTLR4 Runtime for PHP First steps 1. Install ANTLR4 The getting started guide should get you started. 2. Install the PHP ANTL...
-
6
Snyk + Dynatrace workshop: Integrating for real-time vulnerability detection ...
-
8
New Vulnerability in CRI-O Container Runtime Allows Attackers Host Access Mar 26, 2022...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK