anyone knows how to get a valid ticket with curl using TFA?
I usually use this:
curl -f -s -S -k --data-urlencode "username=USERNAME" --data-urlencode "password=PASSWORD" "https://172.16.199.12:8006/api2/json/access/ticket"|jq '.data.ticket'
but how do I get a valid one when user has TFA?
I usually use this:
curl -f -s -S -k --data-urlencode "username=USERNAME" --data-urlencode "password=PASSWORD" "https://172.16.199.12:8006/api2/json/access/ticket"|jq '.data.ticket'
but how do I get a valid one when user has TFA?