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.
- Clone repository
git clone https://github.com/Kourva/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!
- 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)
sudo python setup.py uninstall
You need root privilege to uninstall this tool! so use sudo
before command.
to see Manual:
man uagent
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!