现有1.txt如下- (Request-Line) GET /ip.php HTTP/1.1
- Host www.socks-5.com
- User-Agent Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4
- Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
- Accept-Language en-us
- Accept-Encoding gzip,deflate
- Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7
- Keep-Alive 300
- Connection keep-alive
- Cookie cookietest_time=Wednesday+30th+of+November+2011+03-15-19+PM
复制代码 编写bat生成如下格式的txt 并把生成的txt内容存在内存粘贴板里 以便粘贴(2个txt区别在于去掉1.txt第一行,余下每行第一个词后的空格改为:加空格)- Host: www.socks-5.com
- User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4
- Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
- Accept-Language: en-us
- Accept-Encoding: gzip,deflate
- Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
- Keep-Alive: 300
- Connection: keep-alive
- Cookie: cookietest_time=Wednesday+30th+of+November+2011+03-15-19+PM
复制代码
|