Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Written January 21, 2020
- # Thomas Deans - thomas [dot] deans [at] gmail [dot] com
- # Requires Google Chrome & Chrome UserAgent Switcher Extension
- # Setup Custom UserAgents under UserAgent Switcher options.
- # The latest Mobile iPhone is 6, so I add iPhone X under Custom
- # UserAgents.
- # Microsoft Edge will suffice for both the Edge Search and the
- # PC search concurrently, I've written the code to work in this manner.
- # After installing UserAgent Switcher, Right-Click UserAgent Switcher icon
- # in Chrome and click Options. On the Options page, click Custom User Agents on the left.
- # Add as follows
- #
- # UserAgent Strings
- # New User-Agent Name | New User-Agent String | Group | Append? | Indicator Flag
- # Microsoft Edge | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36 Edg/44.18362.449.0 | Bing Rewards | Replace | Edg
- # iPhone X | Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1 | Bing Rewards | Replace | iPX
- #
- # To use UserAgent Switcher, left click the icon in chrome and navigate the menu to select the UserAgent you want chrome to appear as.
- # You can subsequently check this by visiting http://www.whatismybrowser.com
- #
- # Using PC Edge UserAgent earns Edge and PC Bing Search concurrently
- # ----------------------------------------
- # | Points Earned | Num. Req.(5 pts/srch) |
- # ----------------------------------------
- # | Edge: 020 | 04 |
- # | PC: 130 | 26 |
- # | PC: Rnd(1-10) | 1-10 |
- # ----------------------------------------
- # | Total | Random: 31 to 40 |
- # ----------------------------------------
- # Using iPhone UserAgent earns Mobile Bing Search points
- # ----------------------------------------
- # | Mobile: 100/200 | 100-200 |
- # | Mobile: Rnd(1-10) | 1-10 |
- # ----------------------------------------
- # | Total | Random: 101 to 210 |
- # ----------------------------------------
- # ** The random number helps cloak program
- # based searching from day to day
- cls
- $Autoclose = $true # Autocloses groups of tabs after loading
- $Payload = $true # Open Chrome Tab with each search on/off (for testing new features)
- $Double_Points = $fa # if your Mobile search gives you 200 points set this to true otherwise set to $false
- $Animal = ('armadillo','beaver','cow','donkey','elephant','ferret','giraffe','hippopotamus','iguana','jaguar','koala','lemur','monkey','nightingale','otter','platypus','quail','rabbit','skunk','toucan','Uakari','vulture','walrus','Yak','donkey','elephant','ferret','giraffe','hippopotamus','iguana','jaguar','koala','lemur','monkey','nightingale','otter','platypus','quail','rabbit','skunk','toucan','Uakari','vulture','walrus','Yak','Zebra')
- $Food = ('apple','banana','carrot','donut','egg','fajita','gumbo','hummus','ice','jello','kiwi','lasagna','meatballs','noodles','onion','peas','quesadilla','raspberry','salmon','turkey','ubatzda','veal','walnut','yogurt','ziti')
- $Verb = ('ate','bought','craved','devoured','earned','feared','got','handed','inspected','juggled','kept','licked','moved','nudged','ordered','pierced','raised','slurp','touched','washed','yanked')
- $Joiner = ('in','grown+in','from','from+a+friend+in','from+a+friend+from','near','from+someone+in','from+someone+from','from+near','from+a+friend+near','from+someone+near','by')
- $Place = ('Argentina','Bolivia','Canada','Denmark','Ethiopia','France','Greece','Holland','India','Jordan','Kyrgyzstan','London','Mexico','Norway','Ontario','Persia','Quebec','Russia','Somalia','Turkey','Ukraine','Vietnam','Wales','Xalapa','Yemen','Zimbabwe')
- $Chrome = "$(${env:ProgramFiles(x86)})\Google\Chrome\Application\chrome.exe"
- if ($Payload -eq $true) {
- start-process -FilePath 'C:\Program Files (x86)\Google\Chrome\Application\chrome.exe' -ArgumentList 'https://account.microsoft.com/rewards/pointsbreakdown'
- }
- Write-Host "Change UserAgent to Microsoft Edge. `nCheck that You're logged into bing.com `nwith your XBOX account." -F Cyan -B Black
- pause
- cls
- $c=1
- $Iterations = 30+(Get-Random -SetSeed (Get-Date).Millisecond -InputObject (1..10))
- $Type = "Edge"
- if ($c -ne 3) {
- foreach ($o in (1..2)) {
- if ($o -eq 2) { $Type="iPhone X" }
- if ($Iterations -eq 0) { if ($Double_Points -eq $true) { $Iterations = 40+(Get-Random -SetSeed (Get-Date).Millisecond -InputObject (1..10)); cls } else { $Iterations = 20+(Get-Random -SetSeed (Get-Date).Millisecond -InputObject (1..10)); cls } }
- "Remaining tabs($Type): $Iterations. Set: $o`n"
- do {
- if ($Iterations -ge 10) {
- # Starter Tab to load
- if ($Autoclose -eq $true) {
- start-process -FilePath $Chrome -ArgumentList 'https://www.google.com'
- Start-Sleep -Seconds 5
- Write-Host "Loading first tab: " -B Black -F Cyan
- foreach ($n in ((1..20)|sort -Descending)) { Write-Host "$("{0:D2}" -F $n)..$(if($n -eq 1 -or $n -eq 11) {"`n"})" -B Black -F Cyan -NoNewline; Start-Sleep -Seconds 1 }
- }
- foreach ($s in (1..10)) {
- $Reason = ('Check+Spelling+of','Check+grammer+of','How+common+are+the+words+in',"How+many+$(Get-Random -SetSeed (Get-Date).Millisecond -InputObject $(foreach ($chr in (65..90)) { [CHAR]($chr) }))'s+are+in",'Character+count+of','Word+count+of','Numerical+value+of','Word+study+of','Character+analysis+of')
- $RS_Pt3 = Get-Random -SetSeed (Get-Date).Millisecond -InputObject $Animal
- switch ($RS_Pt3) {
- 'armadillo' { $Start = ('A','An','The','My','Your','His','Her','Their') }
- 'otter' { $Start = ('A','An','The','My','Your','His','Her','Their') }
- default { $Start = ('A','The','My','Your','His','Her','Their') }
- }
- $RS_Pt1 = Get-Random -SetSeed (Get-Date).Millisecond -InputObject $Reason
- $RS_Pt2 = Get-Random -SetSeed (Get-Date).Millisecond -InputObject $Start
- # Set Above $RS_Pt3 - Animal
- $RS_Pt4 = Get-Random -SetSeed (Get-Date).Millisecond -InputObject $Verb
- $RS_Pt5 = Get-Random -SetSeed (Get-Date).Millisecond -InputObject $Food
- $RS_Pt6 = Get-Random -SetSeed (Get-Date).Millisecond -InputObject $Joiner
- $RS_Pt7 = Get-Random -SetSeed (Get-Date).Millisecond -InputObject $Place
- $Search = "$($RS_Pt1)+$($RS_Pt2)+$($RS_Pt3)+$($RS_Pt4)+$($RS_Pt5)+$($RS_Pt6)+$($RS_Pt7)"
- "$("{0:D2}" -F $Iterations) - $Search"
- $RandomWait = (Get-Random -InputObject (3..7))
- foreach ($n in ((1..$($RandomWait))|sort -Descending)) { Write-Host "$("{0:D2}" -F $n)..$(if($n -eq 1){"`n"})" -B Black -F Cyan -NoNewline; Start-Sleep -Seconds 1 }
- if ($Payload -eq $true) {
- Start-Process $Chrome -ArgumentList "https://www.bing.com/search?q=$($Search)"
- }
- $Iterations--
- }
- if ($Autoclose -eq $true) {
- Write-Host "Autoclosing Chrome tab groups" -F Cyan -B Black
- } else {
- Write-Host "Close tabs after loaded" -F Cyan -B Black
- }
- # Kill Chrome after group of tabs loaded
- if ($Payload -eq $true) {
- foreach ($n in ((1..10)|sort -Descending)) { Write-Host "$("{0:D2}" -F $n)..$(if($n -eq 1){"`n"})" -B Black -F Cyan -NoNewline; Start-Sleep -Seconds 1 }
- Get-Process -Name Chrome | Stop-Process -Force -Confirm:$false
- }
- if ($Payload -eq $false) { pause }
- cls
- } else {
- # Starter Tab to load
- if ($Autoclose -eq $true) {
- start-process -FilePath $Chrome -ArgumentList 'https://www.google.com'
- Write-Host "Loading first tab: " -B Black -F Cyan
- foreach ($n in ((1..20)|sort -Descending)) { Write-Host "$("{0:D2}" -F $n)..$(if($n -eq 1 -or $n -eq 11){"`n"})" -B Black -F Cyan -NoNewline; Start-Sleep -Seconds 1 }
- }
- foreach ($s in (1..$($Iterations))) {
- $Reason = ('Check+Spelling+of','Check+grammer+of','How+common+are+the+words+in',"How+many+$(Get-Random -SetSeed (Get-Date).Millisecond -InputObject $(foreach ($chr in (65..90)) { [CHAR]($chr) }))'s+are+in",'Character+count+of+"','Word+count+of+"','Numerical+value+of','Word+study+of','Character+analysis+of')
- $RS_Pt3 = Get-Random -SetSeed (Get-Date).Millisecond -InputObject $Animal
- switch ($RS_Pt3) {
- 'armadillo' { $Start = ('A','An','The','My','Your','His','Her','Their') }
- 'otter' { $Start = ('A','An','The','My','Your','His','Her','Their') }
- default { $Start = ('A','The','My','Your','His','Her','Their') }
- }
- $RS_Pt1 = Get-Random -SetSeed (Get-Date).Millisecond -InputObject $Reason
- $RS_Pt2 = Get-Random -SetSeed (Get-Date).Millisecond -InputObject $Start
- # Set Above $RS_Pt3 - Animal
- $RS_Pt4 = Get-Random -SetSeed (Get-Date).Millisecond -InputObject $Verb
- $RS_Pt5 = Get-Random -SetSeed (Get-Date).Millisecond -InputObject $Food
- $RS_Pt6 = Get-Random -SetSeed (Get-Date).Millisecond -InputObject $Joiner
- $RS_Pt7 = Get-Random -SetSeed (Get-Date).Millisecond -InputObject $Place
- $Search = "$($RS_Pt1)+$($RS_Pt2)+$($RS_Pt3)+$($RS_Pt4)+$($RS_Pt5)+$($RS_Pt6)+$($RS_Pt7)"
- "$("{0:D2}" -F $Iterations) - $Search"
- $RandomWait = (Get-Random -SetSeed (Get-Date).Millisecond -InputObject (3..7))
- foreach ($n in ((1..$($RandomWait))|sort -Descending)) { Write-Host "$("{0:D2}" -F $n)..$(if($n -eq 1){"`n"})" -B Black -F Cyan -NoNewline; Start-Sleep -Seconds 1 }
- if ($Payload -eq $true) {
- Start-Process $Chrome -ArgumentList "https://www.bing.com/search?q=$($Search)"
- }
- $Iterations--
- if ($iterations -le 0) { $Iterations=0 }
- }
- # Kill Chrome after group of tabs loaded
- if ($Payload -eq $true) {
- if ($c -eq 1) {
- Write-Host "Change UserAgent to iPhone" -F Cyan -B Black
- }
- pause
- if ($Payload -eq $true) {
- Write-Host "Autoclosing Chrome tab groups" -F Cyan -B Black
- }
- foreach ($n in ((1..10)|sort -Descending)) { Write-Host "$("{0:D2}" -F $n)..$(if($n -eq 1){"`n"})" -B Black -F Cyan -NoNewline; Start-Sleep -Seconds 1 }
- Get-Process -Name Chrome | Stop-Process -Force -Confirm:$false
- }
- }
- } until ($Iterations -eq 0)
- switch ($c) {
- 1 { $c++ }
- 2 { $c++ }
- }
- }
- if ($Payload -eq $false) { pause }
- cls
- Write-Host "Rewards Earnings Complete. Change UserAgent back to Default. Check your rewards page" -F Cyan -B Black; pause
- }
- # Reopen rewards page
- if ($Payload -eq $true) {
- start-process -FilePath 'C:\Program Files (x86)\Google\Chrome\Application\chrome.exe' -ArgumentList 'https://account.microsoft.com/rewards/pointsbreakdown' -WindowStyle Maximized
- }
- <#
- $Wait = 20
- for ($i = $wait;$i -le $Wait; $i--) {
- Write-Progress -Activity “Opening startup tab...” -status “$i seconds remaining” -percentComplete ($i / $wait*100)
- Start-Sleep -Seconds 1
- if ($i -eq 0) {break}
- }
- #>
Add Comment
Please, Sign In to add comment