main source : Silvian Dragan (https://github.com/PKHarsimran/bashbunny-payloads/tree/master/payloads/library/credentials/WifiGrabber)
I used WifiGrabber script and Modified it to slack me the result as well . Thank you Silivian Dragan for wifiGrabber scirpt.