Reemo Blog
124 words
1 minutes
[Services] General Services

Table of Contents#

  1. SSH
  2. DNS
  3. Ftp
  4. SMB
  5. Telnet

[Services] General Services#

SSH connect#

Basic connect#

ssh root@192.168.1.1

Connect with port#

ssh root@192.168.1.1 -p 8082

Connect with .pem key#

ssh -i someKey.pem ubuntu@192.168.1.1

DNS#

nslookup#

To check the regarding domain ip actual address

Basic usage#

nslookup google.com

Other DNS#

  • Using dns 8.8.8.8 to check google.com ip
nslookup google.com 8.8.8.8

dig#

To check the regarding domain ip actual address, but more details

Basic usage#

dig google.com

Other DNS#

  • Using dns 8.8.8.8 to check google.com ip
dig google.com @8.8.8.8

Reverse DNS checking#

  • Using dns 8.8.8.8 to check google.com ip
dig -x 172.217.24.78

dnsenum#

Enumerate DNS information of a domain and to discover non-contiguous ip blocks.

dnsenum google.com

Linux DNS /etc/hosts#

Something may add the ip and domain name for access in etc/hosts

103.43.132.43 hello.io

FTP#

Login#

ftp 1.1.1.1

Download stuff#

get <file_name>
get hello.txt

SMB (Server Message Block)#

Dum login#

smb -L //1.1.1.1/ -U " "

Download stuff#

get <file_name>
get hello.txt

telnet#

To connect to a windows server, using telnet

Login#

telnet 1.1.1.1

The default username is root