NMAP

Dari Dokumentasi Robie
Loncat ke navigasi Loncat ke pencarian

Untuk melihat informasi tentang service yang berjalan dan port berapa saja yang terbuka pada sistem operasi linux kita perlu menginstall aplikasi NMAP. Aplikasi ini berguna untuk melakukan scanning pada sebuah server. Langkah yang dilakukan untuk menginstall aplikasi ini adalah dengan membuka terminal linux dan mengetikkan perintah

Jika belum terinstall maka akan muncul tampilan seperti ini ketika dijalankan

robie@robie-HP-EliteBook-745-G6:~$ nmap
Command 'nmap' not found, but can be installed with:
sudo apt install nmap
robie@robie-HP-EliteBook-745-G6:~$ 

Lakukan update dengan perintah $sudo apt update lalu tekan enter.

Kemudian jalankan perintah berikut untuk melakukan installasi.

$ sudo apt install nmap (lalu tekan enter)


robie@robie-HP-EliteBook-745-G6:~$ sudo apt install nmap
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libblas3 liblinear4 liblua5.3-0 lua-lpeg nmap-common
Suggested packages:
  liblinear-tools liblinear-dev ncat ndiff zenmap
The following NEW packages will be installed:
  libblas3 liblinear4 liblua5.3-0 lua-lpeg nmap nmap-common
0 upgraded, 6 newly installed, 0 to remove and 452 not upgraded.
Need to get 5.669 kB of archives.
After this operation, 26,8 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://id.archive.ubuntu.com/ubuntu focal/main amd64 libblas3 amd64 3.9.0-1build1 [142 kB]
Get:2 http://id.archive.ubuntu.com/ubuntu focal/universe amd64 liblinear4 amd64 2.3.0+dfsg-3build1 [41,7 kB]
Get:3 http://id.archive.ubuntu.com/ubuntu focal/main amd64 liblua5.3-0 amd64 5.3.3-1.1ubuntu2 [116 kB]                         
Get:4 http://id.archive.ubuntu.com/ubuntu focal/universe amd64 lua-lpeg amd64 1.0.2-1 [31,4 kB]                                
Get:5 http://id.archive.ubuntu.com/ubuntu focal/universe amd64 nmap-common all 7.80+dfsg1-2build1 [3.676 kB]                   
Get:6 http://id.archive.ubuntu.com/ubuntu focal/universe amd64 nmap amd64 7.80+dfsg1-2build1 [1.662 kB]                        
Fetched 5.669 kB in 1min 54s (49,6 kB/s)                                                                                       
Selecting previously unselected package libblas3:amd64.
(Reading database ... 123832 files and directories currently installed.)
Preparing to unpack .../0-libblas3_3.9.0-1build1_amd64.deb ...
Unpacking libblas3:amd64 (3.9.0-1build1) ...
Selecting previously unselected package liblinear4:amd64.
Preparing to unpack .../1-liblinear4_2.3.0+dfsg-3build1_amd64.deb ...
Unpacking liblinear4:amd64 (2.3.0+dfsg-3build1) ...
Selecting previously unselected package liblua5.3-0:amd64.
Preparing to unpack .../2-liblua5.3-0_5.3.3-1.1ubuntu2_amd64.deb ...
Unpacking liblua5.3-0:amd64 (5.3.3-1.1ubuntu2) ...
Selecting previously unselected package lua-lpeg:amd64.
Preparing to unpack .../3-lua-lpeg_1.0.2-1_amd64.deb ...
Unpacking lua-lpeg:amd64 (1.0.2-1) ...
Selecting previously unselected package nmap-common.
Preparing to unpack .../4-nmap-common_7.80+dfsg1-2build1_all.deb ...
Unpacking nmap-common (7.80+dfsg1-2build1) ...
Selecting previously unselected package nmap.
Preparing to unpack .../5-nmap_7.80+dfsg1-2build1_amd64.deb ...
Unpacking nmap (7.80+dfsg1-2build1) ...
Setting up lua-lpeg:amd64 (1.0.2-1) ...
Setting up libblas3:amd64 (3.9.0-1build1) ...
update-alternatives: using /usr/lib/x86_64-linux-gnu/blas/libblas.so.3 to provide /usr/lib/x86_64-linux-gnu/libblas.so.3 (libbla
s.so.3-x86_64-linux-gnu) in auto mode
Setting up nmap-common (7.80+dfsg1-2build1) ...
Setting up liblua5.3-0:amd64 (5.3.3-1.1ubuntu2) ...
Setting up liblinear4:amd64 (2.3.0+dfsg-3build1) ...
Setting up nmap (7.80+dfsg1-2build1) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.2) ...
robie@robie-HP-EliteBook-745-G6:~$ 


Gagal membuat miniatur: Berkas tak ditemukan

Untuk menjalankan aplikasi ini dengan cara mengetikkan

$ nmap localhost (lalu tekan enter)


lalu tekan enter. hasil yang didapat akan tampak seperti pada gambar berikut

Gagal membuat miniatur: Berkas tak ditemukan