BrowJect
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- TheSec-CH-UAheader of the browser.sec_ch_ua_platform- TheSec-CH-UA-Platformheader 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_agentDesired user agent.browser_versionDesired browser version.browser_nameDesired browser name.operating_systemDesired 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.
Metadata
Release files for browject 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| browject-0.1.5.tar.gz | 7.3 kB | Without provenance | Details for browject-0.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| browject-0.1.5-py3-none-any.whl | Python 3 | none | any | Details for browject-0.1.5-py3-none-any.whl |
Total release size: 15.1 kB
Release files / browject-0.1.5.tar.gz
| Download URL | browject-0.1.5.tar.gz |
|---|---|
| Size | 7.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2ebb9b66a6cad492298b8d0ba07fd355719efc72df63cba7ef74fc2110960c99
|
|
BLAKE2b-256 checksum How to use checksums |
e916aef6e489322f0fb6b226238deebc50716b84cc680a4a872b08daefbd523b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.0
|
Release files / browject-0.1.5-py3-none-any.whl
| Download URL | browject-0.1.5-py3-none-any.whl |
|---|---|
| Size | 7.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
47f6d8ec445b9f976f0544a1b1e0684f934143189342c0928060e84ca91c95db
|
|
BLAKE2b-256 checksum How to use checksums |
f4062aa394c1333e3767b616e00794ba49c115e44df352ea0b580f51a52db900
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.0
|
Security for browject 0.1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.