Rooting Challenge 1 + 2 Tutorial
Rooting Challenge 1 + 2 Tutorial
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.
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 17 years ago
I love how 335 people+ read this article and only 4 people left comments..:angry:
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 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
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.