Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

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

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

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
SocialPwned — SocialPwned 是一款 OSINT 工具,允许获取目标用户在 Instagram、Linkedin 和 Twitter 等社交网络上发布的电子邮件,以在 PwnDB 或 Dehashed 中查找可能的凭据泄露,并通过 GHunt 获取 Google 账户信息。 | Kitploit
工具/GitHubGitHub/mrtuxx/socialpwned
OSINT (开源情报)密码破解侦察信息收集Web安全渗透测试社会工程学电子邮件收集Archived
GitHubmrtuxx/socialpwned

SocialPwned

SocialPwned 是一款 OSINT 工具,允许获取目标用户在 Instagram、Linkedin 和 Twitter 等社交网络上发布的电子邮件,以在 PwnDB 或 Dehashed 中查找可能的凭据泄露,并通过 GHunt 获取 Google 账户信息。

查看仓库
1.3k1231年前Kitploit 审核通过

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

SocialPwned

SocialPwned

Python 3.8 License: GPL v3

SocialPwned 是一款开源情报(OSINT)工具,能够从目标对象在 Instagram、LinkedIn 和 Twitter 等社交网络上发布的邮件地址入手,查找 PwnDB 或 Dehashed 中可能存在的凭证泄露,并通过 GHunt 获取 Google 账户信息。

该工具旨在方便在道德黑客的“足迹信息收集”阶段寻找易受攻击的目标。公司员工经常在社交网络(无论是职业还是个人)上公布自己的邮件地址。如果这些邮件地址的凭证遭到泄露,那么找到的密码很可能在待审计环境中被重复使用。退一步讲,至少可以了解目标创建密码的模式,从而实施其他更有效的攻击。

SocialPwned 使用不同的模块:

  • Instagram:利用 @LevPasha 的非官方 Instagram API,开发了多种方法获取用户发布的邮件地址。需要 Instagram 账户。
  • LinkedIn:利用 @tomquirk 的非官方 LinkedIn API,开发了多种方法获取公司员工及其联系方式(邮件、Twitter 或电话)。此外,还可以将找到的员工添加为联系人,以便后续访问其联系人网络和信息。该模块还会生成多个文件,包含针对某个组织的可能用户名组合。需要 LinkedIn 账户。
  • Twint:利用 @twintproject 的 Twint,可以跟踪用户发布的所有推文,寻找邮件地址。不需要 Twitter 账户。
  • PwnDB:受 @davidtavarez 创建的 PwnDB 工具启发,开发了一个模块,用于搜索所有从已找到邮件地址中泄露的凭证。此外,还会对每个邮件地址向 HaveIBeenPwned 发送 POST 请求,以了解泄露来源。
  • Dehashed:提供明文密码以及未能破解的密码哈希。需要付费获取 Dehashed 的 API 密钥,但当 PwnDB 缓慢或没有结果时,它是一个不错的替代方案。
  • GHunt:使用 @mxrch 创建的 GHunt 工具,可以获取与 Google 邮件相关的信息,例如评论、头像、可能的地理位置或公共日历事件。

安装 🛠

简易方式

root@kitploit:~
$ service docker start
$ docker pull mrtuxx/socialpwned
$ docker run -v $(pwd)/credentials.json:/socialpwned/credentials.json -v $(pwd)/output:/socialpwned/output -it mrtuxx/socialpwned socialpwned.py --credentials credentials.json --help

注意:需要正确安装 docker 服务。

手动方式

Tor 的安装取决于你的系统。在 Debian 上:

root@kitploit:~
$ sudo apt-get install tor
$ /etc/init.d/tor start

使用 Git 克隆仓库:

root@kitploit:~
$ git clone https://github.com/MrTuxx/SocialPwned.git
$ cd SocialPwned
$ sudo pip3 install --user --upgrade git+https://github.com/twintproject/twint.git@origin/master#egg=twint
$ sudo pip3 install -r requirements.txt
$ sudo python3 socialpwned.py --credentials credentials.json --help

为了让 GHunt 模块正常工作,必须按以下步骤操作:

  • GHunt 手动安装

使用说明

要使用 Instagram 和 LinkedIn 功能,需要在这些社交网络上拥有账户。凭证必须写在 JSON 文件中:

root@kitploit:~
{
    "instagram":{
        "username":"username",
        "password":"password"
    },
    "linkedin":{
        "email":"email",
        "password":"password"
    },
    "ghunt":{
        "SID":"SID",
        "SSID":"SSID",
        "APISID":"APISID",
        "SAPISID":"SAPISID",
        "HSID":"HSID"
    },
    "dehashed":{
         "email":"email",
         "apikey":"apikey"
    }
}

注意:GHunt 模块所需的 cookies 可以按照此处的说明获取。

