Coder Social home page Coder Social logo

whatsapp-osint's Introduction

WhatsApp OSINT Tool

Example

example

Welcome to the first WhatsApp OSINT tool. This was developed in early 2019 but I decided to restart the project now for fun.

English

How to Install

First, install requirements:

pip install -r requirements.txt
  • You will need chromedriver, or you can modify the code and use GeckoDriver or any other drivers for Selenium.
  • You will need a GUI to execute the code since it interacts with web.whatsapp.com to get statuses
  • Replace the name in the file with whichever name you want to track

How to Run

The language you choose depends on the language in which you have your web whatsapp some of the languages already integrated are the following:

Idioma Abreviatura
Spanish es
English en
French fr
Turkish tr

In the user section you must put the user you want to monitor through the program, so the execution as such would be as follows:

python3 whatsappbeacon.py --username <username_to_track> --language "<language_code>"

Excel format to get data

To obtain the data generated by means of excel you can execute the following command with the flag "-e"

python3 whatsappbeacon.py --username <username_to_track> --language "<language_code>" -e

Example

img_2.png

where language_code is either 'en' 'tr' 'es' for English,Turkish and Spanish languages. Future language support will be added.

Credits

This tool was developed by myself in my free time. It's a tool that demonstrates the power of Selenium and web scraping. I don't endorse using this tool for stalking people or any other fraudulent purposes. If you have suggestions on how to expand or improve the functionality, please submit a PR and I'll gladly review changes

jasperan

Español

Bienvenido a la primera herramienta OSINT de WhatsApp. Esto se desarrolló a principios de 2019, pero decidí retomar el proyecto ahora por diversión.

Como instalar

pip install -r requirements.txt
  • Necesitas chromedriver, o puede modificar el código y usar GeckoDriver o cualquier otro controlador para Selenium.
  • Necesitará una GUI para ejecutar el código, ya que interactúa con web.whatsapp.com para obtener estados
  • Reemplace el nombre en el archivo con el nombre que desee rastrear

Como ejecutar

El lenguaje que escoja depende de el idioma en el que usted tenga su whatsapp web algunos de los idiomas ya integrados son los siguiente:

Idioma Abreviatura
Español es
Ingles en
Frances fr
Turco tr

En el apartado de usuario debera poner el usuario que desea hacer el seguimiento por medio del programa, así que la ejecucion como tal quedaria de la siguiente manera:

python3 whatsappbeacon.py --username <usuario> --language "<lenguaje_abreviatura>"

Obtener datos de Excel

Para obtener los datos generados por medio de excel puede ejecutar el siguiente comando con la flag "-e"

python3 whatsappbeacon.py --username <usuario> --language "<lenguaje_abreviatura>" -e

TikTok Tutorial (Spanish)

3ae988169bdfbc4f76855f77f5089ca1.mp4

Video credits go to linkfydev (thanks for the awesome explanation).

Creditos

Esta herramienta fue desarrollada por mí mismo en mi tiempo libre. Es una herramienta que demuestra el poder de Selenium y web scraping. No apruebo el uso de esta herramienta para acechar a las personas o cualquier otro propósito fraudulento. Si tiene sugerencias sobre cómo expandir o mejorar la funcionalidad, envíe un PR y con gusto revisaré los cambios.

Traducción

La traduccion al español fue generada por daliondev

Türkçe

İlk WhatsApp Osint(Casusluk) aracına Hoş Geldiniz.Bu araç 2019 senesinde geliştirilmeye başlandı ancak şimdi zevkine tekrardan geliştirmeye karar verdim.

Nasıl İndirebilirim

İlk olarak repoyu indirmemiz gerekiyor ve terminale bu satırı yapıştırıyoruz.

git clone https://github.com/jasperan/whatsapp-osint.git

Sonra 'requirements.txt' dosyasını indirmemiz gerekiyor Terminale aşağıdaki kod satırını yapıştırınız:

