FindEverything 搜寻指定文件敏感信息

admin 2024年10月10日17:41:56评论30 views字数 1873阅读6分14秒阅读模式

工具概述

当对内网束手无策的时候,入口机器上面说不定藏着突破口,翻找本地的文件和建立的网络连接就是手法

这里也提供一个文件内容敏感词的字典,需要可以自己去整理,如下:

jdbc:
user=
password=
key=
ssh-
ldap:
mysqli_connect
sk-

扩展

jdbc:
user=
password=
key=
ssh-host=
ssh-port=
ssh-user=
ssh-private-key=
ldap:
url=
bind-user=
bind-password=
base-dn=
search-filter=
mysqli_connect=
db-name=
api-key=
secret-token=
client-secret=
access-token=
refresh-token=
smtp-server=
smtp-user=
smtp-password=
third-party-api-key=
oauth-client-id=
oauth-client-secret=
session-secret=
encryption-key=
storage-access-key=
storage-secret-key=
webhook-url=
database-url=
cache-password=
service-account-key=
jwt-secret=
api-secret=
payment-gateway-key=
files-access-token=
ftp-username=
ftp-password=
kafka-broker-url=
kafka-consumer-group=
rabbitmq-url=
rabbitmq-username=
rabbitmq-password=
docker-hub-username=
docker-hub-password=
cloud-storage-key=
cloud-storage-secret=
push-notification-key=
biometric-encryption-key=
rate-limiter-secret=
sso-provider-url=
sso-client-id=
sso-client-secret=
healthcheck-token=
wechat-app-id=
wechat-app-secret=
alipay-app-id=
alipay-private-key=
alipay-public-key=
baidu-api-key=
baidu-secret-key=
tencent-cloud-secret-id=
tencent-cloud-secret-key=
dingtalk-webhook-url=
server-addr=
namespace=
data-id=
group=
username=
access-key=
secret-key=
config-type=
tenant=

通过快速遍历机器文件,去寻找这些关键词,可以找到突破口。

工具使用

FindEverything 搜寻指定文件敏感信息

Python3环境

python3 FindEverything.py -n .txt,.ini,.yaml,.php,.jsp,.java,.xml,.sql -c "password=" -d D:/
python3 FindEverything.py -n .txt,.ini,.yaml,.php,.jsp,.java,.xml,.sql -c jdbc:mysql
python3 FindEverything.py -n .txt,.ini,.yaml,.php,.jsp,.java,.xml,.sql -c jdbc:mysql -o output.txt

Python2环境

python2 FindEverything-py2.py -n .txt,.ini,.yaml,.php,.jsp,.java,.xml,.sql -c "password=" -d D:/
python2 FindEverything-py2.py -n .txt,.ini,.yaml,.php,.jsp,.java,.xml,.sql -c jdbc:mysql
python2 FindEverything-py2.py -n .txt,.ini,.yaml,.php,.jsp,.java,.xml,.sql -c jdbc:mysql -o output.tx

项目地址

https://github.com/AabyssZG/FindEverything

原文始发于微信公众号(云梦安全):FindEverything 搜寻指定文件敏感信息

免责声明:文章中涉及的程序(方法)可能带有攻击性,仅供安全研究与教学之用,读者将其信息做其他用途,由读者承担全部法律及连带责任,本站不承担任何法律及连带责任;如有问题可邮件联系(建议使用企业邮箱或有效邮箱,避免邮件被拦截,联系方式见首页),望知悉。
  • 左青龙
  • 微信扫一扫
  • weinxin
  • 右白虎
  • 微信扫一扫
  • weinxin
admin
  • 本文由 发表于 2024年10月10日17:41:56
  • 转载请保留本文链接(CN-SEC中文网:感谢原作者辛苦付出):
                   FindEverything 搜寻指定文件敏感信息https://cn-sec.com/archives/3248629.html
                  免责声明:文章中涉及的程序(方法)可能带有攻击性,仅供安全研究与教学之用,读者将其信息做其他用途,由读者承担全部法律及连带责任,本站不承担任何法律及连带责任;如有问题可邮件联系(建议使用企业邮箱或有效邮箱,避免邮件被拦截,联系方式见首页),望知悉.

发表评论

匿名网友 填写信息