铁血, Please read inline,
2012/3/30 铁血 <932969...@qq.com>: > Hi all, > > I'm using eclipse+pydev to develop a plugin of w3af,but when I import w3af > sourcecode to the eclipse IDE,some errors had occured. > > Traceback (most recent call last): > File "E:\workspace\python\w3af\w3af_console", line 153, in <module> > errCode = main() > File "E:\workspace\python\w3af\w3af_console", line 149, in main > console.sh() > File "E:\workspace\python\w3af\core\ui\consoleUi\consoleUi.py", line 135, > in sh > self._context = rootMenu(name, self, self._w3af) > File "E:\workspace\python\w3af\core\ui\consoleUi\rootMenu.py", line 66, in > __init__ > 'kb': kbMenu > File "E:\workspace\python\w3af\core\ui\consoleUi\util.py", line 27, in > mapDict > fun(p, dct[p]) > File "E:\workspace\python\w3af\core\ui\consoleUi\menu.py", line 109, in > addChild > self._children[name] = constructor(name, self._console, self._w3af, > self, *params) > File "E:\workspace\python\w3af\core\ui\consoleUi\exploit.py", line 47, in > __init__ > plugin = self._w3af.getPluginInstance( pluginName, 'attack' ) > File "E:\workspace\python\w3af\core\controllers\w3afCore.py", line 1324, > in getPluginInstance > pluginInst = factory('plugins.' + pluginType + '.' + pluginName) > File "E:\workspace\python\w3af\core\controllers\misc\factory.py", line 48, > in factory > raise w3afException('There was an error while importing '+ moduleName + > ': "' + str(ie) + '".') > core.controllers.w3afException.w3afException: There was an error while > importing plugins.attack.davShell: "No module named pcapy". Do you have scapy installed in your windows system? Was it installed in your python PATH? When you install w3af using our installer, it will decompress a full python with all the libraries inside; which doesn't mean that the libraries were installed in your Python's installation. Regards, > > > > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > _______________________________________________ > W3af-develop mailing list > W3af-develop@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/w3af-develop > -- Andrés Riancho Director of Web Security at Rapid7 LLC Founder at Bonsai Information Security Project Leader at w3af ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ W3af-develop mailing list W3af-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/w3af-develop