SkillAgentSearch skills...

InstaRecon

šŸ” Professional Instagram OSINT tool for penetration testing and security research. Gather public information ethically for authorized security assessments.

Install / Use

/learn @Faizee-Asad/InstaRecon

README

šŸ” InstaRecon - Instagram OSINT Tool

Python License Platform

InstaRecon is a powerful Instagram Open Source Intelligence (OSINT) tool designed for cybersecurity professionals, penetration testers, and ethical hackers to gather publicly available information from Instagram profiles.

āš ļø IMPORTANT LEGAL DISCLAIMER

This tool is intended for EDUCATIONAL and AUTHORIZED SECURITY TESTING purposes ONLY.

  • āœ… Legal Use: Authorized penetration testing, security research, educational purposes
  • āŒ Illegal Use: Stalking, harassment, unauthorized surveillance, privacy violations
  • šŸ“‹ Your Responsibility: Users must comply with all applicable laws and regulations
  • šŸ›ļø Legal Compliance: Ensure you have proper authorization before testing any accounts
  • šŸ”’ Privacy Respect: Only gather information that is publicly available

The developers of this tool are NOT responsible for any misuse or illegal activities conducted with this software.

🌟 Features

  • šŸ” User Intelligence Gathering: Extract comprehensive public profile information
  • šŸ“Š Engagement Analysis: Calculate follower-to-following ratios and engagement metrics
  • 🌐 Advanced Lookup: Retrieve obfuscated contact information when available
  • šŸ“± Contact Information: Extract public email addresses and phone numbers
  • šŸ–¼ļø Profile Media: High-resolution profile picture URLs
  • šŸ“ˆ Account Metrics: Detailed statistics including posts, followers, and following counts
  • šŸ¢ Business Intelligence: Identify business accounts and verification status
  • šŸ”— External Links: Extract website URLs and external connections
  • šŸš€ Easy Setup: Automatic dependency installation
  • šŸ’» Cross-Platform: Works on Windows, macOS, and Linux

šŸ› ļø Installation

Prerequisites

  • Python 3.6 or higher
  • Valid Instagram account (for session ID)
  • Internet connection

Quick Installation

  1. Clone the repository

    git clone https://github.com/Faizee-Asad/InstaRecon.git
    cd instarecon
    
  2. Run the tool (dependencies will auto-install)

    python instarecon.py -u target_username -s your_session_id
    

Manual Installation

If you prefer to install dependencies manually:

pip install requests phonenumbers pycountry

šŸš€ Usage

Basic Usage

Search by Username:

python instarecon.py -u username -s your_session_id

Search by User ID:

python instarecon.py -i 123456789 -s your_session_id

Enable Debug Mode:

python instarecon.py -u username -s your_session_id --debug

Getting Your Instagram Session ID

  1. Open Instagram in your web browser and log in
  2. Open Developer Tools (F12 or right-click → Inspect)
  3. Navigate to Application tab → Storage → Cookies → https://www.instagram.com
  4. Find the cookie named sessionid
  5. Copy the Value field

Session ID Guide

Command Line Options

Options:
  -h, --help            Show help message and exit
  -s, --sessionid       Instagram session ID (required)
  -u, --username        Instagram username to investigate
  -i, --id              Instagram user ID to investigate
  --debug               Show debug information and all available fields
  --no-banner          Skip the banner display

šŸ“Š Sample Output

╔══════════════════════════════════════════════════════════════╗
ā•‘                          InstaRecon                          ā•‘
ā•‘                   Instagram OSINT Tool                       ā•‘
ā•‘                                                              ā•‘
ā•‘   For Penetration Testing & Ethical Hacking @Faizee-Asad     ā•‘
ā•šā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•

šŸ” Starting reconnaissance for username: target_user
ā³ Gathering intelligence...

============================================================
INSTAGRAM RECONNAISSANCE RESULTS
============================================================

Username               : target_user
User ID                : 1234567890
Full Name              : John Doe
Verified Account       : āœ“
Business Account       : āœ—
Private Account        : āœ—