root@kitploit:~
usage: socialpwned.py [-h] --credentials CREDENTIALS [--pwndb] [--tor-proxy PROXY] [--instagram] [--info QUERY]
                      [--location LOCATION_ID] [--hashtag-ig QUERY] [--target-ig USERNAME] [--search-users-ig QUERY]
                      [--my-followers] [--my-followings] [--followers-ig] [--followings-ig] [--linkedin]
                      [--company COMPANY_ID] [--search-companies QUERY] [--employees] [--my-contacts]
                      [--user-contacts USER_ID] [--search-users-in QUERY] [--target-in USERNAME] [--add-contacts]
                      [--add-a-contact USER_ID] [--twitter] [--limit LIMIT] [--year YEAR] [--since DATE]
                      [--until DATE] [--profile-full] [--all-tw] [--target-tw USERNAME] [--hashtag-tw USERNAME]
                      [--followers-tw] [--followings-tw] [--ghunt] [--email-gh [email protected]] [--dehashed]
                      [--email-dh [email protected]]

如果拉取了 Docker 镜像,应运行:

root@kitploit:~
docker run -v $(pwd)/<YOUR CREDENTIALS JSON FILE>:/socialpwned/credentials.json -v $(pwd)/output:/socialpwned/output -it mrtuxx/socialpwned socialpwned.py --credentials credentials.json <COMMANDS>

提示 📌

  1. 在浏览器中保持 LinkedIn 和 Instagram 的登录会话,以应对可能的封锁。正常使用。

  2. 在尝试获取 LinkedIn 上某组织所有员工的邮件地址之前,请确保自己拥有广泛的联系人网络、共同好友,以及已添加的一些员工。很多时候,如果联系人不在你的网络中,就无法查看其信息。

  3. 尽量避免进行大规模搜索,以防止被封锁。

  4. 当目标是特定对象且不会处理大量信息时,将各模块组合使用;否则可能失败或导致封锁。

输出格式 💾

每次运行 SocialPwned 时,会生成一个如下格式的目录:

root@kitploit:~
output
└── session_year_month_day_time
    ├── dehashed
    │   ├── raw_dehashed.txt
    │   └── socialpwned_dehashed.txt
    ├── emails
    │   └── socialpwned_emails.txt
    ├── instagram
    │   └── socialpwned_instagram.txt
    ├── linkedin_userames
    │   ├── first.last.txt
    │   ├── firstl.txt
    │   ├── first.txt
    │   ├── f.last.txt
    │   ├── flast.txt
    │   ├── lastf.txt
    │   └── rawnames.txt
    ├── pwndb
    │   ├── passwords_pwndb.txt
    │   ├── pwndb.txt
    │   └── socialpwned_pwndb.txt
    ├── socialpwned.json
    └── twitter
        └── socialpwned_twitter.txt
  • dehashed 目录包含原始 API 信息文件以及邮件地址对应的密码文件。
  • pwndb 目录包含一个仅有密码的文件、一个密码及其关联邮件地址的文件,以及一个附加了泄露来源的文件。
  • emails 目录包含所有获取到的邮件地址文件。
  • instagram 目录包含用户账户及其关联邮件地址的文件。
  • twitter 目录包含用户账户及其关联邮件地址的文件。
  • linkedin 目录包含多个文件,提供了用户名的不同组合。灵感来自 linkedin2username 工具。
  • socialpwned.json 文件以 JSON 格式提供 SocialPwned 及其各个模块获取到的所有信息。其中每个条目的 ID 是邮件地址;如果关于某用户的信息中没有邮件地址,则 ID 为其在社交网络中的唯一标识符。

基本示例与组合 🚀

视频演示

SocialPwned

以下是一些示例:

Instagram

SocialPwned SocialPwned

root@kitploit:~
docker run -v $(pwd)/credentials.json:/socialpwned/credentials.json -v $(pwd)/output:/socialpwned/output -it mrtuxx/socialpwned socialpwned.py --credentials credentials.json --instagram --info España
root@kitploit:~
docker run -v $(pwd)/credentials.json:/socialpwned/credentials.json -v $(pwd)/output:/socialpwned/output -it mrtuxx/socialpwned socialpwned.py --credentials credentials.json --instagram --location 832578276
root@kitploit:~
docker run -v $(pwd)/credentials.json:/socialpwned/credentials.json -v $(pwd)/output:/socialpwned/output -it mrtuxx/socialpwned socialpwned.py --credentials credentials.json --instagram --hashtag-ig someHashtag --pwndb
root@kitploit:~
docker run -v $(pwd)/credentials.json:/socialpwned/credentials.json -v $(pwd)/output:/socialpwned/output -it mrtuxx/socialpwned socialpwned.py --credentials credentials.json --instagram --target-ig username --pwndb
root@kitploit:~
docker run -v $(pwd)/credentials.json:/socialpwned/credentials.json -v $(pwd)/output:/socialpwned/output -it mrtuxx/socialpwned socialpwned.py --credentials credentials.json --instagram --target-ig username --followers-ig --followings-ig --pwndb

