PluginProbe
The WP Remote WordPress Plugin / 5.65
The WP Remote WordPress Plugin v5.65
6.72 6.69 6.65 6.62 6.48 6.47 4.87 4.97 5.05 5.09 5.16 5.22 5.24 5.25 5.38 5.41 5.42 5.45 5.47 5.53 5.56 5.65 5.68 5.72 5.73 All 53 releases
← All changes | callback/request.php +6 -0 5.255.65 View file →
@@ -288,8 +288,9 @@
288 288
289 289 public function authFailedResp() {
290 290 $api_public_key = WPRAccount::getApiPublicKey($this->settings);
291 291 $default_secret = WPRRecover::getDefaultSecret($this->settings);
292 + $default_account_pubkey = WPRAccount::getDefaultPublicKey();
292 293 $bvinfo = new WPRInfo($this->settings);
293 294 $resp = array(
294 295 "request_info" => $this->info(),
295 296 "bvinfo" => $bvinfo->info(),
@@ -294,10 +295,15 @@
294 295 "request_info" => $this->info(),
295 296 "bvinfo" => $bvinfo->info(),
296 297 "statusmsg" => "FAILED_AUTH",
297 298 "api_pubkey" => substr($api_public_key, 0, 8),
299 + "def_key_status" => WPRRecover::getSecretStatus($this->settings),
298 300 "def_sigmatch" => substr(hash('sha1', $this->method.$default_secret.$this->time.$this->version), 0, 8)
299 301 );
302 +
303 + if (is_string($default_account_pubkey) && strlen($default_account_pubkey) >= 32) {
304 + $resp["default_account_pubkey"] = substr($default_account_pubkey, 0, 8);
305 + }
300 306
301 307 if ($this->account) {
302 308 $resp["account_info"] = $this->account->info();
303 309 $resp["sigmatch"] = substr(hash('sha1', $this->method.$this->account->secret.$this->time.$this->version), 0, 6);