会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
wgf4242
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
10
11
12
13
14
15
下一页
2021年8月8日
Python3 调用c中srand 随机数
摘要: import sys from ctypes import * if sys.platform == 'win32': print(cdll.msvcrt.srand(1)) print(cdll.msvcrt.rand()) if sys.platform == 'linux': libc = c
阅读全文
posted @ 2021-08-08 19:47 wgf4242
阅读(440)
评论(0)
推荐(0)
2021年8月7日
ctfshow-pwn新手/萌新赛
摘要: ctfwork pwn题目 pwn03 先用puts覆盖ebp输出puts_got真实地址addr 然后通过 https://libc.blukat.me/ 查询一下 puts 及后三位 360 得到libc中puts_libc, system_libc , bin_sh_libc 的地址, 用ad
阅读全文
posted @ 2021-08-07 00:18 wgf4242
阅读(1200)
评论(0)
推荐(0)
2021年8月3日
Pwn环境之Ubuntu安装
摘要: 为了简洁快速,我安装server版 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-releases/16.04/ubuntu-16.04.7-server-amd64.iso 1.虚拟机断网(减少网络请求),然后安装, 5分钟就好了 2.配置ip自动获取 `
阅读全文
posted @ 2021-08-03 23:43 wgf4242
阅读(403)
评论(0)
推荐(0)
2021DASCTF实战精英夏令营暨DASCTF July X CBCTF 4th writeup
摘要: 根据赛后讲解学习。 #Misc Nuclear_wastewater 二维码扫码没啥内容。。看图片像素。 from PIL import Image pic = Image.open("aaaaa.png") # type: Image.Image width, height = pic.size
阅读全文
posted @ 2021-08-03 09:07 wgf4242
阅读(346)
评论(0)
推荐(0)
2021年8月2日
jarvis oj PWN - level3
摘要: 思路: 1.使用write 泄漏出 got地址, 通过libc计算偏移得到system, binsh 2.覆盖ebp返回主函数再次执行 3.这次覆盖ebp执行system /bin/sh。 关键传参: write_addr, 返回地址, 1, output, 4(4字节) from pwn impo
阅读全文
posted @ 2021-08-02 13:39 wgf4242
阅读(68)
评论(0)
推荐(0)
2021年7月6日
Visual Studio Code 使用vim时 emmet 会出问题,解决配置如下
摘要: 能正常使用vim的配置如下 // Place your settings in this file to overwrite the default settings { // Settings // "git.path": "d:\\Program Files\\Git\\cmd\\git.exe
阅读全文
posted @ 2021-07-06 20:37 wgf4242
阅读(174)
评论(0)
推荐(0)
Windows Server 2012 r2服务器下import cv2 出现ImportError: DLL load failed
摘要: pip install opencv-python import cv2 发现报错 ImportError: DLL load failed 解决方案:安装 Windows Server 2012 r2 程序-添加删除功能-用户界面和基础结构-桌面体验,重启
阅读全文
posted @ 2021-07-06 13:34 wgf4242
阅读(424)
评论(0)
推荐(0)
2021年6月21日
雷电模拟器+Fiddler抓包(局域网环境/通过手机共享USB网络环境)
摘要: 环境:局域网不能上网。通过手机USB上网。 关于fiddler的证书安装导入之类的看别人的就行。设置中开启允许局域网连接。 1.配置IP 连接局域网网线。 主机 10.61.1.2 模拟器安装桥接驱动 配置IP 10.61.1.3 2.配置代理 检查Fiddler配置的端口是 8866还是8888
阅读全文
posted @ 2021-06-21 09:33 wgf4242
阅读(1145)
评论(0)
推荐(0)
2021年3月12日
FastAPI使用代码启动reload
摘要: 从uvicorn main源码里找的启动方式。稍微修改下。 if __name__ == '__main__': from pathlib import Path import sys filename = Path(__file__).stem sys.argv = [__file__, f'{f
阅读全文
posted @ 2021-03-12 09:18 wgf4242
阅读(590)
评论(0)
推荐(0)
2020年12月21日
Adobe XD无法拖拽图片进入XD的问题
摘要: Adobe XD不能拖入图片的解决办法 请创建 User 。不要使用Administrator登录。。。 然后将UAC拉到最下面。
阅读全文
posted @ 2020-12-21 12:19 wgf4242
阅读(1876)
评论(0)
推荐(0)
上一页
1
···
10
11
12
13
14
15
下一页
公告