• Hello Guest! Welcome to ConsoleCrunch, to help support our site check out the premium upgrades HERE! to get exclusive access to our hidden content.
  • Unable to load portions of the website...
    If you use an ad blocker addon, you should disable it because it interferes with several elements of the site and blocks more than just adverts.
  • Read Rules Before Posting Post Virus Scans with every program.

[Source] PyAgent User Agent Generator

Assaultz

Member
[HIDE]PyAgent
--------------------------------------------------
A Python random user agent generator.



INFORMATION
This handy little script can be used in your source codes to generate a random user agents.
The resulted user agents will vary between Chrome, Internet Explorer, and Firefox, appearing to be on a Linux, Mac, or Windows computer.
The platform and just about everything down the browsers version is all random, while still being a legitimate user agent.



USAGE
Running this script itself will not do anything, this is simply a function meant to be included in your source code.
The function can be called with "getUserAgent()", which will return the randomly generated agent to a string.




SOURCE CODE
http://pastebin.com/Z7c5kZz9
[/HIDE]

Enjoy :)
 
General chit-chat
Help Users
      Chat Bot: Cerberus__11 is our newest member. Welcome!
      Back
      Top