matidev/sophos-http-client-php

Bypass Sophos Login with 2FA

1.0.0 2022-06-19 06:42 UTC

This package is auto-updated.

Last update: 2024-04-14 07:05:37 UTC


README

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