Advertisement
dereksir

Untitled

Apr 9th, 2024 (edited)
530
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Go 0.58 KB | None | 0 0
  1. package main
  2.  
  3. // import the necessary dependencies
  4. import (
  5.     "fmt"
  6.     "io"
  7.     "net/http"
  8.     "math/rand"
  9. )
  10.  
  11. func main() {
  12.     // list of User-Agent strings
  13.     var userAgents = []string{
  14.     "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36",
  15.     "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36",
  16.     "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36",
  17.     // add more UA strings as needed
  18.     }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement