Scan with nmap
Before you can attack a server you need to scan it for vulnerabilities and figure out the attack surface. For this purpose you can use the command nmap [ip address].
wikidemo@wikidemo_server:/etc/apt/# nmap cc4f:6290:734d:5a91:67b9:9408:1b78:7e26
There is an update available for this package!
Starting nmap.
Interesting ports on cc4f:6290:734d:5a91:67b9:9408:1b78:7e26 :
PORT STATE SERVICE
21/tcp closed ftpd
22/tcp open sshd
23/tcp closed telnet
25/tcp open[*] maild
443/tcp closed httpd
139/tcp closed netbios
nmap done. 1 IP address (1 host up) scanned in 0.12 secondsNOTE: You need to install nmap from an alternative apt-get server. See Listing available packages.
If a port is open and has a [*] next to it, it means you can try to hack it using the appropriate exploit. You can find these exploits on the alternative apt-server that Lordnikon gives you.