CMD打开方式
telnet 本地IP4地址 端口号
CTRL+] 然后Enter打开回显功能
GET请求
GET /sung.aspx HTTP/1.1 —请求行
Host:localhost —请求头
请求行分为三部分
请求方法 请求路径 HTTP协议
请求主体可有可无
POST请求
POST /sung.aspx HTTP/1.1
Host:localhost
Content-type: application/x-www-form-urlencoded --文本内容类型
Content-length:411 --主体字符长度
__VIEWSTATE=JHYqm2mi8WbQdLcOj%2FY3Ym4t%2FHmvI%2B5H2%2FpONJ5ey1Sr%2BcVMv74u9veVVKMFEgt%2BQN7KshSIz2qVa8q7KndrsJFLdwpFyTJSPWV6Oz4dELA%3D&__VIEWSTATEGENERATOR=938F85E9&__EVENTVALIDATION=7ntyenXtMXHgp%2B%2BN0h5ReR%2BJxTp1zwe%2FAwYv7a4iSbWCsnxU78sEkW2STBCeGBI5Fb2imPLPUOA2JshYAWcLUR4mMe8vyFzgdVnpVB2HeJuhJGRV%2ByjkjjZ8sw%2FVp%2BgSu4BOE5RHcCyK94BPYMeAnQX26w6R7MhKulXcr8Giiuk%3D&name=1&pws=1&Button1=%E6%B3%A8%E5%86%8C – 主体内容