pip install -r requirements.txt
  • Chrome Driver'a ihtiyacımız olacaktır.Repoda Chrome Driver mevcuttur.Eğer repo güncel değilse kendiniz indiriniz.
  • WhatsApp Osint aracı şuanlık sadece Google Chrome desteklemektedir.Chrome yüklü değilse hata alırsınız.Kendi driverinizi oluşturarak "Brave,Edge,Safari" vs çalıştırabilirsiniz.
  • Google açıldıktan sonra WhatsApp Web'e tek seferlik giriş yapmanız gerekmektedir.QR kodu okutarak giriş yapınız.
  • Dosyadaki adı, izlemek istediğiniz adla değiştirin

Programı Nasıl Çalıştırırım

Seçtiğiniz dil, web whatsapp'ınızın bulunduğu dile bağlıdır. Halihazırda entegre edilmiş bazı diller şunlardır:

Idioma Abreviatura
İspanyol es
İngilizce en
Fransızca fr
Türkçe tr

Kullanıcı bölümünde, program aracılığıyla izlemek istediğiniz kullanıcıyı girmelisiniz, böylece yürütme aşağıdaki gibi olacaktır:

python3 whatsappbeacon.py --username <Bu kısma rehberinizdeki kullanıcı adını yazınız> --language "tr"

excelden veri almak

Excel aracılığıyla oluşturulan verileri elde etmek için flag "-e" ile aşağıdaki komutu çalıştırabilirsiniz.

python3 whatsappbeacon.py --username <Bu kısma rehberinizdeki kullanıcı adını yazınız> --language "tr" -e

Katkıda Bulunanlar

Bu araç benim tarafımdan boş zaman aktivitesi olarak geliştirildi.Aracın insanları "Stalklamınız" ve "Dolandırmanız" için kullanmamanızı rica ediyorum çünkü ben bu aracı "Selenium" ve "Web Scrayping" önemini göstermek için geliştirdim.Eğer projeye destek vermek istiyorsanız pull requestlerinizi bekliyorum.Memnuniyetle gözden geçireceğim.

Tercüme

Türkçe çeviri Türkçe çeviri tarafımdan yapılmıştır BerkeGokturk71

whatsapp-osint's People

Contributors

berkegokturk71 avatar cyberx1sor avatar daliondev avatar jasperan avatar kino1994 avatar poletekid avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

whatsapp-osint's Issues

Selenium Error

Hi! I've got the following error: "line 1, in <module> from selenium import webdriver ModuleNotFoundError: No module named 'selenium' any solutions? Also I've already run the command pip install -r requirements.txt. Ty

User is not found when chat is no created before nor recent

joaquin@joaquin:~/git/whatsapp-osint$ python3 whatsappbeacon.py --username Laure --language "es"
In order to make this program to work, you will need to log-in once in WhatsApp. After that, your session will be saved until you revoke it.
Loading...
Loaded
Trying to find: //span[contains(text(), 'Laure')]
Laure is not found. Returning...(Maybe your contact is in the archive. Check it)

Can be fixed if user is searched before.

I added this pull request to fix it: #25

Need help lots of errors

Hello,
first thanks for sharing this projects.
i have lots of errors. maybe some solution?

