whatsipp

command module
v0.0.0-...-0d18775 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 25, 2019 License: MIT Imports: 8 Imported by: 0

README

Synopsis

As you know modern messengers have many features besides their main function — texting. They are able to play/record music/videos, send photos/geolocation and so on.

So they are also capable to generate link previews. The best practice is to generate preview by external proxy server which will fetch content for you.

However WhatsApp developers decided to rely on internal web engine that comes with OS.

It's not needed to explain that now WhatsApp will leak your IP address on every received link, and in addition user will leak his IP in link preview mode without actually opening the link.


NOTE: You will need VPS with static IP and domain.

Quickstart - Docker
  1. sudo docker pull unstab1e/whatsipp
  2. sudo docker run --rm -it -p 80:8080 unstab1e/whatsipp
Setup
  1. Get the repo by go get/git clone:
$ go get https://github.com/moldabekov/whatsipp

or

$ git clone https://github.com/moldabekov/whatsipp
  1. Build binary: $ make build

  2. Run it: $ sudo W_LEAK_PORT=80 ./main

  • If you would like to build and run docker container by yourself please execute the following command on step 3 (docker may require root privileges): $ make docker
Usage

To test PoC on yourself:

  1. Open WhatApp client and type your URL (e.g. https://domain.com/leak)
  2. Check logs to see your leaked IP

To leak other people IP addresses:

  1. Send this link to your victims: https://api.whatsapp.com/send?phone=+PHONE_NUMBER&text=http%3A%2F%2FYOUR_EVIL_URL
  • In separate tab watch IP leaks: $ tail -f visitors.log
Screenshots

WhatsAppPreview

visitors

Credits

Greets goes to Rahul Kankrale for figuring things out.

License

(C) MIT License

Documentation

Overview

// WhatsApp IP address leak. // Proof-of-Concept. // // Usage: make build // // Use of this source code is governed by a MIT-style // license that can be found in the LICENSE file. // Mark M. 2018.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL