Skip to main content

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


Iqbalmh18
Founder of Termux Hackers ID
Follow on Instagram

back to top

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ihackit-0.0.2.tar.gz (29.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ihackit-0.0.2-py3-none-any.whl (29.3 kB view details)

Uploaded Python 3

File details

Details for the file ihackit-0.0.2.tar.gz.

File metadata

  • Download URL: ihackit-0.0.2.tar.gz
  • Upload date:
  • Size: 29.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.15

File hashes

Hashes for ihackit-0.0.2.tar.gz
Algorithm Hash digest
SHA256 78dcedb50dc378fd008c6fb56cec6781a1f30fbc73295da8871e576b10b99237
MD5 73df604d583ea4472101916e7bfa7971
BLAKE2b-256 8bff5ffe14b998e896d4ed0456aff00bd717a15af221c69f920bca89758eb038

See more details on using hashes here.

File details

Details for the file ihackit-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: ihackit-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 29.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.15

File hashes

Hashes for ihackit-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 da2323240f4f88129ba6167619c9eeb3602c6c5bd7b45ed8f28f8425648ece8d
MD5 aa468228d53feb1ba8c0ea645a61391e
BLAKE2b-256 3676a8df6d71663bb3ca86900e399f1c35800928ee7fce1745aa194811712388

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page