https://github.com/kourva/uagent
Uagent allows you to retrieve a random user-agent string each time it is executed. It can be used for various web scraping and testing purposes.
https://github.com/kourva/uagent
python3 sqlmap user-agent useragent useragents webscraping
Last synced: about 2 months ago
JSON representation
Uagent allows you to retrieve a random user-agent string each time it is executed. It can be used for various web scraping and testing purposes.
- Host: GitHub
- URL: https://github.com/kourva/uagent
- Owner: Kourva
- License: mit
- Created: 2023-09-05T16:59:11.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-28T15:39:07.000Z (9 months ago)
- Last Synced: 2025-03-26T04:51:10.476Z (2 months ago)
- Topics: python3, sqlmap, user-agent, useragent, useragents, webscraping
- Language: Python
- Homepage:
- Size: 174 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![]()
uagent
Uagent allows you to retrieve a random user-agent string each time it is executed. It can be used for various web scraping and testing purposes.
![]()
![]()
![]()
![]()
![]()
![]()
# Setup
+ **Clone repository**
```bash
git clone https://github.com/Kourva/uagent
```
+ **Navigate to source directory**
```bash
cd uagent
```
+ **Make scripts executable**
```bash
chmod +x *.py
```
+ **Install the tool**
```bash
sudo python setup.py install
```
You need **root privilege** to install this tool! so use `sudo` before command.
This tool is only compatible with **Linux**!
# Usage
+ For simple usage just type:
```bash
uagent
```
> Example result: `Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:37.0) Gecko/20100101 Firefox/37.0`
+ If you want to use this tool alongside other tools like **sqlmap**:
```bash
sqlmap -u 'https://example.com?id=1' --user-agent=$(uagent)
```
# Uninstall
```bash
sudo python setup.py uninstall
```
You need **root privilege** to uninstall this tool! so use `sudo` before command.
# Manual
to see **Manual**:
```bash
man uagent
```
# Thank You
Thank you for checking out this repository! Your interest and support are greatly appreciated. If you find this project useful or have any feedback, please feel free to open issues or contribute.
> Happy coding!