Before explaining how this query works, it is crucial to understand the security implications. Using this query on Google or other search engines is a form of or Open Source Intelligence (OSINT) .
If you inadvertently search your own domain and find a live .log file containing real credentials: