zoukankan      html  css  js  c++  java
  • 常用服务对应的正则

            socket.setdefaulttimeout(timeout/2)
            sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
            sock.connect((str(host),int(port)))
            data = sock.recv(512)
            sock.close()

    ftp|21|^220.*?ftp|^220-
    ssh|22|^ssh-
    telnet|23|^xff[xfa-xfe]|^x54x65x6c
    smtp|25|^220.*?smtp
    dns|53|
    pop3|110|+OK.*?pop3
    NetBIOS|139|
    imap|143|^* OK.*?imap
    ldap|389|
    smb|445|
    smtps|465|
    rsync|873|^@RSYNCD|^@ERROR
    imaps|993|
    pop3|995|+OK
    proxy|1080|
    pptp|1723|
    mssql|1433|
    oracle|1521|
    mysql|3306|^..*?mysql|^. |.*?MariaDB server
    rdp|3389|
    svn|3690|
    PostgreSql|5432|
    vnc|5800|^RFB
    vnc|5900|^RFB
    redis|6379|-ERR|^$d+ redis_version
    Elasticsearch|9200|
    Elasticsearch|9300|
    memcached|11211|
    mongodb|27017|
    mongodb|27018|

  • 相关阅读:
    dp
    数学分析 + 容斥原理
    容斥
    并查集
    矩阵hash + KMP
    扫描线
    位运算
    2015 Multi-University Training Contest 5 1009 MZL's Border
    iOS ZipArchive文件解压缩
    iOS GCD倒计时
  • 原文地址:https://www.cnblogs.com/lly-lly/p/5393351.html
Copyright © 2011-2022 走看看