SpamExperts / cpanel-addon

WHM/cPanel add-on for providing integration with SpamExperts services

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Access hash usage leads to domains not showing in the domain list

SebaDA opened this issue · comments

Version information

cPanel: V 80.0.20

Steps to replicate

  1. Install the cPanel addon on the cPanel server
  2. set up the addon
  3. try to see the domain list

Actual result

Domain list not showing up

Expected result

The domains should populate the domain list.

Other notes

Logs show:

sed -n '1,15p' /usr/local/prospamfilter/bin/cpanel/createacct.php
<?php
die;
require_once realpath(dirname(FILE ) . '/../../') . '/application/bootstrap.php';
$apiAccessHash = file_get_contents('/root/.accesshash');
$api = Cpanel_PublicAPI::getInstance(array(
'service' => array(
'whm' => array(
'config' => array(
'user' => 'root',
'hash' => $apiAccessHash,
),

The /root/accessHash was deprecated, so we should deprecate this as well.

461793
333156

Access hashes have not been used since (#23). And the addon does not support cPanel v80 at the moment (#51).