OSINTgram Tutorial (2026): How to Investigate Instagram with OSINT

OSINT-Osintgram-Hack-instagram

Introduction

Osintgram is an OSINT (Open Source Intelligence Tool) to gather information from Instagram account using the target’s username. Information gathering and anlysis can be done by the interactive shell which provided by Osintgram.

Disclaimer: All data and information provided in this article are for informational purposes only. We will not be responsible for any action performed by any reader.

Installation

Download the repo from GitHub using the following

 git clone https://github.com/Datalux/Osintgram.git 

Change the directory

 cd Osintgram 

Osintgram requires python3 you have to install it using the following command

 Sudo apt install python3 

Install pip3

 sudo apt install python3-pip 

Now you have to install the requirements using the following command

 pip3 install -r requirements.txt 

Now change the directory to config

 cd config 

In the config directory, you have to create 3 files with your own Instagram account’s credentials (you can create a dummy account and give it details if you want). When you have an Instagram account use the following commands to create the files.

echo “your username” > username.conf

echo “your password” > pw.conf

echo “{}” > settings.json

Now go back to the Osintgram directory.

cd ../

Now you have to run the main.py file with the target’s username

python3 main.py <target’s username>

example: python3 main.py targetinstausername

Commands used in the Osintgram

  • addrs – Get all registered addressed by target photos.
  • captions – Get user’s photos captions.
  • comments – Get total comments of target’s posts.
  •  followers – Get target followers.
  • followings – Get users followed by target.
  • hashtags – Get hashtags used by target.
  • info – Get target info.
  • likes – Get total likes of target’s posts.
  • mediatype – Get user’s posts type (photo or video).
  • photodes – Get description of target’s photos.
  • photos – Download user’s photos in output folder.
  • propic – Download user’s profile picture.
  • stories – Download user’s stories.
  • tagged – Get list of users tagged by target.
  • target – Set new target.
  • wcommented – Get a list of user who commented on target’s photos.

Updating Osintgram

To update Osintgram use the following command,

git pull

More information about Osintgram is available in the GitHub page.

Want to become an Ethical Hacker…??? Buy our complete guide on Ethical Hacking
Hacking and Penetration Testing: Learn Ethical Hacking from Scratch

Leave a Comment

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