matidev/sophos-http-client-php

This package is abandoned and no longer maintained. No replacement package was suggested.

Bypass Sophos Login with 2FA

1.0.0 2022-06-19 06:42 UTC

This package is auto-updated.

Last update: 2024-06-14 15:29:26 UTC


README

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