cfoo
commited on
Update pushcookie/openchall.sh
Browse files- 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=
|
| 11 |
|
| 12 |
}
|
| 13 |
|
| 14 |
-
#
|
| 15 |
-
|
| 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"
|