You will neet to open a terminal (you might need to install an App like ConnectBot) prompt and copy and paste this into it:

(Android 5.1 / Cyanogen 12.1 worked and tested)

cat /data/misc/wifi/wpa_supplicant.conf
admin