From 3f7e48def6029211234772537b3a71fd327b0c9d Mon Sep 17 00:00:00 2001 From: Thomas Lynch Date: Sat, 17 Sep 2022 04:38:42 +1000 Subject: [PATCH] update the nojs terminal script --- src/scripts/hcaptcha.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/scripts/hcaptcha.lua b/src/scripts/hcaptcha.lua index 1d277c6..31f9a71 100644 --- a/src/scripts/hcaptcha.lua +++ b/src/scripts/hcaptcha.lua @@ -114,10 +114,10 @@ local noscript_extra_template = [[
  • Run this in a linux terminal:

    - echo "Q0g9IiQxIjtCPSJiMDBiIjtJPTA7RElGRj0kKCgxNiMke0NIOjA6MX0gKiAyKSk7d2hpbGUgdHJ1ZTsgZG8gSD0kKGVjaG8gLW4gJENIJEkgfCBzaGExc3VtKTtFPSR7SDokRElGRjo0fTtbWyAkRSA9PSAkQiBdXSAmJiBlY2hvICRJICYmIGV4aXQgMDsoKEkrKykpO2RvbmU7Cg==" | base64 -d | bash -s %s + echo "Q0g9IiQyIjtCPSIwMDQxIjtJPTA7RElGRj0kKCgxNiMke0NIOjA6MX0gKiAyKSk7d2hpbGUgdHJ1ZTsgZG8gSD0kKGVjaG8gLW4gJENIJEkgfCBzaGEyNTZzdW0pO0U9JHtIOiRESUZGOjR9O1tbICRFID09ICRCIF1dICYmIGVjaG8gJDEjJDIjJDMjJEkgJiYgZXhpdCAwOygoSSsrKSk7ZG9uZTs=" | base64 -d | bash -s %s %s %s -
  • Set a cookie named z_ddos_pow with the value as the number the script outputs, and path /. -
  • Remove /bot-check? from the url, and load the page again. +
  • Set a cookie named z_ddos_pow with the value as the script output, and path /. +
  • Remove /bot-check? from the url, and reload the page. ]] @@ -190,7 +190,7 @@ function _M.view(applet) captcha_body = string.format(captcha_section_template, captcha_classname, captcha_sitekey, captcha_script_src) else pow_body = pow_section_template - noscript_extra_body = string.format(noscript_extra_template, combined_challenge) + noscript_extra_body = string.format(noscript_extra_template, user_key, challenge_hash, signature) end -- sub in the body sections