GithubHelp home page GithubHelp logo

kiwi's People

Contributors

alpha1e0 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kiwi's Issues

kiwilime 配置

请问将 kiwilime 目录整个 copy 到 package-directory后 在sublime里如何对当前 Forder 进行源码安全审计扫描。按钮基本上是灰的

SyntaxError: invalid syntax

copying build/lib/kiwi/core/issuemgr.py -> build/bdist.linux-x86_64/egg/kiwi/core
copying build/lib/kiwi/init.py -> build/bdist.linux-x86_64/egg/kiwi
byte-compiling build/bdist.linux-x86_64/egg/kiwi/ui/cli/init.py to init.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/kiwi/ui/cli/main.py to main.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/kiwi/ui/webui/report_console.py to report_console.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/kiwi/ui/webui/application.py to application.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/kiwi/ui/webui/init.py to init.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/kiwi/ui/init.py to init.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/kiwi/core/analyzer.py to analyzer.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/kiwi/core/common.py to common.cpython-37.pyc
File "build/bdist.linux-x86_64/egg/kiwi/core/common.py", line 131
def out(cls, msg, color): print cls.colorize(msg, color)
^

我把这几个都用pip下了,为什么还会报错呢?

關於"result = yaml.load(_file)"

$ python2 kiwi.py -f C:\Users\test\Documents\test\kiwi\kiwi\kiwi_data -i TEST001 -t C:\Users\test\Documents\test\test
+------------------------------------------------------------------------------+
|                 Kiwi. Security tool for auditing source code                 |
|                       https://github.com/alpha1e0/kiwi                       |
+------------------------------------------------------------------------------+

[Kiwi 代码安全扫描]
--------------------------------------------------------------------------------
[i]: kiwi 扫描 C:\Users\test\Documents\test\test ...
C:\Users\test\Documents\test\kiwi\kiwi\kiwi\kiwi\core\common.py:37: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  result = yaml.load(_file)

result = yaml.load(_file) 這是正常的?

關於chcp win10

win10 64bits
chcp 65001

$ kiwi
+------------------------------------------------------------------------------+
|                 Kiwi. Security tool for auditing source code                 |
|                       https://github.com/alpha1e0/kiwi                       |
+------------------------------------------------------------------------------+

Traceback (most recent call last):
  File "C:\Python27\Scripts\kiwi-script.py", line 11, in <module>
    load_entry_point('kiwi==1.1', 'console_scripts', 'kiwi')()
  File "C:\Python27\lib\site-packages\kiwi-1.1-py2.7.egg\kiwi\ui\cli\main.py", line 63, in main
    out.init(u"Kiwi 代码安全扫描")
  File "C:\Python27\lib\site-packages\kiwi-1.1-py2.7.egg\kiwi\core\common.py", line 91, in init
    self.yellow(u"[{0}]".format(self._title))
  File "C:\Python27\lib\site-packages\kiwi-1.1-py2.7.egg\kiwi\core\common.py", line 141, in yellow
    def yellow(cls, msg): cls.out(msg, 'yellow')
  File "C:\Python27\lib\site-packages\kiwi-1.1-py2.7.egg\kiwi\core\common.py", line 131, in out
    def out(cls, msg, color): print cls.colorize(msg, color)
  File "C:\Python27\lib\site-packages\kiwi-1.1-py2.7.egg\kiwi\core\common.py", line 108, in colorize
    cls.tostr(msg)
  File "C:\Python27\lib\site-packages\kiwi-1.1-py2.7.egg\kiwi\core\common.py", line 98, in tostr
    msg = msg.encode(cls.ENCODING)
LookupError: unknown encoding: cp65001

chcp 950

$ kiwi
+------------------------------------------------------------------------------+
|                 Kiwi. Security tool for auditing source code                 |
|                       https://github.com/alpha1e0/kiwi                       |
+------------------------------------------------------------------------------+

Traceback (most recent call last):
  File "C:\Python27\Scripts\kiwi-script.py", line 11, in <module>
    load_entry_point('kiwi==1.1', 'console_scripts', 'kiwi')()
  File "C:\Python27\lib\site-packages\kiwi-1.1-py2.7.egg\kiwi\ui\cli\main.py", line 63, in main
    out.init(u"Kiwi 隞??摰?急?")
  File "C:\Python27\lib\site-packages\kiwi-1.1-py2.7.egg\kiwi\core\common.py", line 91, in init
    self.yellow(u"[{0}]".format(self._title))
  File "C:\Python27\lib\site-packages\kiwi-1.1-py2.7.egg\kiwi\core\common.py", line 141, in yellow
    def yellow(cls, msg): cls.out(msg, 'yellow')
  File "C:\Python27\lib\site-packages\kiwi-1.1-py2.7.egg\kiwi\core\common.py", line 131, in out
    def out(cls, msg, color): print cls.colorize(msg, color)
  File "C:\Python27\lib\site-packages\kiwi-1.1-py2.7.egg\kiwi\core\common.py", line 108, in colorize
    cls.tostr(msg)
  File "C:\Python27\lib\site-packages\kiwi-1.1-py2.7.egg\kiwi\core\common.py", line 98, in tostr
    msg = msg.encode(cls.ENCODING)
UnicodeEncodeError: 'cp950' codec can't encode character u'\u7801' in position 7: illegal multibyte sequence

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.