PathProber:基于暴力破解方法探测和发现HTTP路径名

安全 数据安全
PathProber是一款功能强大的HTTP路径发现工具,该工具基于暴力破解的方法来探测和发现HTTP路径名,并能够过滤掉特殊单词,或一次性处理两个单词。

关于PathProber

PathProber是一款功能强大的HTTP路径发现工具,该工具基于暴力破解的方法来探测和发现HTTP路径名,并能够过滤掉特殊单词,或一次性处理两个单词。

现在已经不需要再使用HTTP响应码来执行网站目录爆破或HTTP路径名爆破了,该工具可以帮助广大研究人员执行渗透测试,因为它可以使用特定单词或一次性使用两个单词来验证目录/路径的有效性,而且结果会更加精准。

该工具可以帮助我们找出下列内容:

  • Web管理员/登录面板;
  • 某些路径的凭证;
  • 第三方令牌;
  • 其他有价值的内容;

工具安装

广大研究人员可以使用下列命令将该项目源码克隆至本地:

  1. git clone https://github.com/xchopath/pathprober 
  2. cd pathprober/ 

依赖组件安装:

  1. pip3 install -r requirements.txt 

功能支持

  • 支持多个URL目标(写入以换行符分隔的文件中)或单个URL目标;
  • 支持多个路径(写入以换行符分隔的文件中)或单个路径;
  • 一次性1个单词或2个单词(过滤器);
  • 将有效结果保存到另一个文件;
  • 多线程支持;

工具帮助

  1. bash:~/pathprober$ python3 pathprober.py --help 
  2.  ___  ____ ___ _  _ ___  ____ ____ ___  ____ ____ 
  3.  |__] |__|  |  |__| |__] |__/ |  | |__] |___ |__/ 
  4.  |    |  |  |  |  | |    |  \ |__| |__] |___ |  \ 
  5.        Probe HTTP pathname filtered by words 
  6. usage: pathprober.py [-h] [-t https://example.com] [-p pathname] [-T target.txt] [-P path.txt] [-w Word] [-w2 Word] [-o output.txt] 
  7. PathProber - Probe and discover HTTP pathname using brute-force methodology and filtered by specific word or 2 words at once 
  8. optional arguments: 
  9.   -h, --help            show this help message and exit 
  10.   -t https://example.com 
  11.                       Single website target 
  12.   -p pathname           Single pathname 
  13.   -T target.txt         Multiple target separated by newline 
  14.   -P path.txt           Multiple pathname separated by newline 
  15.   -w Word               A word that you want to find in a path 
  16.   -w2 Word              A second word that you want to find in a path 
  17.   -o output.txt         Save the results to file 

工具使用

多个目标,多个路径和多个单词:

  1. python3 pathprober.py -T target.txt -P path.txt -w "APP_NAME" -w2 "DB_PASSWORD" 

单个目标,多个路径和单个单词

  1. python3 pathprober.py -t https://redacted.com/ -P path.txt -w "APP_NAME" 

多个目标,单个类路径,多个单词,并将结果存储至文件

  1. python3 pathprober.py -T target.txt -p /.env -w "APP_NAME" -w2 "TWILIO" -o output.txt 

工具演示样例

项目地址

PathProber:【GitHub传送门

 

责任编辑:赵宁宁 来源: FreeBuf
相关推荐

2023-09-11 07:17:30

2009-05-20 11:30:21

2019-02-25 18:03:15

2013-08-19 15:14:02

2013-05-14 10:12:13

2011-11-29 10:03:24

2013-04-18 09:52:56

2013-06-08 10:41:51

2022-08-06 13:04:27

LinuxSHH

2011-09-08 14:25:31

2012-11-29 14:44:07

2012-01-01 22:08:10

2015-10-19 11:44:00

2011-04-02 09:34:38

2014-09-24 09:27:02

2010-08-18 10:17:12

2009-08-10 15:47:20

2013-07-24 15:14:11

2009-11-04 21:46:39

2015-07-14 17:12:49

点赞
收藏

51CTO技术栈公众号