knownsec / Pocsuite

This project has stopped to maintenance, please to https://github.com/knownsec/pocsuite3 project.
http://pocsuite.org
1.83k stars 607 forks source link

两个小问题 #42

Closed inno-jeremy closed 8 years ago

inno-jeremy commented 8 years ago

第一个是有关“--random-agent”的。在使用这个参数后,生成的User-Agent的形式便会如下: ['Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/532.0 (KHTML, like Gecko) Chrome/4.0.211.0 Safari/532.0'],即多了一组中括号和引号;

第二个是有关“-u”参数的。对于经由“-u”传入的地址,如开头不是“http://”或“https://”,便会在开头添加“http://”,而没有考虑到例如“ftp://”等协议,在使用上造成了一些不便