1.ret2text
2.ret2shellcode
TypeError: ljust() argument 2 must be a byte string of length 1, not str
ljust(num,char)
num:填充后的总长度
char:字符或长度为一的字符串注意在新版本python中可能需要用 b'char' 发送字节流数据
python中不能用关键字作为名字,否则会引用错误
eg:在做pwn题时,需要用from pwn import*,所以不要用pwn为文件名,否则会报错
参考链接:
pwntools报错“NameError: name ‘process’ is not defined”
命名py脚本时,不要与python预留字,模块名等相同。
tag:
缺失模块。
1、请确保node版本大于6.2
2、在博客根目录(注意不是yilia根目录)执行以下命令:
npm i hexo-generator-json-content --save
3、在根目录_config.yml里添加配置:
jsonContent: meta: false pages: false posts: title: true date: true path: true text: false raw: false content: false slug: false updated: false comments: false link: false permalink: false excerpt: false categories: false tags: true
朱登榜,来自河南郑州,河南大学学生,倘若文章有错误,望提醒修正,感谢!<br>qq:879322660<br>微信:z15981855791