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
Requires
- php: >=7.1
- fabpot/goutte: ^4.0
- robthree/twofactorauth: ^1.8
Requires (Dev)
- phpunit/phpunit: ^9.5
- roave/security-advisories: dev-latest
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