wa/whatsapp-osint# python3 whatsappbeacon.py --username "Blumi" --language "en"
In order to make this program to work, you will need to log-in once in WhatsApp. After that, your session will be saved until you revoke it.
Traceback (most recent call last):
File "/home/peter/wa/whatsapp-osint/whatsappbeacon.py", line 144, in
main()
File "/home/peter/wa/whatsapp-osint/whatsappbeacon.py", line 138, in main
driver = whatsapp_login()
File "/home/peter/wa/whatsapp-osint/whatsappbeacon.py", line 116, in whatsapp_login
driver = webdriver.Chrome(options=options)
File "/usr/local/lib/python3.10/dist-packages/selenium/webdriver/chrome/webdriver.py", line 80, in init
super().init(
File "/usr/local/lib/python3.10/dist-packages/selenium/webdriver/chromium/webdriver.py", line 104, in init
super().init(
File "/usr/local/lib/python3.10/dist-packages/selenium/webdriver/remote/webdriver.py", line 286, in init
self.start_session(capabilities, browser_profile)
File "/usr/local/lib/python3.10/dist-packages/selenium/webdriver/remote/webdriver.py", line 378, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "/usr/local/lib/python3.10/dist-packages/selenium/webdriver/remote/webdriver.py", line 440, in execute
self.error_handler.check_response(response)
File "/usr/local/lib/python3.10/dist-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed to start: exited abnormally.
(unknown error: DevToolsActivePort file doesn't exist)
(The process started from chrome location /snap/chromium/2424/usr/lib/chromium-browser/chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
Stacktrace:
#0 0x55f869bf3603
#1 0x55f8699448b6
#2 0x55f86996ceda
#3 0x55f869969084
#4 0x55f8699aa514
#5 0x55f8699a9b7f
#6 0x55f8699a11d3
#7 0x55f869973fb8
#8 0x55f8699750ee
#9 0x55f869bba046
#10 0x55f869bbd3c3
#11 0x55f869bbdc5a
#12 0x55f869bc5b0e
#13 0x55f869bbe3ec
#14 0x55f869b94ea8
#15 0x55f869bde318
#16 0x55f869bde4c3
#17 0x55f869bebe34
#18 0x7faacb159609

THANKS!

help logs_manager

Traceback (most recent call last):
File "C:\Users\dedem\OneDrive\Belgeler\GitHub\whatsapp-osint\whatsappbeacon.py", line 11, in
from utils.logs_manager import Logs
ModuleNotFoundError: No module named 'utils.logs_manager'

Program finishes execution before Syncing is complete

So after linking a device using the QR code, the program tries to find the given username argument, but since the link just happened, there's no time for the browser to finish syncing all the conversations, and the program cannot find the contacts.

 Loaded
Trying to find: Banana Kong
Banana Kong is not found. Returning...(Maybe your contact is in the archive. Check it)

IMG_15F257F98E57-1

If there was a way to keep the browser open to finish the syncing, the problem would be solved.

script is stuck on loading...

Hi,

I've tested this on windows and linux, whenever i launch the script it opens up chrome, i have scanned my QR it is stuck on "loading...".
On linux i am using python 3.10 and Chrome for testing v119.0.6045.105 with matching chromedriver.

python3 whatsappbeacon.py --username Ese --language "en"

python3 whatsappbeacon.py --username Ese --language "en"
In order to make this program to work, you will need to log-in once in WhatsApp. After that, your session will be saved until you revoke it.
The version of chrome cannot be detected. Trying with latest driver version
/usr/lib/python3/dist-packages/requests/init.py:89: RequestsDependencyWarning: urllib3 (2.0.4) or chardet (3.0.4) doesn't match a supported version!
warnings.warn("urllib3 ({}) or chardet ({}) doesn't match a supported "
Traceback (most recent call last):
File "whatsappbeacon.py", line 247, in
main()
File "whatsappbeacon.py", line 240, in main
driver = whatsapp_login()
File "whatsappbeacon.py", line 197, in whatsapp_login
driver = webdriver.Chrome(options=options)
File "/home/cyberfam/.local/lib/python3.8/site-packages/selenium/webdriver/chrome/webdriver.py", line 49, in init
super().init(
File "/home/cyberfam/.local/lib/python3.8/site-packages/selenium/webdriver/chromium/webdriver.py", line 54, in init
super().init(
File "/home/cyberfam/.local/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 206, in init
self.start_session(capabilities)
File "/home/cyberfam/.local/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 291, in start_session
response = self.execute(Command.NEW_SESSION, caps)["value"]
File "/home/cyberfam/.local/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 346, in execute
self.error_handler.check_response(response)
File "/home/cyberfam/.local/lib/python3.8/site-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: unknown error: cannot find Chrome binary
Stacktrace:
#0 0x55b2c0c504e3
#1 0x55b2c097fc76
#2 0x55b2c09a6757
#3 0x55b2c09a5029
#4 0x55b2c09e3ccc
#5 0x55b2c09e347f
#6 0x55b2c09dade3
#7 0x55b2c09b02dd
#8 0x55b2c09b134e
#9 0x55b2c0c103e4
#10 0x55b2c0c143d7
#11 0x55b2c0c1eb20
#12 0x55b2c0c15023
#13 0x55b2c0be31aa
#14 0x55b2c0c396b8
#15 0x55b2c0c39847
#16 0x55b2c0c49243
#17 0x7fa5553e3609 start_thread

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.