p0dalirius / pwndocapi

A python library to interact with Pwndoc instances for pentest reports generation
https://podalirius.net/
GNU General Public License v3.0
14 stars 3 forks source link

[enhancement] Added support for MFA to login method of API.py #3

Closed d-woosley closed 3 months ago

d-woosley commented 3 months ago

Added support to pass TOTP token to API.login method. The default is still to not use a null token unless a token is passed. Also, fixed the output error message for the login to show the error "datas" instead of the "status" which seemed to be a mistake.