Function Hook_health_check_security->isLikelyWebShell

Definitions

sources/hooks/systems/health_checks/security.php

  • Find if a file is a likely webshell.
  • Visibility: protected
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: string

Parameters

Name Type Default Set Range Description
$file PATH required parameter N/A N/A Relative file path
$c string required parameter N/A N/A File contents

Return

  • Trigger that found it (null: nothing)
  • Type: ?string
  • Set: N/A
  • Range: N/A