@witchkingsteve said:
so i tried to get LinEnum on the host via wget, curl, and scp from my host but none of them work. Can someone point me in the right direction as to how to get the shell script on the host
I figured it out, the upload command in meterpreter kept spitting out errors, but i figured it out after a couple of tries.
I’ve got the user flag and I can’t for the life of me figure out how to get root. I’ve run linenum.sh and I know about what’s weird but I don’t know how to use that information because of the ‘tty not detected’ error when I try to sudo. Can I PM someone for some advice?
so i tried to get LinEnum on the host via wget, curl, and scp from my host but none of them work. Can someone point me in the right direction as to how to get the shell script on the host> @Demosz said:
I’ve got the user flag and I can’t for the life of me figure out how to get root. I’ve run linenum.sh and I know about what’s weird but I don’t know how to use that information because of the ‘tty not detected’ error when I try to sudo. Can I PM someone for some advice?
How did you get the LinEnum.sh to run? I’m having issues PM me?
@T3jv1l said: @witchkingsteve I searched but I did not find anything suspicious, where exactly
I can’t tell you where, since that would give you the answer. Under /admin/ there are directories and files. Search through them and you’ll find the username
I am starting to loose the will to live with this one. I have the user.txt but not the root.txt. I am unable to re-create my shell. I get an errors regarding a cleanup of image.php - I also have to contend with the machine being reset every 20 minutes. Its doing my head in.
So has anyone else been able to get a shell before and unable to recreate the exploit?
PM me for advice. I got root this morning despite the “tty shell needed” error and I know how you’re fucking up. I’ll give you a proper hint no spoilers but it’s an easy fix.
Ah okay guys it seems I’m going to admit defeat and ask someone to help me with the root flag! Spent 2 weeks on this now…so got my shell up and running, ran xxxxxx.sh and linenum.sh got all the info I can gather. Tried multiple exploits, tried changing the xxxxxx.sh file and spent countless hours on su and sudo!
Anyone care to PM me with some help…even the answer as I have truly learnt so much on what NOT to do