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 PyPI version License GitHub Repo

BrowJect is a Python module to access and emulate various browser attributes, making it an ideal tool for reverse engineering antibots. The module is powered by TakionAPI, ensuring that the browser data is always up-to-date with any browser version/model/OS.

Thanks to TakionAPI, the best antibot bypass API provider, the BrowJect database is continually updated. Consider joining their Discord for a free trial.

Table of Contents

Supported Browsers and Operating Systems!

  • Operating Systems: Windows, MacOS
  • Browsers:
    • Chrome (Versions 15 to 119)
    • Firefox (Versions 10 to 119)
    • Safari (Versions 5.1 to 17)
    • Edge (Versions 15 to 18 and 79 to 118)
    • Internet Explorer (Versions 7 to 11)
    • Brave (Versions 1.32 to 1.59)
    • Opera (Versions 20 to 103)

Browsers versions are automatically updated on new releases thanks to TakionAPI.

Features

  • Dynamic Browser Loading: Load any browser based on user agent, version, name 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.

Attributes

  • operatingSystem - The operating system of the browser.
  • browserName - The name of the browser.
  • browserVersion - The version of the browser.
  • browserVersionFull - The full version of the browser.
  • userAgent - The user agent of the browser.
  • timezone - The timezone of the browser.
  • navigator - The navigator of the browser.
  • screen - The screen of the browser.
  • window - The window of the browser.
  • document - The document of the browser.
  • sec_ch_ua - The Sec-CH-UA header of the browser.
  • sec_ch_ua_platform - The Sec-CH-UA-Platform header of the browser.

Examples

Load a random browser

from browject import BrowJect

browser = BrowJect() # No parameters = random browser
print(browser.browserName)

Load a specific browser

from browject import BrowJect, Chrome, Mac

browser = BrowJect(browser_name=Chrome, operating_system=Mac)
print(browser.browserName)

Parameters for loading a browser!

When initializing the BrowJect class, you can provide:

  • user_agent Desired user agent.
  • browser_version Desired browser version.
  • browser_name Desired browser name.
  • operating_system Desired operating system.

If invalid or no parameters are provided, a random browser will be returned.

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.4.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

browject-0.1.4-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: browject-0.1.4.tar.gz
  • Upload date:
  • Size: 4.2 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.4.tar.gz
Algorithm Hash digest
SHA256 e1c8d494c5a15c76e49d995419420b7f237dc9dd36b343b2689ecb898f9181be
MD5 aad1045b6c74054c639713583e02001e
BLAKE2b-256 c8b2d955043f0e35a6fbd62933bbfbd896c11419f45650c4442f8a8bd3347bbe

See more details on using hashes here.

File details

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

File metadata

  • Download URL: browject-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 4.0 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e6a33d8fc3fd39354ae8da34f33e0c68880f0dcbed1f00307934539427199454
MD5 494405abc629b6cff1ddebfc64e5faff
BLAKE2b-256 ce96956f5b2394be6e7c09d4c6ef6ad1c94f5760c9672dcc9470293e5f3c5f1c

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