1: pdfminer 安装错误
Traceback (most recent call last):
File "./w3af_console", line 25, in <module>
from core.ui.console.console_ui import ConsoleUI
File "/home/hongshuai.yuan/w3af-master/core/ui/console/console_ui.py", line 42, in <module>
from core.controllers.w3afCore import w3afCore
File "/home/hongshuai.yuan/w3af-master/core/controllers/w3afCore.py", line 36, in <module>
from core.controllers.core_helpers.strategy import w3af_core_strategy
File "/home/hongshuai.yuan/w3af-master/core/controllers/core_helpers/strategy.py", line 30, in <module>
from core.data.url.extended_urllib import MAX_ERROR_COUNT
File "/home/hongshuai.yuan/w3af-master/core/data/url/extended_urllib.py", line 45, in <module>
from core.data.parsers.HTTPRequestParser import HTTPRequestParser
File "/home/hongshuai.yuan/w3af-master/core/data/parsers/HTTPRequestParser.py", line 26, in <module>
from core.data.request.factory import create_fuzzable_request_from_parts
File "/home/hongshuai.yuan/w3af-master/core/data/request/factory.py", line 29, in <module>
import core.data.parsers.parser_cache as parser_cache
File "/home/hongshuai.yuan/w3af-master/core/data/parsers/parser_cache.py", line 26, in <module>
import core.data.parsers.document_parser as DocumentParser
File "/home/hongshuai.yuan/w3af-master/core/data/parsers/document_parser.py", line 25, in <module>
from core.data.parsers.pdf import PDFParser, pdf_to_text
File "/home/hongshuai.yuan/w3af-master/core/data/parsers/pdf.py", line 26, in <module>
from pdfminer.pdfinterp import PDFResourceManager, PDFPageInterpreter, process_pdf
ImportError: cannot import name process_pdf
解决方案是: sudo pip install http://pypi.python.org/packages/source/p/pdfminer/pdfminer-20110515.tar.gz
2: sudo pip install pybloomfiltermmap 安装失败
IOError: [Errno 2] No such file or directory: '/home/hongshuai.yuan/w3af-master/build/pybloomfiltermmap/setup.py'
解决方案: 直接从git获取源码,执行 sudo python setup.py install 手动安装