Skip to content

Python3.5环境,查询pocsuite的version时,异常处理语法报错 #155

@TesterCC

Description

@TesterCC

OS / Software Version

  • Please copy uname -a result here:
    Darwin MBP 15.6.0 Darwin Kernel Version 15.6.0: Thu Jun 23 18:25:34 PDT 2016; root:xnu-3248.60.10~1/RELEASE_X86_64 x86_64

  • Pocsuite version : pocsuite-2.0.7

How to reproduce the issue ?

正常通过pip安装pocsuite
$ pip install pocsuite
$ pocsuite --version

报错信息:
/virtualenv_workspace/pentest36/lib/python3.6/site-packages/pocsuite/pocsuite_cli.py", line 196
except Exception, ex:
^
SyntaxError: invalid syntax

看来是此版本此处的语法没有兼容python3的语法

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions