Skip to content

Commit

Permalink
Update Version Kunyu 1.6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
wikiZ committed Dec 22, 2021
1 parent 3d41baa commit 4ea2e87
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion doc/README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ HostCrash 1.1.1.1 G:\host.txt

Kunyu v1.6.2新增了一个有意思的功能,结合云函数对目标进行HOSTS碰撞,通过这样的方式有效的隐藏了我们的扫描IP防止被目标态势感知捕捉到,也防止了WAF对真实IP的封禁,并对特征进行了隐匿,通过下面的扫描效果可以发现扫描的IP均为云服务厂商且每次扫描均为随机IP地址,可以通过初始化时配置云函数地址的方式自主选择是否启用。

**配置导读:** [云函数的配置方法](./doc/Serverless_CN.md)
**配置导读:** [云函数的配置方法](./Serverless_CN.md)

**相关技术:**https://www.anquanke.com/post/id/261551

Expand Down
2 changes: 1 addition & 1 deletion kunyu/config/__version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
__python_version__ = sys.version.split()[0]
__platform__ = platform.platform()
__url__ = "https://github.com/knownsec/Kunyu"
__version__ = '1.6.2'
__version__ = '1.6.3'
__author__ = '风起'
__Team__ = 'KnownSec 404 Team'
__author_email__ = '[email protected]'
Expand Down
8 changes: 4 additions & 4 deletions kunyu/core/crash.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,12 +178,12 @@ def host_scan(self, search, ip):
res.encoding = 'gbk2312'
# Get the title of the returned result
title = re.findall('<title>(.+)</title>', res.text)
tmp_list = [res.request.headers['ip'], title[0]]
tmp_list = [res.request.headers['ip'],title[0]]
if status:
tmp_list.append(res.request.headers['hosts'])
tmp_list.insert(1,res.request.headers['hosts'])
# Unicode decoding of the information returned by cloud functions
tmp_list[1] = title[0].encode('utf8').decode('unicode_escape')
else:tmp_list.append(res.request.headers['host'])
tmp_list[2] = (title[0].encode('utf8').decode('unicode_escape'))
else:tmp_list.insert(1,res.request.headers['host'])
crash_list.append(tmp_list)
except Exception:
continue
Expand Down
6 changes: 3 additions & 3 deletions kunyu/core/zoomeye.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#!/usr/bin/env python
# encoding: utf-8
'''
"""
@author: 风起
@contact: [email protected]
@File: zoomeye.py
@Time: 2021/6/24 22:18
'''
"""

import os
import sys
Expand Down Expand Up @@ -616,7 +616,7 @@ def command_hostcrash(cls, args):
# Set output list content
for res in result_list:
table.add_row(
str(res[0]), str(res[2]),str(res[1])
str(res[0]), str(res[1]),str(res[2])
)
# Output table list to console
console.print(table)
Expand Down

0 comments on commit 4ea2e87

Please sign in to comment.