This is a local privellege escalation technique that we can take advantage of if the password thats being typed in after you do sudo -l is showing the password in asteriks **** like this then we can utilize a simple exploit

and transfer it over the target machine compile it using gcc and thats gonna give us root.