Rooting a box
Ok, Say I wanted to root a box which we will call Rocky. Now Rocky has ftp, http, smtp and pop3 ports open and imap how would i got about accessing this server and gaining root. Lets also say its running a linux server shall we
(This isnt a "tell me how" post its a "Give me a nudge in the right direction" post)
check out the versions of the serivices, and the version of the OS (in this case it would be the kernal version). i can think of several remote root exploits for those services off the top of my head.
If you're not authorized to do this and don't have local access, try the following nmap syntax:
[root@localhost hacking]# nmap -vvv -sS -sV -O -P0 target-host
that will do OS detection, and a Version scan.
course, using telnet (or netcat) is a better way to grab the banners at times. i'd use nmap and then back up its guesses with telnet or netcat.
BTW, if you're really not authorized to do this, maybe you should get some more expirence before you go and try something like this… no offense…. ;)
n3w7yp3 wrote: check out the versions of the serivices, and the version of the OS (in this case it would be the kernal version). i can think of several remote root exploits for those services off the top of my head.
If you're not authorized to do this and don't have local access, try the following nmap syntax:
[root@localhost hacking]# nmap -vvv -sS -sV -O -P0 target-host
that will do OS detection, and a Version scan.
course, using telnet (or netcat) is a better way to grab the banners at times. i'd use nmap and then back up its guesses with telnet or netcat.
BTW, if you're really not authorized to do this, maybe you should get some more expirence before you go and try something like this… no offense…. ;)
I did use nmap to get the info and no offense taken by your last comment