• linux security for ports scan tool nmap


    •   install nmap tool

    root:/# apt install nmap
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following package was automatically installed and is no longer required:
    libjemalloc1
    Use 'apt autoremove' to remove it.
    The following additional packages will be installed:
    libblas-common libblas3 liblinear3 liblua5.2-0 libpcap0.8 libxslt1.1
    lua-lpeg ndiff python-bs4 python-chardet python-html5lib python-lxml
    python-six
    Suggested packages:
    liblinear-tools liblinear-dev python-genshi python-lxml-dbg python-lxml-doc
    The following NEW packages will be installed:
    libblas-common libblas3 liblinear3 liblua5.2-0 libpcap0.8 libxslt1.1
    lua-lpeg ndiff nmap python-bs4 python-chardet python-html5lib python-lxml
    python-six
    0 upgraded, 14 newly installed, 0 to remove and 162 not upgraded.
    Need to get 258 kB/6,071 kB of archives.
    After this operation, 25.8 MB of additional disk space will be used.
    Do you want to continue? [Y/n] y
    Get:1 http://ports.ubuntu.com xenial-security/main armhf libpcap0.8 armhf 1.7.4-2ubuntu0.1 [104 kB]
    Progress: [ 98%] [##########################################################] 28-2.1ubuntu0.3 [129 kB]
    Get:3 http://ports.ubuntu.com xenial-updates/main armhf lua-lpeg armhf 0.12.2-1ubuntu1 [24.6 kB]
    Fetched 258 kB in 18s (14.2 kB/s)

    • running namp tool 

    root:/# nmap 127.0.0.1

    Starting Nmap 7.01 ( https://nmap.org ) at 2020-03-06 01:16 UTC
    Nmap scan report for localhost (127.0.0.1)
    Host is up (0.00011s latency).
    Not shown: 999 closed ports
    PORT STATE SERVICE
    22/tcp open ssh

  • 相关阅读:
    清除浮动的四种方式
    简单的响应式-信息介绍
    Island Mentality
    六、排序-插入排序
    五、快速排序
    有关一些话
    有关学习态度
    无题
    四、链表的学习
    MySQ彻底删除与安装配置
  • 原文地址:https://www.cnblogs.com/lianghong881018/p/12424845.html
Copyright © 2020-2023  润新知