摘要:
# re ## clock 进去main函数后一顿分析。rc4加密,随机数异或,base64换表。按照提示的时间`2021.1.23 4:56:00` 进行 srand(seed), 搞出来的结果不对。 后来又给了提示fini。 在fini函数交叉引用一下,发现在start函数后,`(_libc_s 阅读全文
摘要:
import sys from ctypes import * if sys.platform == 'win32': print(cdll.msvcrt.srand(1)) print(cdll.msvcrt.rand()) if sys.platform == 'linux': libc = c 阅读全文
摘要:
ctfwork pwn题目 pwn03 先用puts覆盖ebp输出puts_got真实地址addr 然后通过 https://libc.blukat.me/ 查询一下 puts 及后三位 360 得到libc中puts_libc, system_libc , bin_sh_libc 的地址, 用ad 阅读全文
摘要:
为了简洁快速,我安装server版 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-releases/16.04/ubuntu-16.04.7-server-amd64.iso 1.虚拟机断网(减少网络请求),然后安装, 5分钟就好了 2.配置ip自动获取 ` 阅读全文
摘要:
根据赛后讲解学习。 #Misc Nuclear_wastewater 二维码扫码没啥内容。。看图片像素。 from PIL import Image pic = Image.open("aaaaa.png") # type: Image.Image width, height = pic.size 阅读全文
摘要:
思路: 1.使用write 泄漏出 got地址, 通过libc计算偏移得到system, binsh 2.覆盖ebp返回主函数再次执行 3.这次覆盖ebp执行system /bin/sh。 关键传参: write_addr, 返回地址, 1, output, 4(4字节) from pwn impo 阅读全文
摘要:
能正常使用vim的配置如下 // Place your settings in this file to overwrite the default settings { // Settings // "git.path": "d:\\Program Files\\Git\\cmd\\git.exe 阅读全文
摘要:
pip install opencv-python import cv2 发现报错 ImportError: DLL load failed 解决方案:安装 Windows Server 2012 r2 程序-添加删除功能-用户界面和基础结构-桌面体验,重启 阅读全文
摘要:
环境:局域网不能上网。通过手机USB上网。 关于fiddler的证书安装导入之类的看别人的就行。设置中开启允许局域网连接。 1.配置IP 连接局域网网线。 主机 10.61.1.2 模拟器安装桥接驱动 配置IP 10.61.1.3 2.配置代理 检查Fiddler配置的端口是 8866还是8888 阅读全文
摘要:
从uvicorn main源码里找的启动方式。稍微修改下。 if __name__ == '__main__': from pathlib import Path import sys filename = Path(__file__).stem sys.argv = [__file__, f'{f 阅读全文