
SocialPwned هي أداة OSINT تتيح الحصول على رسائل البريد الإلكتروني، من هدف معيّن، المنشورة على الشبكات الاجتماعية مثل Instagram وLinkedin وTwitter للعثور على تسريبات محتملة لبيانات الاعتماد في PwnDB أو Dehashed والحصول على معلومات حساب Google عبر GHunt.
SocialPwned هي أداة OSINT تسمح بالحصول على رسائل البريد الإلكتروني، من هدف معين، المنشورة في شبكات التواصل الاجتماعي مثل إنستغرام ولينكد إن وتويتر للعثور على تسريبات بيانات الاعتماد المحتملة في PwnDB أو Dehashed والحصول على معلومات حساب Google عبر GHunt.
الغرض من هذه الأداة هو تسهيل البحث عن الأهداف الضعيفة خلال مرحلة البصمة (Footprinting) في الاختراق الأخلاقي. من الشائع أن ينشر موظفو الشركة رسائلهم الإلكترونية في شبكات التواصل الاجتماعي، سواء المهنية أو الشخصية، لذا إذا تم تسريب بيانات اعتماد هذه الرسائل الإلكترونية، فمن الممكن أن تكون كلمات المرور التي تم العثور عليها قد أُعيد استخدامها في البيئة المراد تدقيقها. إذا لم يكن الأمر كذلك، فعلى الأقل سيكون لديك فكرة عن الأنماط التي يتبعها هذا الهدف لإنشاء كلمات المرور وستتمكن من تنفيذ هجمات أخرى بمستوى أعلى من الفعالية.
يستخدم SocialPwned وحدات مختلفة:
$ 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 على نظامك. على دبيان:
$ sudo apt-get install tor
$ /etc/init.d/tor start
استنساخ المستودع باستخدام Git:
$ 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 بشكل صحيح، يجب اتباع هذه الخطوات:
لاستخدام ميزات إنستغرام ولينكد إن، يجب أن يكون لديك حساب تم إنشاؤه على كل من شبكات التواصل الاجتماعي. يجب الإشارة إلى بيانات الاعتماد في ملف JSON:
{
"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 باتباع الخطوات الموضحة هنا.
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، فيجب تشغيل:
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>
احتفظ بجلسات لينكد إن وإنستغرام في متصفح لحل أي حظر محتمل. تفاعل بطريقة طبيعية.
قبل محاولة الحصول على جميع رسائل البريد الإلكتروني لموظفي مؤسسة ما على لينكد إن، تأكد من أن لديك شبكة واسعة من جهات الاتصال، وأصدقاء مشتركين، وبعض الموظفين المضافين إلى شبكتك. في كثير من الأحيان لا يمكنك رؤية معلومات جهة اتصال إذا لم تكن في شبكتك.
حاول عدم إجراء عمليات بحث ضخمة لتجنب الحظر.
قم بدمج الوحدات عندما يكون الهدف محدداً أو لن يتم التعامل مع كمية كبيرة من المعلومات، وإلا فقد تفشل أو يتم حظرك.
في كل مرة يتم تشغيل SocialPwned، سيتم إنشاء دليل بالتنسيق التالي:
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
فيما يلي بعض الأمثلة:

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
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
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
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
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

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"
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
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
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
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
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

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
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
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

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 سيتم تنفيذ هذه الوحدة. إذا قمت بذلك في بحث جماعي، فقد تفشل بسبب كمية الطلبات.

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 لكل بريد إلكتروني.
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
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
استخدام SocialPwned لمهاجمة أهداف دون موافقة مسبقة متبادلة هو أمر غير قانوني. بالإضافة إلى ذلك، يستخدم وحدات مختلفة تنتهك قواعد لينكد وإن وإنستغرام، وبالتالي، سيتم حظرك مؤقتاً أو دائماً.
تقع على عاتق المستخدم النهائي مسؤولية استخدام SocialPwned. المطورون ليسوا مسؤولين ولا يتحملون أي مسؤولية عن أي سوء استخدام أو ضرر ناتج.