码农知识堂 - 1000bd
  •   Python
  •   PHP
  •   JS/TS
  •   JAVA
  •   C/C++
  •   C#
  •   GO
  •   Kotlin
  •   Swift
  • 【kali-信息收集】(1.6)服务的指纹识别:Nmap、Amap


    目录

    一、简介

    1.1、概述:

    二、工具

    2.1、Nmap(识别服务指纹信息)

    使用:

    测试:

    2.2、Amap(服务枚举工具)

    简介:

    安装:

    命令:

    使用:


    一、简介

    1.1、概述:

    为了确保有一个成功的渗透测试 , 必须需要知道目标系统中服务的指纹信息。 服务指 纹信息包括服务端口 、 服务名和版本等



    二、工具

    2.1、Nmap(识别服务指纹信息)

    使用:

    【端口扫描工具】nmap核心使用方法https://blog.csdn.net/qq_53079406/article/details/125263917?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522165932934416781432923359%2522%252C%2522scm%2522%253A%252220140713.130102334.pc%255Fblog.%2522%257D&request_id=165932934416781432923359&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2~blog~first_rank_ecpm_v1~rank_v31_ecpm-1-125263917-null-null.nonecase&utm_term=nmap&spm=1018.2226.3001.4450nmap“扫描基础”“端口扫描技术”“服务和版本探测”“操作系统探测”“时间和性能”“防火墙/IDS躲避和哄骗”相关参考指南https://blog.csdn.net/qq_53079406/article/details/122759253?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522165932934416781432923359%2522%252C%2522scm%2522%253A%252220140713.130102334.pc%255Fblog.%2522%257D&request_id=165932934416781432923359&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2~blog~first_rank_ecpm_v1~rank_v31_ecpm-4-122759253-null-null.nonecase&utm_term=nmap&spm=1018.2226.3001.4450


    测试:

    用Nmap工具查看39.106.226.142服务上正在运行的端口

    nmap -sV 39.106.226.142 

    可以查看到目标服务器上运行的端口号、各个端口对应的服务及版本信息

    2.2、Amap(服务枚举工具)

    简介:

    Amap是一个服务枚举工具。 使用该工具能识别正运行在 一 ·个指定端口或一个范围端
    口上的应用程序


    安装:

    sudo apt install amap 


    命令:

    1. Syntax: amap [-A|-B|-P|-W] [-1buSRHUdqv] [[-m] -o ] [-D ] [-t/-T sec] [-c cons] [-C retries] [-p proto] [-i ] [target port [port] ...]
    2. Modes:
    3. -A Map applications: send triggers and analyse responses (default)
    4. -B Just grab banners, do not send triggers
    5. -P No banner or application stuff - be a (full connect) port scanner
    6. Options:
    7. -1 Only send triggers to a port until 1st identification. Speeeeed!
    8. -6 Use IPv6 instead of IPv4
    9. -b Print ascii banner of responses
    10. -i FILE Nmap machine readable outputfile to read ports from
    11. -u Ports specified on commandline are UDP (default is TCP)
    12. -R Do NOT identify RPC service
    13. -H Do NOT send application triggers marked as potentially harmful
    14. -U Do NOT dump unrecognised responses (better for scripting)
    15. -d Dump all responses
    16. -v Verbose mode, use twice (or more!) for debug (not recommended :-)
    17. -q Do not report closed ports, and do not print them as unidentified
    18. -o FILE [-m] Write output to file FILE, -m creates machine readable output
    19. -c CONS Amount of parallel connections to make (default 32, max 256)
    20. -C RETRIES Number of reconnects on connect timeouts (see -T) (default 3)
    21. -T SEC Connect timeout on connection attempts in seconds (default 5)
    22. -t SEC Response wait timeout in seconds (default 5)
    23. -p PROTO Only send triggers for this protocol (e.g. ftp)
    24. TARGET PORT The target address and port(s) to scan (additional to -i)
    25. amap is a tool to identify application protocols on target ports.
    26. Note: this version was NOT compiled with SSL support!
    27. Usage hint: Options "-bqv" are recommended, add "-1" for fast/rush checks.


    使用:

    用Amap 工具在指定的端口(或一段范围), 测试目标主机39.106.226.142上正在运行的应用程序

    amap -bqv 39.106.226.142 80

  • 相关阅读:
    【Git 学习笔记】第三章 分支、合并及配置项(下)
    【C语言】变量占用内存的大小&&内存对齐
    集成学习
    基于食肉植物优化算法的线性规划问题求解matlab程序
    重温JS——(ES6)异步编程(promise对象、async函数)
    C++类型转换
    线程池在业务中的实践
    196、管理 RabbitMQ 的用户
    java的Timer全网最详细总结
    行为型模式-策略模式
  • 原文地址:https://blog.csdn.net/qq_53079406/article/details/126103670
  • 最新文章
  • 攻防演习之三天拿下官网站群
    数据安全治理学习——前期安全规划和安全管理体系建设
    企业安全 | 企业内一次钓鱼演练准备过程
    内网渗透测试 | Kerberos协议及其部分攻击手法
    0day的产生 | 不懂代码的"代码审计"
    安装scrcpy-client模块av模块异常,环境问题解决方案
    leetcode hot100【LeetCode 279. 完全平方数】java实现
    OpenWrt下安装Mosquitto
    AnatoMask论文汇总
    【AI日记】24.11.01 LangChain、openai api和github copilot
  • 热门文章
  • 十款代码表白小特效 一个比一个浪漫 赶紧收藏起来吧!!!
    奉劝各位学弟学妹们,该打造你的技术影响力了!
    五年了,我在 CSDN 的两个一百万。
    Java俄罗斯方块,老程序员花了一个周末,连接中学年代!
    面试官都震惊,你这网络基础可以啊!
    你真的会用百度吗?我不信 — 那些不为人知的搜索引擎语法
    心情不好的时候,用 Python 画棵樱花树送给自己吧
    通宵一晚做出来的一款类似CS的第一人称射击游戏Demo!原来做游戏也不是很难,连憨憨学妹都学会了!
    13 万字 C 语言从入门到精通保姆级教程2021 年版
    10行代码集2000张美女图,Python爬虫120例,再上征途
Copyright © 2022 侵权请联系2656653265@qq.com    京ICP备2022015340号-1
正则表达式工具 cron表达式工具 密码生成工具

京公网安备 11010502049817号