Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

Rooting challenge 1


Rooting challenge 1

By bl4ckc4t avatarbl4ckc4t | 11968 Reads |
0     0

Description:

A dangerous hacker called ezekiel has been on rampage destroying hundreds of sites. Help stop his destruction by aiding us get his password. We know he is running linux so the password file is in the normal spot, but we just cant find any way to root him. We got his IP: 69.13.37.42 Now you need to do the rest. Thanks again.

Your goal is to get the password on Ezekiel's box. Type help to get the commands you can use. you have: help, telnet, ftp, and nmap

I would start with nmap, just type nmap "ip" (without the quotes) and you will see open ports. From here, you should know how to connect. If not, then try out the commands you can use.

Most of you know the normal directory of the passwd file is /etc/

You start out in /home/Ezekiel, so what do we want to do? Change the directory. Remember that you want to get to the passwd file. The command to change directory is cd

Figure out how to get to the /etc/ folder. Some of you know about the cat command and its ability to let you read text in a file.

Comments
ghost's avatar
ghost 18 years ago

I completed this last night and i thought your article was a little low on help, but perfect to be pushed in the right direction. A very good concept for an article imho:)

ghost's avatar
ghost 18 years ago

what's the login USER + PASS… cuz it requires both, to login to the ftp server.

ghost's avatar
ghost 18 years ago

ur meant to post comments! ye and i agree with the_flash:)

ghost's avatar
ghost 18 years ago

WAY TOO MUCH HELP ut all in the wrong places, I think peoples main problems are the fact that the commands in the challenge are wrong.

bl4ckc4t's avatar
bl4ckc4t 18 years ago

pr1nc3, your not supposed to root his REAL box, just the simulated one provided..

ghost's avatar
ghost 18 years ago

i know.. but how do I run the "root1" on my linux box?

ghost's avatar
ghost 18 years ago

in konsole: su (maybe) chmod a+x root1 ./root1

AldarHawk's avatar
AldarHawk 18 years ago

I just want to say that CAT is NOT a real FTP command. the true command should have been get <file> "| more" to view the file in an FTP environment. Now if you did it as SSH I would have agreed with CAT.

ghost's avatar
ghost 18 years ago

yep aldar is right.. i wasnt getting it either but he helped me :) and btw hehe the ratings look like a middle finger:P

ghost's avatar
ghost 18 years ago

I think it was a generally misleading challenge Love the idea though.

ghost's avatar
ghost 18 years ago

i did the challenge easy because i didnt know you couldnt use cat in ftp :p took me about 2 minutes. See, sometimes is pays to not know as much as others.

ghost's avatar
ghost 18 years ago

I did the challenge the lazy way. It took me 30 seconds to do it (I swear). I just looked into the source w/ notepad… *always look at the source!

ghost's avatar
ghost 18 years ago

good article…and lmao god ur right…it does look like the finger!!XD

AldarHawk's avatar
AldarHawk 18 years ago

and the finger grows :P was a well written program but I would have prefered a more realistic root. But that is just me B)

ghost's avatar
ghost 18 years ago

can't get the linux version to run… says permission denied or just doesn't do anything…

ghost's avatar
ghost 18 years ago

everytime i try any command on the ftp it closes the connection, and the telnet doesnt work

ghost's avatar
ghost 18 years ago

Good Nice Little Article! :D:ninja:

Zer0Man's avatar
Zer0Man 17 years ago

Helpful article, pushed me in right direction.

ghost's avatar
ghost 17 years ago

root@localhost:~$ nmap 69.13.37.42 ftp>open (to)69.13.37.42 200-Welcome to Ezekiels FTP Server… 200- Current directory: /home/ezekiel ftp>[any command] [/anydirectory] Connection Lost..ftp>

what am i doing wrong?

ghost's avatar
ghost 17 years ago

connection lost with every command :(