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/ScanPtg.php |
<?php namespace FernleafSystems\Wordpress\Plugin\Shield\Tables\Build; use FernleafSystems\Wordpress\Plugin\Shield; use FernleafSystems\Wordpress\Plugin\Shield\Modules\HackGuard\ModCon; use FernleafSystems\Wordpress\Plugin\Shield\Modules\HackGuard\Scan; /** * Class ScanPtg * @package FernleafSystems\Wordpress\Plugin\Shield\Tables\Build */ class ScanPtg extends ScanBase { /** * Since we can't select items by slug directly from the scan results DB * we have to post-filter the results. * @param Shield\Databases\Scanner\EntryVO[] $aEntries * @return Shield\Databases\Scanner\EntryVO[] */ protected function postSelectEntriesFilter( $aEntries ) { $params = $this->getParams(); /** @var ModCon $mod */ $mod = $this->getMod(); if ( !empty( $params[ 'fSlug' ] ) ) { /** @var Shield\Scans\Ptg\ResultsSet $oSlugResults */ $oSlugResults = ( new Scan\Results\ConvertBetweenTypes() ) ->setScanController( $mod->getScanCon( $params[ 'fSlug' ] ) ) ->fromVOsToResultsSet( $aEntries ); $oSlugResults = $oSlugResults->getResultsSetForSlug( $params[ 'fSlug' ] ); foreach ( $aEntries as $key => $oVo ) { if ( !$oSlugResults->getItemExists( $oVo->hash ) ) { unset( $aEntries[ $key ] ); } } } return array_values( $aEntries ); } protected function getTableRenderer() :Shield\Tables\Render\WpListTable\ScanPtg { return new Shield\Tables\Render\WpListTable\ScanPtg(); } }