Skip to content

Instantly share code, notes, and snippets.

@hanshou101
hanshou101 / test.md
Created May 28, 2021 14:22
test-问题描述

1.遇到的一些问题

  1. 遇到的问题:
    1. 文章,我读了十多遍,才弄懂了前因后果:
      1. 可能的原因:
        1. 我自己之前,对【域控】的了解很少;都是一些皮毛了解,也没自己操作过。
          1. 比如,域控的用户登录
            1. 是直接远程登录? 还是 nc的shell反弹 ?
          2. 比如,【ms14-068.py】的【-d选项】,用的是【dc1.contoso.com】
            1. 而这个【域控】,在截图中,没有体现出的位置。
@hanshou101
hanshou101 / 渗透测试报告.md
Last active October 11, 2024 09:19
渗透测试报告.md
# https://twitter.com/brsn76945860/status/1171233054951501824
pip install mmh3
-----------------------------
# python 2
import mmh3
import requests
response = requests.get('https://cybersecurity.wtf/favicon.ico')
favicon = response.content.encode('base64')
@hanshou101
hanshou101 / Shodan查询.py
Last active July 27, 2021 12:58
Shodan查询
"""
参考资料:
1. [Python2写法](https://www.cnblogs.com/miaodaren/p/9177379.html)
2. [Python3改写](https://www.cnblogs.com/miaodaren/p/9177379.html)
以上两个办法,都是错误的!!!
3. [正确写法](https://gist.github.com/yehgdotnet/b9dfc618108d2f05845c4d8e28c5fc6a)
"""
import base64