forked from cyrozap/python-vipaccess
-
Notifications
You must be signed in to change notification settings - Fork 100
Open
Labels
Description
The VIP Access desktop app provisions using an activation code, fetched from here:
https://vip.symantec.com/toolbar/activate.v
This returns a HTML page, where one of the lines is <input type="hidden" name="vip_access_toolbar_ac" id="vip_access_toolbar_ac" value="{base64 string here}" />.
The base64 string is decoded to a 16 character (A-Z0-9 all uppercase) 'activation code'. There's also no need to spoof an old device.
Example of a base64 string: l64L8lesoGPbLgYYnBYxMpBVO393evv1NpaRIOypiCA= and the activation code it decodes to: LEXIP16UAP3E7WUY.
When you use an activation code, the provision request looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<GetSharedSecret xmlns="http://www.verisign.com/2006/08/vipservice" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.verisign.com/2006/08/vipserviceuaservice.xsd" Id="**{MM/DD/YY HH:MM:SS COMPUTER_NAME}**" Version="2.0">
<TokenModel>VSST</TokenModel>
<ActivationCode>**LEXIP16UAP3E7WUY**</ActivationCode>
<OtpAlgorithm type="HMAC-SHA1-TRUNC-6DIGITS"/>
<ClockDrift>0</ClockDrift>
<SharedSecretDeliveryMethod>HTTPS</SharedSecretDeliveryMethod>
<SupportedEncryptionAlgorithm>PBE-AES128-CBC</SupportedEncryptionAlgorithm>
</GetSharedSecret>
It would be nice to have the provisioning requests look closer to real, up to date ones :)
dlenski and chenxiaolong