Engagement Metrics:
Followers              : 15,432
Following              : 892
Posts                  : 156
Following/Follower Ratio: 0.06

External Links:
Website                : https://johndoe.com

Biography:
Photographer | Travel Enthusiast
šŸ“§ contact@johndoe.com
šŸŒ Based in New York

Public Contact Info:
Email                  : john@johndoe.com

Profile Picture        : https://instagram.com/profile_pic_url

────────────────────────────────────────────────────────────
ADVANCED RECONNAISSANCE
────────────────────────────────────────────────────────────
Obfuscated Email       : j***@g****.com
Obfuscated Phone       : +1 ***-***-1234

============================================================

šŸ”’ Security Note: This information is publicly available
   Use responsibly and in accordance with applicable laws.

šŸ”§ Technical Details

Information Gathered

Basic Profile Data:

  • Username and User ID
  • Full name and biography
  • Account verification status
  • Business account status
  • Privacy settings

Engagement Metrics:

  • Follower count
  • Following count
  • Post count
  • Engagement ratios

Contact Information:

  • Public email addresses
  • Public phone numbers (with country detection)
  • External website links
  • Obfuscated recovery information

Media Information:

  • High-resolution profile pictures
  • IGTV post counts

Rate Limiting

Instagram implements rate limiting to prevent abuse. If you encounter rate limit errors:

  • Wait 10-15 minutes between requests
  • Use different session IDs if available
  • Avoid making too many requests in a short time period

šŸ¤ Contributing

We welcome contributions! Please follow these guidelines:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Contribution Guidelines

  • Follow PEP 8 coding standards
  • Add comments for complex functions
  • Test your changes thoroughly
  • Update documentation as needed
  • Respect the ethical guidelines

šŸ› Common Issues & Troubleshooting

"Rate limit reached"

Solution: Wait 10-15 minutes and try again. Consider using a different Instagram account.

"User not found"

Solution: Verify the username spelling. The user might have changed their username or deleted their account.

"Request timeout"

Solution: Check your internet connection and try again.

"Invalid session ID"

Solution:

  1. Ensure you're logged into Instagram in your browser
  2. Get a fresh session ID following the guide above
  3. Make sure you copied the entire session ID value

ModuleNotFoundError

Solution: The tool automatically installs dependencies. If this fails:

pip install requests phonenumbers pycountry

šŸ“š Educational Use Cases

This tool is designed for legitimate security testing and educational purposes:

  • Penetration Testing: Assess social media exposure during security audits
  • Security Research: Study social engineering attack vectors
  • Digital Forensics: Investigate public social media presence
  • Cybersecurity Training: Demonstrate OSINT techniques
  • Privacy Awareness: Show users what information is publicly available

šŸ”’ Privacy & Ethics

Respect Privacy: Only gather information that is publicly available on Instagram.

Get Authorization: Always ensure you have proper authorization before investigating accounts.

Follow Laws: Comply with local laws and regulations regarding data collection and privacy.

Use Responsibly: Do not use this tool for harassment, stalking, or any malicious activities.

Report Issues: If you find vulnerabilities in Instagram's platform, report them responsibly to Meta's security team.

āš–ļø Legal Notice

This tool accesses only publicly available information through Instagram's standard web interface. Users are responsible for ensuring their use complies with:

  • Local and international privacy laws
  • Instagram's Terms of Service
  • Applicable cybersecurity and computer crime laws
  • Ethical hacking guidelines and standards

šŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

šŸ™ Acknowledgments

  • Instagram for providing public APIs
  • The cybersecurity community for OSINT methodology
  • Contributors and ethical hackers who improve the tool
  • Open source libraries: requests, phonenumbers, pycountry

šŸ“ž Support & Contact


Remember: With great power comes great responsibility. Use this tool ethically and legally.

⭐ If you find this tool useful for your security research, please give it a star!


Developed by Asad faizee for the cybersecurity community

View on GitHub
GitHub Stars12
CategoryDevelopment
Updated20h ago
Forks2

Languages

Python

Security Score

80/100

Audited on Apr 5, 2026

No findings