in Kioptrix 2 I got stuck at privilege escalation when I try compile the exploit. It always returns an “9545.c:376:28: warning: no newline at end of file” error.
I tried to manually add a new line at the end of code but nothing, google was’t helpfull as well. Anybody knows the solution please? It happened already in more cases and I can’t find anything to get rid of it.
PS: How do you do screenshots in Kali?