
个人知识管理
文章平均质量分 56
shisuan1
这个作者很懒,什么都没留下…
展开
-
个人笔记
第一篇博客此博客将记录个人要点,只是给自己看的正在写SSE参见这个网页链接 转载感谢,php json参见这个网页链接 转载感谢,小程序学习—view-scroll参见这个网页链接 转载感谢,nginx反向代理配置参见这个网页链接 转载感谢,uwsgi配置参见这个网页链接 转载感谢,...原创 2017-12-21 01:56:12 · 147 阅读 · 0 评论 -
pwnable.kr [mistake]
pwnable.kr [mistake]We all make mistakes, let’s move on.(don’t take this too seriously, no fancy hacking skill is required at all)This task is based on real eventThanks to dhmonkeyhint : operato...原创 2018-12-05 18:16:59 · 185 阅读 · 0 评论 -
pwnable.kr [coin1]
pwnable.kr [coin1]Mommy, I wanna play a game!(if your network response time is too slow, try nc 0 9007 inside pwnable.kr server)Running at : nc pwnable.kr 9007首先访问,看看是什么东西。由题意得,我们需要使用二分法,来交互得到...原创 2018-12-12 16:51:35 · 330 阅读 · 0 评论 -
pwnable.ke [blackjack]
pwnable.ke [blackjack]Hey! check out this C implementation of blackjack game!I found it online* http://cboard.cprogramming.com/c-programming/114023-simple-blackjack-program.htmlI like to give my f...原创 2018-12-12 17:56:07 · 230 阅读 · 0 评论 -
pwnable.kr [shellshock]
pwnable.kr [shellshock]Mommy, there was a shocking news about bash.I bet you already know, but lets just make it sure原创 2018-12-09 16:43:21 · 273 阅读 · 0 评论 -
pwnable.kr [asm]
pwnable.kr [asm]#include <stdio.h>#include <string.h>#include <stdlib.h>#include <sys/mman.h>#include <seccomp.h>#include <sys/prctl.h>#include <fcntl.h&g原创 2018-12-26 18:07:35 · 410 阅读 · 0 评论 -
pwnable.kr [lotto][cmd1][cmd2]
pwnable.kr [lotto][cmd1][cmd2]lottoMommy! I made a lotto program for my homework.do you want to play?ssh lotto@pwnable.kr -p2222 (pw:guest)#include <stdio.h>#include <stdlib.h>#in...原创 2018-12-17 20:51:05 · 210 阅读 · 0 评论 -
pwnable [uaf]
pwnable [uaf]Mommy, what is Use After Free bug?ssh uaf@pwnable.kr -p2222 (pw:guest)题意:本题主要利用了uaf漏洞,和c++类实例的内存分配。uaf漏洞看这个链接c++类实例的内存分配看这个链接方法:类的虚函数表地址如下可以看到是固定的地址,结合类实例的第一个参数为指向虚函数地址表的指针。那么...原创 2018-12-24 22:57:04 · 303 阅读 · 0 评论 -
Windows编程个人笔记
目录Windows编程个人笔记win32界面编程DLL调用消息处理机制常用函数HOOK 功能socket udp编程Windows编程个人笔记win32界面编程Winmain() 是界面的入口函数CreateWindow()是界面的展示函数。通过CreateWindows()展示界面调用ShowWindow()来展示。DLL调用 HMODULE hDll =LoadLibrar...原创 2019-04-26 21:51:21 · 228 阅读 · 0 评论 -
pwnable.kr [input]
pwnable.kr [input]Mom? how can I pass my input to a computer program?ssh input2@pwnable.kr -p2222 (pw:guest)input.c 的代码#include &lt;stdio.h&gt;#include &lt;stdlib.h&gt;#include &lt;string.h&gt原创 2018-12-02 11:36:35 · 280 阅读 · 0 评论 -
pwnable.kr [random]
pwnable.kr [random]Daddy, teach me how to use random value in programming!ssh random@pwnable.kr -p2222 (pw:guest)代码如下#include <stdio.h>int main(){ unsigned int random; ra...原创 2018-11-25 19:56:01 · 204 阅读 · 0 评论 -
ubuntu的几个命令行
个人备忘录(1)ubuntu配置mysql+django+nginx服务器开始用命令行先装软件sudo apt-get install pythonsudo apt-get install nginxsudo apt-get install mysql-serversudo apt isntall mysql-clientsudo apt install libmy...原创 2018-03-25 21:39:48 · 567 阅读 · 0 评论 -
python列表切片的一点理解
python列表切片解读格式[ start :end :step ] start和end取0或正值时表示从前往后数的第几个,0表示第一个,end取到相应的值是不取的 取负值时 ,-1表示是序列最后一个,-n表示是倒着数的第n个,同样end取到的相应的值是不取的 当要取最后一个时就把end只有省略了 step取正值时表示从前往后取相应的步长 step取负值时表示从前往后取相应...原创 2018-04-01 22:12:01 · 285 阅读 · 0 评论 -
ACM个人知识点记录
ACM个人知识点记录数论链接原创 2018-07-16 22:41:29 · 439 阅读 · 0 评论 -
bzoj 2120 数颜色 (分块做法)
bzoj 2120 数颜色 (分块做法)此篇文章主要讲修改操作 用pre[i]表示第i个元素的前一个相同元素的位置,问题变成在区间[l,r]里找大于l的数的个数, (具体什么意思去其他地方看)默认值为最大值。 用ppp[i]表示颜色i最后出现的位置(针对这道题颜色最多1e6种,建一个1e6的数组即可) color[i]表示第i个位置是什么颜色 总块数为n1.建区块(网上有)2...原创 2018-07-29 10:04:57 · 455 阅读 · 0 评论 -
selenium+python使用笔记
selenium+python使用笔记参考文档不是官方文档安装pip install selenium然后要装浏览器驱动和浏览器驱动要放在python的目录下开干例子from selenium import webdriverfrom selenium.webdriver.common.keys import Keysdriver = webdriver.Firefox(...原创 2018-09-23 23:49:46 · 157 阅读 · 0 评论 -
pwnable.kr [collison]
pwnable.kr [collison]Daddy told me about cool MD5 hash collision today.I wanna do something like that too!ssh col@pwnable.kr -p2222 (pw:guest)水题(个屁 )代码如下#include &lt;stdio.h&gt;#include &lt;s...原创 2018-11-06 23:33:54 · 173 阅读 · 0 评论 -
jarvisoj_level0
jarvisoj_level0通过命令检查文件类型file level0发现是64位的可执行文件然后用64-ida打开按F5显示伪代码,很简单这是一个hello world的程序然后开始分析可以看到main函数一共调用了三个函数然后依次检查函数,检查 通过网上答案发现vunlnerable_function这个函数调用了200h的内存空间,其实作者也看不懂,建议进行这一步时先看...原创 2018-11-05 23:17:43 · 1915 阅读 · 2 评论 -
pwnable.kr [fd]
pwnable.kr [fd]Mommy! what is a file descriptor in Linux?try to play the wargame your self but if you are ABSOLUTE beginner, follow this tutorial link:https://youtu.be/971eZhMHQQwssh fd@pwnable....原创 2018-11-05 23:49:01 · 257 阅读 · 0 评论 -
xbox手柄usb连接linux python控制
xbox手柄usb连接linux python控制手柄在linux中叫joystick 首先插上手柄,打开目录/dev/input,ls看到里面以js0,js1等文件就是手柄的输入。用这个代码。import os, struct, arrayfrom fcntl import ioctl# Iterate over the joystick devices.print('Availa...原创 2019-08-18 15:14:04 · 3406 阅读 · 4 评论