You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My work has decided to use Duo and it's driving me nuts so I figured your script could help
I've upgraded it to Python3 and poked it for a while but now I'm getting "unknown activation code" in the response json and I'm not sure where to go next.
Since I don't know what the Py3 equivalent to urllib2.unquote is I've had to work around it
I've found the right value to plug into host64 but I'm having trouble with code
The text was updated successfully, but these errors were encountered:
It seems like you have to supply user-agent now, but I cannot figure the right one to pass.
Duo api replies with this, the first time you use "code". {'code': 40002, 'message': 'Unsupported platform', 'stat': 'FAIL'}
After that, it will deny any request with the same "code". {'code': 40403, 'message': 'Unknown activation code', 'stat': 'FAIL'}
My work has decided to use Duo and it's driving me nuts so I figured your script could help
I've upgraded it to Python3 and poked it for a while but now I'm getting "unknown activation code" in the response json and I'm not sure where to go next.
Since I don't know what the Py3 equivalent to
urllib2.unquote
is I've had to work around itI've found the right value to plug into
host64
but I'm having trouble withcode
The text was updated successfully, but these errors were encountered: