Open 687766616e opened 5 years ago
怎麼解決? ^^'' conemu
chcp 936有效..........
Active code page: 936
$ kiwi
+------------------------------------------------------------------------------+
| Kiwi. Security tool for auditing source code |
| https://github.com/alpha1e0/kiwi |
+------------------------------------------------------------------------------+
[Kiwi 代码安全扫描]
--------------------------------------------------------------------------------
usage: kiwi [-h] -t TARGET [-f FEATURE_DIR] [-i FEATURE_IDS [FEATURE_IDS ...]]
[-e EXTENSIONS [EXTENSIONS ...]] [--igexts IGEXTS [IGEXTS ...]]
[--excludes EXCLUDES [EXCLUDES ...]] [-c SCTX] [--ectx ECTX]
[-o OUTPUTS [OUTPUTS ...]] [-v]
kiwi: error: argument -t/--target is required
还有希望之后能忽略扫描文件內容包含关键字的文件
eg --excludes-content zend
則忽略扫描文件內容包含"zend"的文件 (正則?)
-e
怎样扫描.123.php
.php.123123123
.php.(rand)
文件? ^^''
-e EXTENSIONS [EXTENSIONS ...], --extensions EXTENSIONS [EXTENSIONS ...]
指定扫描哪些类型文件,例如-e php js则扫描.php .js文件
--igexts IGEXTS [IGEXTS ...]
指定忽略扫描哪些类型文件,例如--igexts php js则扫描.php .js文件
指定忽略扫描哪些类型文件,例如--igexts php js则扫描.php .js文件 ?????????
帮助信息错了,应该是“则忽略扫描”
发送自 Windows 10 版邮件应用
发件人: huitc 发送时间: 2019年6月24日 5:06 收件人: alpha1e0/kiwi 抄送: Subscribed 主题: Re: [alpha1e0/kiwi] 關於chcp win10 (#5)
-e EXTENSIONS [EXTENSIONS ...], --extensions EXTENSIONS [EXTENSIONS ...]
指定扫描哪些类型文件,例如-e php js则扫描.php .js文件
--igexts IGEXTS [IGEXTS ...]
指定忽略扫描哪些类型文件,例如--igexts php js则扫描.php .js文件
指定忽略扫描哪些类型文件,例如--igexts php js则扫描.php .js文件 ????????? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
-e 参数使用python “endswith”函数来做判断,如果想要扫描 xxx.ext1,xxx.ext2则使用-e ext1 ext2
目前不支持通过文件内容过滤
发送自 Windows 10 版邮件应用
发件人: huitc 发送时间: 2019年6月24日 4:54 收件人: alpha1e0/kiwi 抄送: Subscribed 主题: Re: [alpha1e0/kiwi] 關於chcp win10 (#5)
还有希望之后能忽略扫描文件內容包含关键字的文件 eg --excludes-content zend 則忽略扫描文件內容包含"zend"的文件 (正則?) -e 怎样扫描.123.php .php.123123123文件? ^^'' — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
-e 参数使用python “endswith”函数来做判断,如果想要扫描 xxx.ext1,xxx.ext2则使用-e ext1 ext2 目前不支持通过文件内容过滤 发送自 Windows 10 版邮件应用 发件人: huitc 发送时间: 2019年6月24日 4:54 收件人: alpha1e0/kiwi 抄送: Subscribed 主题: Re: [alpha1e0/kiwi] 關於chcp win10 (#5) 还有希望之后能忽略扫描文件內容包含关键字的文件 eg --excludes-content zend 則忽略扫描文件內容包含"zend"的文件 (正則?) -e 怎样扫描.123.php .php.123123123文件? ^^'' — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
但我遇到的是像这样的 ABC.php.20180126 123.qqphp 123php 。。。。。。
这种情况下有两种解决方法:
在 2019年7月2日,20:27,huitc notifications@github.com 写道:
-e 参数使用python “endswith”函数来做判断,如果想要扫描 xxx.ext1,xxx.ext2则使用-e ext1 ext2 目前不支持通过文件内容过滤 发送自 Windows 10 版邮件应用 发件人: huitc 发送时间: 2019年6月24日 4:54 收件人: alpha1e0/kiwi 抄送: Subscribed 主题: Re: [alpha1e0/kiwi] 關於chcp win10 (#5 https://github.com/alpha1e0/kiwi/issues/5) 还有希望之后能忽略扫描文件內容包含关键字的文件 eg --excludes-content zend 則忽略扫描文件內容包含"zend"的文件 (正則?) -e 怎样扫描.123.php .php.123123123文件? ^^'' — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
但我遇到的是像这样的 ABC.php.20180126 123.qqphp 123php 。。。。。。
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/alpha1e0/kiwi/issues/5?email_source=notifications&email_token=AC2WCROTZ25TK7UL35KZGPTP5NCT7A5CNFSM4H2ZXA6KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZBDE3Q#issuecomment-507654766, or mute the thread https://github.com/notifications/unsubscribe-auth/AC2WCRIO5CEWBO6TUKHSXELP5NCT7ANCNFSM4H2ZXA6A.
chcp 65001
chcp 950
不能用..
win10 64bits
chcp 65001
chcp 950