Skip to main content

A Python library to seamlessly access and emulate browser attributes. Ideal for reverse engineering antibots. Powered by TakionAPI for up-to-date browser data.

Project description

BrowJect

BrowJect Logo

BrowJect is a cutting-edge Python library designed to provide direct access to browser attributes, bridging the gap between browser interactions and Python. This tool is invaluable for reverse engineering antibots, allowing you to monitor and use browser attributes directly in Python. With BrowJect, you can emulate browser behaviors with precision and ease.

Table of Contents

Features

  • Dynamic Browser Loading: Load any Chrome browser based on user agent, version, or operating system. This allows for unmatched flexibility and precision in your interactions.

  • Up-to-date Browser Database: Thanks to TakionAPI, BrowJect's database is always updated with any Chrome version, model, or OS. TakionAPI is the premier provider of antibot bypass APIs.

  • Easy to Use: BrowJect provides a simple interface to fetch and work with browser attributes.

  • Ideal for Reverse Engineering: Aid your reverse engineering efforts against antibots by directly accessing browser attributes in Python.

Installation

Install BrowJect using pip:

pip install browject

Usage

After installing, you can easily create a browser object based on user agent, version, or operating system, and then access its attributes:

from browject import BrowJect

browser = BrowJect(chrome_version='112', operating_system='macOS')
print(browser.navigator.userAgent)

browser2 = BrowJect(user_agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36")
print(browser2.navigator.userAgent)

Use Case: Reverse Engineering Antibots

When working on antibots, it's crucial to understand and replicate the exact behaviors and attributes of a browser. With BrowJect, this task becomes seamless. For instance, if an antibot checks for specific plugins or screen dimensions, you can access and use these attributes directly in Python:

# Accessing browser plugins 
plugins = browser.navigator.plugins

# Checking screen dimensions 
screen_width = browser.screen.width
screen_height = browser.screen.height

This direct access significantly eases the process of replicating browser behaviors and aids in bypassing antibots.

Special Thanks

A special shoutout to TakionAPI - the best antibot bypass APIs provider. If you haven't tried them yet, you're missing out. Join their Discord for a free trial!

Additionally, a massive thank you to the developer behind BrowJect, glizzykingdreko. You can find him on Medium, GitHub, and Twitter. For any inquiries, reach out via email: glizzykingdreko@protonmail.com.

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

browject-0.1.0.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

browject-0.1.0-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file browject-0.1.0.tar.gz.

File metadata

  • Download URL: browject-0.1.0.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.0

File hashes

Hashes for browject-0.1.0.tar.gz
Algorithm Hash digest
SHA256 22da683f7f66c8f0ca2d6df50447d8d42604e8cd76bf04d806830bb96c02ed94
MD5 dbef103e2dee294c6a879a69841fc9cb
BLAKE2b-256 1383cc642741850b0da5dacc757d5efdd65e705e8a65e1ea188b360029ab0552

See more details on using hashes here.

File details

Details for the file browject-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: browject-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.0

File hashes

Hashes for browject-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 06a03924207e81657f4c3d8bb7c94e7d2ab53978c8d2c9b3c3828d80146f97c6
MD5 063888094a6909776300afa8f0653aaa
BLAKE2b-256 800c2ffc5b855b50181fd008d3395f228e27d76a1bff2ccbdc4932cad48d016e

See more details on using hashes here.

Supported by

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