vscode在使用pwntools的send系列函数时,会出现高亮错误的情况,目前最好的解决办法时对pwntools源码进行更改
右键send函数,选择Go to Definition,打开pwntools源码
Go to Definition
ctrl+F搜索send_raw函数
ctrl+F
把函数末尾的raise EOFError('Not implemented')更换成raise NotImplementedError()既可
raise EOFError('Not implemented')
raise NotImplementedError()