How to switch user instead of using uid? [closed]
In some methods of privilege escalation, if you want to be the root user, you write like this:
setuid(0);
setgid(0);
And this is because the uid and gid of the root user is 0
id root
uid=0 (root) gid=0 (root) groups=0 (root)
But imagin… Continue reading How to switch user instead of using uid? [closed]