Instagram Automation, Device Customization & User-Agent Generator Library
Project description
ihackit
Instagram Private Api, Device Customization, User-Agent Generator & Identifier Generator Library
ihackit is a powerful and flexible python library for automating instagram accounts with private api from apk pinning, generate device configuration and customizing user-agent strings to avoid suspicious login, built to provide full control over account management, media posts scraping, and etc.
i made this library for instagram hacking tools :) https://github.com/termuxhackers-id/instahack
Requirements
| Library | Installation |
|---|---|
| Requests | pip install requests |
| Pycryptodomex | pip install pycryptodomex |
Table of Contents
Installation
install with pip
pip install ihackit
install with clone repository
git clone https://github.com/iqbalmh18/ihackit
cd ihackit
pip install .
Quick Start
example usage of ihackit
from ihackit import Instagram
# set new instagram session
ig = Instagram(cookie='YOUR INSTAGRAM COOKIE')
# get account info
print(ig.account())
# get username info
print(ig.username_info('username')
# get location info from username
print(ig.location_info('username')
# get followers from target username
foll = ig.followers('username')
for user in foll:
print(user)
# get following from username
foll = ig.following('username')
for user in foll:
print(user)
# get mediapost from username
media = ig.mediapost('username')
for post in media:
print(post)
# get media info from media id or url
url = 'https://www.instagram.com/p/XXXX'
print(ig.media_info(url))
Customize
Check Available Device
from ihackit import DEVICE, DEVICE_LIST
print(DEVICE)
print(DEVICE_LIST)
Check Available Country
from ihackit import COUNTRY, COUNTRY_LIST
print(COUNTRY)
print(COUNTRY_LIST)
Device Customization
from ihackit import Device
device = Device(device_brand='Samsung', device_model='SM-A125F', device_country='ID')
info = device.info()
print(info)
User Agent Customization
from ihackit import Device, UserAgent
device = Device(device_brand='Samsung', device_model='SM-A125F', device_country='ID')
useragent = UserAgent(device)
print(useragent.dalvik())
print(useragent.threads())
print(useragent.facebook())
print(useragent.instagram())
Hackers
example usage of ihackit for hackers
from ihackit import (
Device,
UserAgent,
Generator,
Instagram
)
cookies = 'YOUR INSTAGRAM COOKIE'
proxies = {'http': 'protocol:ip:port', 'https': 'protocol:ip:port'}
devices = Device('Samsung').info()
useragent = UserAgent(devices)
generator = Generator()
device_id = generator.device_id()
ig = Instagram(cookie=cookies, device=devices, device_id=device_id, proxies=proxies)
info = ig.account()
if info:
print(info)
print(ig.session.headers)
else:
print('cookie is not valid or have been expired')
example usage to generate identifier for hackers
from ihackit import Identifier
identify = Identifier(firstname='john', last_name='doe', domain=['gmail.com','yahoo.com'], result=10)
emails = identify.email()
for email in emails:
print(email)
usernames = identify.username()
for username in usernames:
print(username)
fullname = identify.fullname()
print(fullname)
wordlist = identify.wordlist()
print(wordlist)
Authors
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ihackit-0.0.1.tar.gz.
File metadata
- Download URL: ihackit-0.0.1.tar.gz
- Upload date:
- Size: 24.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b7563cb6a0cdb4b4ed830cd15632841a51ab1e7da1b6025670f9478c27441abc
|
|
| MD5 |
e54946c4b3d9dc90fffd31cbb6eade4d
|
|
| BLAKE2b-256 |
438297cd0d2588b1daee631db1866cb4660ab454038bd2749b0295dc14376aeb
|
File details
Details for the file ihackit-0.0.1-py3-none-any.whl.
File metadata
- Download URL: ihackit-0.0.1-py3-none-any.whl
- Upload date:
- Size: 24.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e9948104b2ee0f52abdb7d9c222b161ab3a0faf60e54aebab50bcbeeb871f6d
|
|
| MD5 |
962c6bf05564e7cec795c71e5d66106c
|
|
| BLAKE2b-256 |
0757e8941168ad6013eb27ad44830da2cb748281cd00b9cdb2f49fba96af715a
|