Giter Club home page Giter Club logo

tenai's Introduction

Private Instagram Chaining

๐Ÿ”ฎ Uncover part of followers of an instagram private account

I have this private instagram account julianakhao. I need to get some new tracks from it. Tenai is here to uncover some of its mutual followers* as shown below: *"Mutual followers" means accounts following and being followed-back by your the target account.

๐Ÿ‘‰ Setup & Usage

๐Ÿ“ฒ Installation

pip install tenai

๐Ÿ’ป Use it from Command Line

# Print help d
tenai -h/--help
# Usage
tenai -s/--session-id SESSIONID -u/--username USERNAME
  • To export the result to json, add -e/--export
  • To print urls instead of username, add --url
  • To print details on account, add -d/--details

๐Ÿ“‡ Use it as a Library

>>> from tenai import InstaMutualsChaining
>>> info = InstaMutualsChaining(session_id=SESSIONID)
>>> info.get_data(username=USERNAME)
{"users":[user,user...],"status":"ok","is_recommend_account":False}

โœ… Target requirements

  • โš ๏ธ Accounts with too few mutuals (under ~20*) are automatically protected against chaining.
    • You can't know how many mutuals a private account has if you're not following it.
  • โš ๏ธ Accounts with too much followers (over ~15k*) are also protected.
  • โš ๏ธ Accounts who disabled Similar account suggestions (very few) are protected.
  • โš ๏ธ Accounts followed by yourself are not targetable (they're returning suggestions based on your own activity).
  • โœ… All accounts not mentionned in the previous lines are targetable with this technique.

*These numbers are approximative, based on the tests I made.

๐Ÿ—‚ More

  • ๐Ÿ’ก Tenai comes from privaTE iNstagram chAIning.
  • ๐Ÿคซ The program will, of course, not alert the target.
  • โณ Because of some pythonic part in the API response ("sources": "[47, 11, 20]" -> "sources": str(list)), this technique might be exploiting a prototype in the API that could be changed soon.
  • ๐Ÿ‘€ This program is using an offensive SOCMINT technique, please use it only for investigative purposes. I am not responsible of its misuse !
  • โ™ป๏ธ Results vary from minute to minute: I advise to retry after a bit of time, it could show more accounts.

โš™๏ธ How does it works ?

When you're looking at a private account (on browser or app), there are suggestions of other accounts to follow. The API endpoint in charge of responding the accounts to display (https://i.instagram.com/api/v1/fbsearch/accounts_recs/), is responding for few weeks some new parameters, such as the following:

"chaining_info": {
    "sources": "[11]",
    "algorithm": null
}

After many tests, I found out that "sources" can contain 3 different values with a certain signification for each:

  • "[11]", accounts following and being followed by the target account (mutuals),
  • "[20]", your personnal suggestions influenced by your activity,
  • "[47]", 2 accounts or more you follow are following this user.

The "sources" values can be additionned, such as "[11, 47]", a mutual of your target followed by 2 or more of your friends.
Also, "sources" value is the pythonic value I'm talking about in more, that seems to be a str(list).

tenai's People

Contributors

novitae avatar noobmaster1232 avatar mxrch avatar

tenai's Issues

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.