kozyol / 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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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
git clone https://github.com/kozyol/uagent
  • Navigate to source directory
cd uagent
  • Make scripts executable
chmod +x *.py
  • Install the tool
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:
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:
sqlmap -u 'https://example.com?id=1' --user-agent=$(uagent)

Uninstall

sudo python setup.py uninstall

You need root privilege to uninstall this tool! so use sudo before command.


Manual

to see Manual:

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!

About

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.

License:MIT License


Languages

Language:Python 100.0%