duo-bypass
duo-bypass copied to clipboard
Code update
Looks like the activation process has got a little less obfuscated.
To fix:
Remove the following lines....
data = unquote(qr_url.split('=')[1]) hostb64 = data.split('-')[1] host = base64.b64decode(hostb64 + '='*(-len(hostb64) % 4)) code = data.split('-')[0].replace('duo://', '')
Add the following lines in their place
host = qr_url.split('/')[2].split('-')[1] code = qr_url.rsplit('/',1)[1]