0
0
0
I am working on a certification and I am trying to get Root access on a VM, it is an outdated copy of RHEL. The problem is the exploit I need to use is written in C programming and well my C is really rusty. I am hoping some of my cyber fellows know C and can help me out. From what I know it is a syntax issue and is really only missing one character possibly 2. If you can help it would be greatly appreciated. The code is from https://www.exploit-db.com/exploits/778/ again any help would be much appreciated. Thank you.
Edited >1 y ago
Posted >1 y ago
Responses: 1
SSG (Join to see)
Looking over the code, it appears to be sound. However the exploit runs on the 2.4 series, are you using an earlier RHEL series?
(0)
(0)
SSG Derek Scheller
Yea it's the 2.4 kernel and I thought the code was sound too that's what I'm asking for another set of eyes because I can't get it to compile.
(0)
(0)
SSG Derek Scheller
It comes back with a ton of errors, though after a discussion with my instructor who told me to use it, he makes it sound like it is just one character that is problematic where something isn't terminated properly, like a branch or statement. I can't seem to figure out which though.
"Well if you remember the concepts of opening and closing statements, branches, etc, you'll figure it out. It might to put it into sometype of studio or development suite thy shows you errors in code syntax"
^^^That is what he told me, and I have used Netbeans and some others and nothing is helping with where the issue lies.
"Well if you remember the concepts of opening and closing statements, branches, etc, you'll figure it out. It might to put it into sometype of studio or development suite thy shows you errors in code syntax"
^^^That is what he told me, and I have used Netbeans and some others and nothing is helping with where the issue lies.
(0)
(0)
Read This Next