LinkedIn

SocialPwned SocialPwned SocialPwned

root@kitploit:~
docker run -v $(pwd)/credentials.json:/socialpwned/credentials.json -v $(pwd)/output:/socialpwned/output -it mrtuxx/socialpwned socialpwned.py --credentials credentials.json --linkedin --search-companies "My Target"
root@kitploit:~
docker run -v $(pwd)/credentials.json:/socialpwned/credentials.json -v $(pwd)/output:/socialpwned/output -it mrtuxx/socialpwned socialpwned.py --credentials credentials.json --linkedin --search-companies "My Target" --employees --pwndb
root@kitploit:~
docker run -v $(pwd)/credentials.json:/socialpwned/credentials.json -v $(pwd)/output:/socialpwned/output -it mrtuxx/socialpwned socialpwned.py --credentials credentials.json --linkedin --company 123456789 --employees --pwndb
root@kitploit:~
docker run -v $(pwd)/credentials.json:/socialpwned/credentials.json -v $(pwd)/output:/socialpwned/output -it mrtuxx/socialpwned socialpwned.py --credentials credentials.json --linkedin --company 123456789 --employees --add-contacts
root@kitploit:~
docker run -v $(pwd)/credentials.json:/socialpwned/credentials.json -v $(pwd)/output:/socialpwned/output -it mrtuxx/socialpwned socialpwned.py --credentials credentials.json --linkedin --user-contacts user-id --pwndb
root@kitploit:~
docker run -v $(pwd)/credentials.json:/socialpwned/credentials.json -v $(pwd)/output:/socialpwned/output -it mrtuxx/socialpwned socialpwned.py --credentials credentials.json --linkedin --user-contacts user-id --add-contacts

Twitter

SocialPwned

root@kitploit:~
docker run -v $(pwd)/credentials.json:/socialpwned/credentials.json -v $(pwd)/output:/socialpwned/output -it mrtuxx/socialpwned socialpwned.py --credentials credentials.json --twitter --hashtag-tw someHashtag --pwndb --limit 200 --dehashed
root@kitploit:~
docker run -v $(pwd)/credentials.json:/socialpwned/credentials.json -v $(pwd)/output:/socialpwned/output -it mrtuxx/socialpwned socialpwned.py --credentials credentials.json --twitter --target-tw username --all-tw --pwndb --dehashed --ghunt
root@kitploit:~
docker run -v $(pwd)/credentials.json:/socialpwned/credentials.json -v $(pwd)/output:/socialpwned/output -it mrtuxx/socialpwned socialpwned.py --credentials credentials.json --twitter --target-tw username --all-tw --followers-tw --followings-tw --pwndb

GHunt

SocialPwned

root@kitploit:~
docker run -v $(pwd)/credentials.json:/socialpwned/credentials.json -v $(pwd)/output:/socialpwned/output -it mrtuxx/socialpwned socialpwned.py --credentials credentials.json --ghunt --email-gh "[email protected]"

注意:只要添加了 --ghunt 标志,该模块就会执行。如果进行批量搜索,可能会因为请求数量过多而失败。

Dehashed

SocialPwned

root@kitploit:~
docker run -v $(pwd)/credentials.json:/socialpwned/credentials.json -v $(pwd)/output:/socialpwned/output -it mrtuxx/socialpwned socialpwned.py --credentials credentials.json --dehashed --email-dh "[email protected]"

注意:在每次搜索末尾添加 --dehashed 标志会为每个邮件地址发送一次 API 请求。

组合

root@kitploit:~
docker run -v $(pwd)/credentials.json:/socialpwned/credentials.json -v $(pwd)/output:/socialpwned/output -it mrtuxx/socialpwned socialpwned.py --credentials credentials.json --instagram --target-ig username --followers-ig --followings-ig --linkedin --company 123456789 --employees --twitter --target-tw username --all-tw --pwndb --ghunt --dehashed
root@kitploit:~
docker run -v $(pwd)/credentials.json:/socialpwned/credentials.json -v $(pwd)/output:/socialpwned/output -it mrtuxx/socialpwned socialpwned.py --credentials credentials.json --instagram --target-ig username --linkedin --target-in username --twitter --target-tw username --all-tw --pwndb --ghunt --dehashed

参考资料 📚

  • Instagram API. 作者: LevPasha
  • Linkedin API. 作者: tomquirk
  • Twint. 作者: twintproject
  • PwnDB. 作者: davidtavarez
  • GHunt. 作者: mxrch

免责声明 ⚠️

使用 SocialPwned 攻击未事先获得双方同意的目标属于非法行为。此外,该工具使用了违反 LinkedIn 和 Instagram 规则的不同模块,因此你将被临时或永久封禁。

最终用户有责任合理使用 SocialPwned。开发者不对任何滥用或造成的损害负责。

下载工具