Dears,
I'm trying to find the sitekey parameter configuration of a repacha Android API apk.
I'm using Android Emulator a have installed the Apk from Play Store. Running apk, in some moments it shows recaptcha form. I need the sitekey parameter of this form... how can I find that? Like view source of a webpage.
Bellow the screen in the moment:
recaptcha
Bellow the screen in Appium, but I dont find any information in source:
enter image description here
Bellow the code to implement google API recaptcha ind Android, allegedly used by the developers of the apk:
fun onClick(view: View) {
SafetyNet.getClient(this).verifyWithRecaptcha(YOUR_API_SITE_KEY)
.addOnSuccessListener(this as Executor, OnSuccessListener { response ->
// Indicates communication with reCAPTCHA service was
// successful.
val userResponseToken = response.tokenResult
if (response.tokenResult?.isNotEmpty() == true) {
// Validate the user response token using the
// reCAPTCHA siteverify API.
}
})
.addOnFailureListener(this as Executor, OnFailureListener { e ->
if (e is ApiException) {
// An error occurred when communicating with the
// reCAPTCHA service. Refer to the status code to
// handle the error appropriately.
Log.d(TAG, "Error: ${CommonStatusCodes.getStatusCodeString(e.statusCode)}")
} else {
// A different, unknown type of error occurred.
Log.d(TAG, "Error: ${e.message}")
}
})
}
Is there any software to find what is YOUR_API_SITE_KEY parameter used when Apk is running? I'm not the apk developer.
With this, I'll try to by-pass captcha using Appium an one of services bellow:
2Captcha
Kolotibablo
protypers
megatypers
qlinkgroup
captchatypers
question from:
https://stackoverflow.com/questions/65952497/android-how-to-see-debug-recaptcha-sitekey-of-an-apk 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…