PluginProbe
The WP Remote WordPress Plugin / 5.53
The WP Remote WordPress Plugin v5.53
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 +5 -0 5.245.53 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(),
@@ -296,8 +297,12 @@
296 297 "statusmsg" => "FAILED_AUTH",
297 298 "api_pubkey" => substr($api_public_key, 0, 8),
298 299 "def_sigmatch" => substr(hash('sha1', $this->method.$default_secret.$this->time.$this->version), 0, 8)
299 300 );
301 +
302 + if (is_string($default_account_pubkey) && strlen($default_account_pubkey) >= 32) {
303 + $resp["default_account_pubkey"] = substr($default_account_pubkey, 0, 8);
304 + }
300 305
301 306 if ($this->account) {
302 307 $resp["account_info"] = $this->account->info();
303 308 $resp["sigmatch"] = substr(hash('sha1', $this->method.$this->account->secret.$this->time.$this->version), 0, 6);