cfoo commited on
Commit
ec71901
·
verified ·
1 Parent(s): f248ad4

Update pushcookie/openchall.sh

Browse files
Files changed (1) hide show
  1. pushcookie/openchall.sh +5 -4
pushcookie/openchall.sh CHANGED
@@ -7,11 +7,12 @@ load_page() {
7
  # The first argument is the web page url
8
  url=$1
9
  # Open the url in a new tab of chromium browser
10
- chromium --new-tab $url --window-position=0,0 --window-size=600,600
11
 
12
  }
13
 
14
- # Load the first web page
15
- load_page "https://www.bing.com/turing/captcha/challenge"
16
-
17
 
 
 
 
7
  # The first argument is the web page url
8
  url=$1
9
  # Open the url in a new tab of chromium browser
10
+ chromium --new-tab $url --window-position=0,0 --window-size=700,500
11
 
12
  }
13
 
14
+ # Generate a random UUID using /proc/sys/kernel/random/uuid
15
+ UUID=$(cat /proc/sys/kernel/random/uuid)
 
16
 
17
+ # Load the first web page with the random UUID
18
+ load_page "https://www.bing.com/turing/captcha/challenge?q=&iframeid=local-gen-$UUID"