Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

matidev/mati-sophos-http-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sophos HTTP Client

Installation/Usage

  • Install with Composer $ composer require matidev/sophos-http-client-php
  • Get 2FA code from Secret key: Mati\TwoFactor::getCode( $tfaSecret )
  • Bypass Sophos: Mati\SophosHttpClient::bypass( $sophosUrl, $username, $password )

Testing

  • php vendor/phpunit/phpunit/phpunit tests/TwoFactorTest.php
  • php vendor/phpunit/phpunit/phpunit tests/SophosHttpClientTest.php