About Me

Follow Us

How to hack camera with grabcam
Android Development

A Tool to Hack Camera with Grabcam in Termux

This is “Part 2” of the “Penetration Testing” Course, and in this post, we will discuss about a tool that has the capability to hack a camera of the victim. This tool capture images of the victim without letting them know. At TechSpit, we will guide you to install this tool in termux and will help you to prevent yourself from this tool.

Well, this tool is developed for educational and testing purposes. We recommend you not to exploit anyone using this information.

Disclaimer-: This post is only meant for educational purposes. We do not encourage you to exploit others by using these tools. We are not responsible for any action taken by you. The information given here is in good faith, use these hacking tools with caution as it may land you in legal trouble.

What is grabcam

Grabcam is a bash based script which is officially made for termux. This tool is developed to hack a camera of any victim by sending a link. The link contains the offer page of “Jio Telecom”

Claiming to give free recharge.

Features of grabcam

  • Hack front camera of victim automatically
  • Run in the background so that nobody can know
  • No root required
  • Automatically capture images randomly when a victim clicks on a link

Note-: Internet connection required. Rooted phone not required at all.

How to prevent yourself from this tool

If you have a little bit of knowledge of technology, you can able to detect that it is not authorized but the primary and most effective way to prevent from this tool is to analyze its URL, this link requires “Camera Permission.” When a victim clicks on a link generated with grabcam, it asked for Camera Permission. Simply do not allow permission and it cannot capture your images.

How to install Grabcam in termux to hack a Camera

Step1

Download Termux Application from the play store and open it in your android. After opening termux, copy and paste the below codes one by one and wait until each process completes.

apt update -y
apt upgrade -y
pkg install python -y
pkg install python2 -y
pkg install git -y
pip install lolcat
git clone https://github.com/noob-hackers/grabcam
ls
cd grabcam
ls
bash grabcam.sh

Step2

After typing the last code “bash grabcam.sh” it will ask for storage permission. Allow it by clicking on allow and rest work will be done automatically by termux. After that, you have an interface like this

Grabcam interface
Grabcan interface

Step3

Now turn your hotspot “on,” you don’t need to connect anyone from your hotspot, just enable it.

Step4

It will ask you to choose the server, there will be two options, but you have to type 2 for (Ngrok) and press enter.

Grabcam
Grabcam in Ngrok server

Now a link will be generated with “Direct link-https://3b255c4268f.ngrok.io” something like this. Copy the code and share it with your friends. When your friend clicks on this link it will ask to allow camera permission.

Grabcam link
Direct link generated by grabcam

Tell your friend to allow it. And yes, now you have hacked your friend’s camera.

To see captured images, you need to type the below-given commands

ls
mv (image name with.png)/sdcard

your termux will show captured images as “img427282sd.png” copy the image name looking like this and paste it in termux like this “mv img427282sd.png/sdcard

Now check your gallery, you have an image of your friend clicked by grabcam.

This post is only for educational and testing purposes. Hence, we request you not to exploit anyone. This post is dedicated to creating awareness among Internet users.

If you have any problems regarding this, feel free to ask in the comment section.

Leave a Reply

Your email address will not be published. Required fields are marked *

Newsletter

Subscribe to My Newsletter