Git Product home page Git Product logo

soig's Introduction

SoIG

SoIG

The Instagram OSINT Tool gets a range of information from an Instagram account that you normally wouldn't be able to get from just looking at their profile.

Getting Started

The information includes:

  • profile : Username, Profile Name, URL, Followers, Following, Number of Posts, Bio, Profile Picture URL, Is Business Account , Connected to a FB account , External URL, Joined Recently , Business Category Name, Is private , Is Verified.

  • tags : most used , and by -t all used tags.

  • posts : accessability caption, location, timestamp, comments disabled, Caption, picture url.

Prerequisites

  • Python 3 or higher.
  • Linux OS ex. Ubuntu or Kali Linux.

Project setup

# clone the repo
$ git clone https://github.com/yezz123/SoIG

# move to the project folder
$ cd SoIG

Creating virtual environment

  • Create a virtual environment using virtualenv.
# creating virtual environment
$ virtualenv venv

# activate virtual environment
$ source venv/bin/activate

# install all dependencies
$ pip install -r requirements.txt

Running the Application

  • You can run the main.py file Manually.
# Running the Script
$ python3 main.py

Usage

A simple workflow of command used to run SoIG with a Description.

Usage Description
-h , --help show this help message and exit.
-u USERNAME , --username USERNAME username of account to scan.
-p , --postscrap scrape all uploaded images info.
-s , --savedata save data to file ( save profile pic, info , post info ).

Contributing

  • Join the SoIG Creator and Contribute to the Project if you have any enhancement or add-ons to create a good and Secure Project, Help any User to Use it in a good and simple way.

Disclaimer

  • This project can only be used for educational purposes. Using this software against target systems without prior permission is illegal, and any damages from misuse of this software will not be the responsibility of the author.

License

This project is licensed under the terms of the MIT license.

soig's People

Contributors

dependabot[bot] avatar lkabuci avatar yezz123 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

soig's Issues

[Windows 7 x64] json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Getting following Error while using SoIG on Windows, any Fix?

[+] getting profile ...Traceback (most recent call last):
File "main.py", line 16, in
ig = main(user=args["username"])
File "C:\OSINT\SoIG-master/.lib\api.py", line 62, in init
self.get_profile()
File "C:\OSINT\SoIG-master/.lib\api.py", line 69, in get_profile
self.data = json.loads(more_data[3].get_text()[21:].strip(';'))
File "C:\Python3\lib\json_init_.py", line 348, in loads
return _default_decoder.decode(s)
File "C:\Python3\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Python3\lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Doesn't work...get this error msg

+] getting profile ...Traceback (most recent call last):
File "/home/benbangli/SoIG/main.py", line 16, in
ig = main(user=args["username"])
File "/home/benbangli/SoIG/.lib/api.py", line 62, in init
self.get_profile()
File "/home/benbangli/SoIG/.lib/api.py", line 69, in get_profile
self.data = json.loads(more_data[3].get_text()[21:].strip(';'))
File "/usr/lib/python3.9/json/init.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.9/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.9/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

showing syntax error

File "/home/kali/SoIG/main.py", line 19, in
ig = main(user=args["username"])
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kali/SoIG/api/api.py", line 64, in init
self.get_profile()
File "/home/kali/SoIG/api/api.py", line 76, in get_profile
self.data = json.loads(more_data[3].get_text()[21:].strip(";"))
~~~~~~~~~^^^
IndexError: list index out of range

BRUH!

Program throws errors

Command ran: python3 main.py -u (username)

Python on version 3.10.5, running on Kali Linux

[+] getting profile ...Traceback (most recent call last):
  File "/home/kali/SoIG/main.py", line 19, in <module>
    ig = main(user=args["username"])
  File "/home/kali/SoIG/api/api.py", line 64, in __init__
    self.get_profile()
  File "/home/kali/SoIG/api/api.py", line 76, in get_profile
    self.data = json.loads(more_data[3].get_text()[21:].strip(";"))
IndexError: list index out of range

Error

getting profile ...Traceback (most recent call last):
File "C:\Users\NADIRPC\Downloads\My-Github\SoIG\main.py", line 19, in
ig = main(user=args["username"])
File "C:\Users\NADIRPC\Downloads\My-Github\SoIG\api\api.py", line 61, in init
self.get_profile()
File "C:\Users\NADIRPC\Downloads\My-Github\SoIG\api\api.py", line 69, in get_profile
self.data = json.loads(more_data[3].get_text()[21:].strip(';'))
File "C:\Users\NADIRPC\AppData\Local\Programs\Python\Python39\lib\json_init_.py", line 346, in loads
return _default_decoder.decode(s)
File "C:\Users\NADIRPC\AppData\Local\Programs\Python\Python39\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Users\NADIRPC\AppData\Local\Programs\Python\Python39\lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Suggestion: ID profile

It would be interesting if the tool collected the profile id on instagram, as it is an identifier that does not change, even changing the username.

KeyError: 'ProfilePage'

Hi,

Sorry if the error is "noob error" im just starting in Linux.

i'm running in Kali Linux 2020.4 and when i install and i give the permissions i start to search my username and error outputs:
File "main.py", line 16, in
ig = main(user=args["username"])
File "/home/kali/Desktop/SoIG/.lib/api.py", line 62, in init
self.get_profile()
File "/home/kali/Desktop/SoIG/.lib/api.py", line 70, in get_profile
self.p_data = self.data['entry_data']['ProfilePage'][0]['graphql']['user']
KeyError: 'ProfilePage'

Can any one help me to understand this issue or/and solve?
Thanks in advance

Error

[+] getting profile ...Traceback (most recent call last):
File "/home/kali/Instagram Tools/SoIG/main.py", line 19, in
ig = main(user=args["username"])
File "/home/kali/Instagram Tools/SoIG/api/api.py", line 64, in init
self.get_profile()
File "/home/kali/Instagram Tools/SoIG/api/api.py", line 76, in get_profile
self.data = json.loads(more_data[3].get_text()[21:].strip(";"))
IndexError: list index out of range

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.