Welcome! Log In Create A New Profile

Advanced

How to log auth information with simple auth

Posted by o1o1o11o1 
How to log auth information with simple auth
April 03, 2017 04:00PM
Hello,

Is it possible to log all username/passwords from a basic auth, e.g, whatever is provided in http://user:password@url.com/ and if so, how ? I suppose I can use the $remote_user variable for the user, not sure how to catch whatever is provided for the password. I can obviously do that with tshark, or other packet analyzers, but was wondering if it's possible with nginx alone.



Edited 2 time(s). Last edit at 04/03/2017 04:03PM by o1o1o11o1.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 291
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready