大家好,在本文中,我们将了解如何在 Kali Linux 中安装和使用 sherlock。 Sherlock 是一个开源工具,可以在 300 个网站的社交媒体上查找用户名。 它是用 Python 编写的,可以在 Github 上免费获得。 它需要 Python 3.6 或更高版本。 它在所有站点上搜索用户名,并为所有配置文件提供链接。 它使用 python 脚本来搜索用户名,并在其他网站上搜索特定用户名的在线存在。 让我们看看如何安装 sherlock 和 Hunt 用户名。
在 Kali Linux 上安装 Sherlock
使用 Ctrl+Alt+T 打开终端。 将目录更改为 桌面 通过运行 cd 命令:
cd Desktop
现在,执行以下命令从 GitHub 存储库克隆 sherlock:
git clone https://github.com/sherlock-project/sherlock.git
通过运行以下命令将目录更改为 sherlock:
cd sherlock
现在,通过执行以下命令来安装需求:
python3 -m pip install -r requirements.txt

Sherlock 已成功安装在您的系统上。
您也可以通过 apt update 命令安装它:
sudo apt update

sudo apt install sherlock

使用 sherlock 搜索用户名
通过执行以下命令在 300 个站点中搜索用户名:
python3 sherlock <username>
python3 sherlock joe

要将输出保存到文本文件,我们将使用 -o 参数将输出存储到名为 target.txt 的文本文件中。 运行以下命令:
python3 sherlock joe -o target.txt

要仅打印找到用户名的站点,请通过执行以下命令使用 –print-found:
python3 sherlock sid209e --print-found
--print-found
用于在顶部组织最受欢迎的网站。 要显示未找到用户名的站点,请使用 –-print-all
反而。 要了解有关 sherlock 的更多信息,请参阅手册页或使用以下命令:
sherlock -h

概括
因此,我们讨论了什么是 sherlock,如何安装和使用它来跨不同站点搜索用户名。 在搜索用户名时,有多个选项非常有用。
参考:
- https://github.com/sherlock-project/sherlock
- https://www.kali.org/tools/sherlock/