Skip to content

Instantly share code, notes, and snippets.

View stefan1wan's full-sized avatar

Junpeng Wan stefan1wan

  • Purdue University
  • /home/syssec
View GitHub Profile
@stefan1wan
stefan1wan / pwntools_example.py
Last active February 28, 2019 03:27 — forked from hzshang/example.py
how to use pwntools
from pwn import *
#启用调试模式,会将以后的交互信息打印出来
context.log_level="debug"
# 连接
# 和127.0.0.1的9999端口建立tcp连接
r=remote("127.0.0.1",9999)
# 运行一个可执行程序,方便本地调试
@stefan1wan
stefan1wan / Makefile
Created January 20, 2019 12:18 — forked from isaacs/Makefile
# Hello, and welcome to makefile basics.
#
# You will learn why `make` is so great, and why, despite its "weird" syntax,
# it is actually a highly expressive, efficient, and powerful way to build
# programs.
#
# Once you're done here, go to
# http://www.gnu.org/software/make/manual/make.html
# to learn SOOOO much more.