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 + 2 Tutorial


Rooting Challenge 1 + 2 Tutorial

By ghostghost | 12171 Reads |
0     0

Challenge 1


Ok, first download the program and open it up. When your ready to start the box should say

root@localhost:~$

Here is our goal : 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.

We have to connect to his IP and find his password which is stored in a specific directory that Linux OS's use. ( Google ) Now since we're just looking at this for the first time I suggest you type in "help" for a list of commands that will help you alot. The commands that come up are help, ftp, telnet, nmap and exit.

We first want to use nmap to scan for open ports so we can find a way to connect to this dangerous hacker. Since we're looking for something to scan we should scan the hacker's IP which is our target.

This is what it should look like :

root@localhost:~$ nmap 69.13.37.42

Pay close attention to the area where it mentions the ports' states. (open/closed)

The first port you see is known as File Transfer Protocol which is the one we will be using.

So type in the "service" of the port and hit enter. Now open it, then connect to it's IP by opening it in the <to> section (you'll know if you've done this correctly)

You'll notice that you've now connected to Ezekiels FTP Server, pay close attention to the directory your on ( reminder you want to find the directory in which linux stores passwords (you also need to find a command that takes you back/changes your Current Directory)) ;-)

Once you've gotten to the correct directory you'll easily find your way from there on.


Rooting 2


Ok, we're going to use some of the same commands we used last time but we also have more available to us. Type in "help" once again to see a list of commands we may use.

There are 3 we will need; ls, cd, and rm.

Once you've typed help each command is defined respectively right next to each command itself.

Change your directory to the /home directory so we can begin correctly since your in /sbin.

Use the command that "List files/folders in a directory" to show what our next step is.

There is an OBVIOUS thing you'll wanna get into, to go there is the command that allows you to change your directory and make it so you've changed to that SPECIFIC directory and nothing else.

Once your there use the "List files/folders in a directory" command.

Change your directory to one of the ones you wanna change to and use the Delete Command to delete any files your supposed to be deleting (hint there are only 3 files that need deleting in this whole challenge)

From there on move around in directories deleting the files you need to delete, then once your done just type in "completed" and if you did it right you should complete the challenge.

Comments
ghost's avatar
ghost 17 years ago

Thankx for the help man, really cool stuff. I had a hard time with root 2 coz i didn't know that I should type in complete after your done. :D

ghost's avatar
ghost 17 years ago

Thanks :)

ghost's avatar
ghost 17 years ago

good job

ghost's avatar
ghost 17 years ago

perty good will use to start r2

ghost's avatar
ghost 17 years ago

Jeez, I didn't think this article would be so popular. :happy:

ghost's avatar
ghost 17 years ago

I love how 335 people+ read this article and only 4 people left comments..:angry:

ghost's avatar
ghost 17 years ago

Nice work.

ghost's avatar
ghost 17 years ago

@Users

Good luck! :happy:

Zer0Man's avatar
Zer0Man 17 years ago

Helpful article :)

ghost's avatar
ghost 17 years ago

I'm noticing more views every now and then, I hope it's helping?

ghost's avatar
ghost 17 years ago

Wonderful! I got through Root 2 easily after i read this =D

ghost's avatar
ghost 17 years ago

hMmm Call me noob, but i tried "connecting" and it wont work for me…? like i can get into the FTP sub-process, and type the IP, and then Port (21 for FTP), and i cant get it to say the "welcome" thing..

Anybody? B) -=Da Nutter=-

ghost's avatar
ghost 17 years ago

Maybe im raly stupid right now, butt when i try to go back in "root 1" i just gett connection lost. I have tried lotts of commands. dont want to say here butt you know. ** **.. and so on

ghost's avatar
ghost 16 years ago

Same for me I always get Connection lost :(

xI thanatos Ix's avatar
xI thanatos Ix 12 years ago

This was really helpful… Thank you…

Ru33erDuck's avatar
Ru33erDuck 8 years ago

I find this article very helpful, however I haven't been able to get the rooting files to execute. I am operating with Linux right now, so I will try again with windows in the future.

Steps I took on linux to attempt this: chmod the file to add execute permission ./ method and sh method of executing the file.