An open API service indexing awesome lists of open source software.

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.

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!