# How To Hack WhatsApp Of Your Friend By Sending A Single Link

**URL:** <https://onehack.st/t/how-to-hack-whatsapp-of-your-friend-by-sending-a-single-link/89226>\
**Category:** Tutorials & Methods\
**Tags:** hacking, tips-tricks\
**Created:** [May 31, 2020, 12:01pm UTC](https://onehack.st/t/how-to-hack-whatsapp-of-your-friend-by-sending-a-single-link/89226 "2020-05-31T12:01:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![BlueHacker](https://onehack.st/user_avatar/onehack.st/bluehacker/32/174721_2.png) [@BlueHacker](https://onehack.st/u/BlueHacker)\
**Post date:** [May 31, 2020, 12:01pm UTC](https://onehack.st/t/how-to-hack-whatsapp-of-your-friend-by-sending-a-single-link/89226/1 "2020-05-31T12:01:24Z")

</div>

![image](https://onehack.st/uploads/default/original/3X/9/6/96c4e887993c62379b91e7ad49d5722de5b5f76c.jpeg)

## INTRODUCTION

**[WhatsApp](https://www.whatsapp.com/)** has become an important part of billions of people’s life. Many of us woke up or go to bed, by checking our WhatsApp messages. Some of us are always curious to know to check WhatsApp of our friends. Girlfriends want to check on boyfriends and boyfriends want to check on girlfriends. Today Ethical Hacking **[researcher](https://www.iicybersecurity.com/ethical-hacking.html)** from International Institute of Cyber Security will demonstrate on _ **How to Hack WhatsApp of your Friend by sending a Single Link** _.

We will use a tool called **Ohmyqr** which is a **social engineering** tool. Using this OhMyQR Tool, we can hijack anyone’s WhatsApp account using the Malicious QR code. We will send Victim a URL using social engineering techniques and when the victim opens that URL he/she will receive a malicious WhatsApp malicious QR code on his/her machine. This QR code is a replica of what you normally see when you use WhatsApp web. On scanning QR code, hackers will be able to session hijack victims WhatsApp account.

## ENVIRONMENT

- **O** S: Kali Linux 2019.3 64 bit
- **Kernel-Version** : 5.2.0

## INSTALLATION STEPS

- Use this command to clone the project.
- **git clone [https://github.com/thelinuxchoice/ohmyqr](https://github.com/thelinuxchoice/ohmyqr)**

```auto
root@kali:/home/iicybersecurity# git clone https://github.com/thelinuxchoice/ohmyqr
Cloning into 'ohmyqr'…
remote: Enumerating objects: 23, done.
remote: Total 23 (delta 0), reused 0 (delta 0), pack-reused 23
Receiving objects: 100% (23/23), 20.95 KiB | 437.00 KiB/s, done.
Resolving deltas: 100% (8/8), done.

```

- Use the **cd** command to enter into **ohmyqr** directory

```auto
root@kali:/home/iicybersecurity# cd ohmyqr/ 
root@kali:/home/iicybersecurity/ohmyqr#

```

- When we tried to launch the tool, we got an error for not installing the required packages for the tool as shown below.
- Use this command **bash ohmyqr.sh.**

 ![image](https://onehack.st/uploads/default/original/3X/8/5/85d99a0c988278c1ab0003b5b11d867ed687d4c3.jpeg)

**OhMyQR – Scrot Missing Package**

- For this we used this command to install missing scrot package.
- **sudo apt-get install scrot**

```auto
root@kali:/home/iicybersecurity/ohmyqr# sudo apt-get install scrot
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  giblib1 libid3tag0 libimlib2
The following NEW packages will be installed:
  giblib1 libid3tag0 libimlib2 scrot
0 upgraded, 4 newly installed, 0 to remove and 1564 not upgraded.
Need to get 293 kB of archives.
After this operation, 1,011 kB of additional disk space will be used.
================================================================================================================SNIP=============================================================================================================
Selecting previously unselected package scrot.
Preparing to unpack .../archives/scrot_1.3-1_amd64.deb ...
Unpacking scrot (1.3-1) ...
Setting up libid3tag0:amd64 (0.15.1b-14) ...
Setting up libimlib2:amd64 (1.6.1-2) ...
Setting up giblib1:amd64 (1.2.4-12) ...
Setting up scrot (1.3-1) ...
Processing triggers for man-db (2.8.6.1-1) ...
Processing triggers for libc-bin (2.30-4) ...
Scanning processes...
Scanning linux images...

```

- In the same way we got another error for missing package while launching the tool.

 ![image](https://onehack.st/uploads/default/original/3X/b/7/b76da9cb3bce78738f7ff540c2d2fe9495f1262e.jpeg)

**OhMyQR – xdotool Missing Package**

- For this we used this command to install xdotool package.
- **sudo apt-get install xdotool**

```auto
root@kali:/home/iicybersecurity/ohmyqr# sudo apt-get install xdotool
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  libxdo3
The following NEW packages will be installed:
  libxdo3 xdotool
==============================================================================================================SNIP===============================================================================================================
Setting up libxdo3:amd64 (1:3.20160805.1-4) ...
Setting up xdotool (1:3.20160805.1-4) ...
Processing triggers for man-db (2.8.6.1-1) ...
Processing triggers for libc-bin (2.30-4) ...
Scanning processes...
Scanning linux images..

```

- Now, use the same command to launch the tool **bash ohmyqr.sh**

 ![image](https://onehack.st/uploads/default/original/3X/c/3/c32605d023eab433c5019ea3ab80a0dc6c8a4c2d.jpeg)

**OhMyQR – Tool Launch**

- We successfully launched the tool.
- Now, choose option **1** to launch the **Ngrok** server.
- Select website to mirror or press enter for **default**** WhatApp** and it will starts PHP and Ngrok server and then it generates malicious Link (ngrok link).
- Then press enters to start the Web WhatsApp on hackers machine.
- It will launch [web.whatsapp.com](http://web.whatsapp.com) on FireFox browser in Full screen mode on Hacker machine.
- Now send malicious Link (ngrok link) to the victim using social engineering techniques.
- As shown below when the victim opens the malicious link in the browser, it will display the same WebWhatsApp QR code which is coming on hacker machine.
- For more understanding, on the right is the Hacker screen and on the left is the Victim screen.

 ![image](https://onehack.st/uploads/default/original/3X/e/2/e296624091243555e6117738fd5cad187c342bdf.jpeg)

**OhMyQR – Right is the Hacker screen and on the left is the Victim screen**

- When the victim scans the QR code, BOOM!
- Hacker screen will get the web.whatsapp account of Victim. Now the victim whatsapp session is hijacked.
- On the same Victim will also be able to view his/her WhatsApp, but victim will not be able to do anything on it (as it is only a screen shot of what hacker is viewing).

 ![image](https://onehack.st/uploads/default/original/3X/b/e/beda1f58a371c0297d53f798bda12fb34d8f1dcb.jpeg)

**OhMyQR – Victm’s WhatsApp Account**  
**Right is the Hacker screen and on the left is the Victim screen**

- In the above picture, we can see one is the Victim machine (on left) and the other one is the hacker’s machine (on right).
- We successfully hacked the victim’s account.
- Its very easy to hack account of victim using social engineering techniques, in the similar way researcher of International Institute of Cyber Security demonstrated other techniques to **hack** other things.

## CONCLUSION

Now, we saw on how easy to view and access the victim’s WhatsApp using one malicious link. Most of the people imagine that we had logged in our WhatsApp web account but their WhatsApp account is been Hijacked. So it is always recommended to not click on any unknown link.

_Source: securitynewspaper_

Enjoy folks 🙂

---

<div class="post-metadata">

**Author:** ![Islam\_Ahmed](https://onehack.st/user_avatar/onehack.st/islam_ahmed/32/43644_2.png) [@Islam\_Ahmed](https://onehack.st/u/Islam_Ahmed)\
**Post date:** [June 17, 2020, 5:17pm UTC](https://onehack.st/t/how-to-hack-whatsapp-of-your-friend-by-sending-a-single-link/89226/2 "2020-06-17T17:17:45Z")

</div>

> [@BlueHacker](#):
>
> imagine

session hacking in the same , but when he close whats app web , you cant access

---

<div class="post-metadata">

**Author:** ![Wara\_Massa](https://onehack.st/user_avatar/onehack.st/wara_massa/32/37895_2.png) [@Wara\_Massa](https://onehack.st/u/Wara_Massa)\
**Post date:** [June 17, 2020, 5:52pm UTC](https://onehack.st/t/how-to-hack-whatsapp-of-your-friend-by-sending-a-single-link/89226/3 "2020-06-17T17:52:44Z")

</div>

Thanks for the details
