Questions tagged [privilege-elevation]

48 questions
0
votes
0 answers

Run executable with admin privileges at runtime

I'm creating a program which runs different executables with different privileges when needed. I was using this for elevating privileges #include ... ShellExecute( NULL,"runas","c:\\another.exe","",NULL,SW_SHOWNORMAL); but it doesn't…
Jet
  • 528
  • 6
  • 17
0
votes
0 answers

Python - escalate privileges while running

I'm writing a small extendable server management console, and I'd like to run it as a separate user that is really limited in actions - for security, of course, actually, I see no better way to do this. When somebody enters that console and tries…
-3
votes
1 answer

C: escalate privileges in Linux by backing this program

What is a vulnerability of this program? I am currently stuck on a hacking exercise and have no idea what to do! What do you think 'path' means? Because I think it's important. #include #include #include #include…
CarolineRudolph
  • 101
  • 1
  • 10
1 2 3
4