PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Dir : /home/trave494/mytube.pm/wp-content/plugins/wp-simple-firewall/src/lib/src/Tables/Build/ |
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 IP: 209.182.202.254 |
Dir : /home/trave494/mytube.pm/wp-content/plugins/wp-simple-firewall/src/lib/src/Tables/Build/ScanApc.php |
<?php namespace FernleafSystems\Wordpress\Plugin\Shield\Tables\Build; use FernleafSystems\Wordpress\Plugin\Shield; use FernleafSystems\Wordpress\Plugin\Shield\Modules\HackGuard\Scan; use FernleafSystems\Wordpress\Services\Services; /** * Class ScanApc * @package FernleafSystems\Wordpress\Plugin\Shield\Tables\Build */ class ScanApc extends ScanBase { /** * @return array[] */ public function getEntriesFormatted() :array { $aEntries = []; /** @var Shield\Modules\HackGuard\ModCon $mod */ $mod = $this->getMod(); $oCarbon = Services::Request()->carbon(); $oConverter = new Scan\Results\ConvertBetweenTypes(); $oWpPlugins = Services::WpPlugins(); foreach ( $this->getEntriesRaw() as $nKey => $entry ) { /** @var Shield\Databases\Scanner\EntryVO $entry */ /** @var Shield\Scans\Apc\ResultItem $item */ $item = $oConverter ->setScanController( $mod->getScanCon( $entry->scan ) ) ->convertVoToResultItem( $entry ); $oPlugin = $oWpPlugins->getPluginAsVo( $item->slug ); $aE = $entry->getRawData(); $aE[ 'plugin' ] = sprintf( '%s (%s)', $oPlugin->Name, $oPlugin->Version ); $aE[ 'status' ] = sprintf( '%s: %s', __( 'Abandoned', 'wp-simple-firewall' ), $oCarbon->setTimestamp( $item->last_updated_at ) ->diffForHumans() ); $aE[ 'ignored' ] = $this->formatIsIgnored( $entry ); $aE[ 'created_at' ] = $this->formatTimestampField( $entry->created_at ); $aEntries[ $nKey ] = $aE; } return $aEntries; } /** * @return Shield\Tables\Render\WpListTable\ScanApc */ protected function getTableRenderer() { return new Shield\Tables\Render\WpListTable\ScanApc(); } }