{"id":25480044,"url":"https://github.com/gaillardtom/instastalker","last_synced_at":"2026-04-11T07:43:11.517Z","repository":{"id":276202773,"uuid":"928553716","full_name":"GaillardTom/InstaStalker","owner":"GaillardTom","description":"OSINT: Python web app in flask/Django to get the newly following for a username on Instagram using their API. ","archived":false,"fork":false,"pushed_at":"2025-02-06T20:46:06.000Z","size":26339,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-06T21:33:20.434Z","etag":null,"topics":["django","flask","instagram-api","mongodb","osint"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GaillardTom.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-06T20:25:18.000Z","updated_at":"2025-02-06T20:46:11.000Z","dependencies_parsed_at":"2025-02-06T21:43:25.244Z","dependency_job_id":null,"html_url":"https://github.com/GaillardTom/InstaStalker","commit_stats":null,"previous_names":["gaillardtom/instastalker"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GaillardTom%2FInstaStalker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GaillardTom%2FInstaStalker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GaillardTom%2FInstaStalker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GaillardTom%2FInstaStalker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GaillardTom","download_url":"https://codeload.github.com/GaillardTom/InstaStalker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239495757,"owners_count":19648371,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["django","flask","instagram-api","mongodb","osint"],"created_at":"2025-02-18T15:27:04.092Z","updated_at":"2026-04-11T07:43:11.510Z","avatar_url":"https://github.com/GaillardTom.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Instagram Stalker\n\n## What is this ? \n\n\u003e I wanted to have a OSINT project, so I used burpsuite to map the request from the API and based on it I made the logic to get the following\nfor a public profile. It will get all the following and add it to a db, when you redo a scan it will tell you the new followings of the target\nthat we did not see during the previous scan.\n\n## TODO\n- A lot more can be improved especially the error handling \n- Loading state after starting scan\n- Make a cool huntall page so we can just hunt everyone instead of 1 by 1 \n\n## How To use it ? \n\n1. **Get cookies from an instagram account on burpsuite and put them in the .env file like so:** \n- burp0_cookies='{\"cookie_name\": \"cookie_value\"}'\n- burp0_headers='{\"header_name\": \"header_value\"}'\n- burp0_data='{\"data_key\": \"data_value\"}'\n\n2. **Have a mongoDB instance ready to store the result and store the connection string in the .env**\n- CONNECTION_STRING='your_mongodb_connection_string'\n\n3. **Install the required dependencies:**\n    ```sh\n    pip install -r requirements.txt\n    ```\n\n3. **Start the app and connect to it on localhost:5000**\n    ```sh\n    python main.py\n    ```\n4. **Add a target and click on it to start a scan and add all the following in the DB**\n\n5. **You can then rescan the target to see if he followed anybody since the last scan**\n\n## Interface\n![example UI](./readme_images/ExampleUI.PNG)\n![example Hunt](./readme_images/HuntExample.PNG)\n## Notes\n\n- Ensure that the MongoDB instance is running and accessible.\n- The targets must be public profiles or followed by the account whose cookies are used.\n- Handle the environment variables securely and do not expose them publicly.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgaillardtom%2Finstastalker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgaillardtom%2Finstastalker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgaillardtom%2Finstastalker/lists"}