Semtex Level 4
Posted February 28th, 2008 by arcanum
in
- Ptrace your way
-
Pass prints the password for the level you are on. Try to make it print the next level's password.
This time it is not so easy:
pass: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.4.1, statically linked, stripped
- Tip :
-
- Pass uses geteuid() to get its information.
- Read man ptrace - Semtex3 Solutions
-
look at the readme in your home directory to find cool and interesting solutions to semtex3
You made the same mistake as
You made the same mistake as me.
The "pass"-executable is somewhat misleading, so I'll give you a hint:
Everytime you login to semtex, there will be some lines of text displayed in your shell - read it!
Best regards
darkelf
wtf??
i passed the previous level successfully (or at least i think so because a shell opened).
if i am trying now to run "pass" i will get an "Permission denied" error message.
"id" gives me the following output: "uid=2004(semtex4) gid=2003(semtex3) groups=2003(semtex3)"
the UID changed to 2004 but for executing "pass" i do also need a GID of 2004.
so, is it also part of the challenge to make "pass" executable or is it just a bug??
I'm stuck
forget what I wrote. I'm for sure the dumpest guy in the world :-{
Got it now.