Giter VIP home page Giter VIP logo

knot's Introduction

Knot

Knot 是一款iOS端抓包工具(没有其他的科学转发功能,单纯的抓包工具),包含所有完整代码(Network+UI),使用MITM(中间人攻击)技术,用swift编写,目前实现了http(s)解析,可扩展其他任何协议

目前已经上架 App Store

https://apps.apple.com/cn/app/knot-packet-capture/id1618651767

QR

已实现功能

  • http、https流量抓取
  • 流量解析、多格式导出、过程分析
  • 可抓取局域网内其他设备与外界通信数据
  • CA证书安装、导出
  • 中英文国际化
  • 过滤规则配置、导出

Run

  • 需要苹果账号,开启网络扩展
  • pod install
  • 真机运行

功能截图(仓库里有演示视频)

截图 截图 截图
截图 截图 截图
截图 截图 截图
截图 截图 截图
截图 截图 截图
截图 截图

knot's People

Contributors

lojii 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

knot's Issues

音视频流抓取不到

确实可以抓取到包。但是有些包会抓不到。比如如抓取虾米,抖音的音视频流。另外关于代码部分方便请教下么?如有邮箱之类的

app run success. but open vpn run failed

Warning(6): is not general line !
[info]-ASProtocol+Schame.swift[41]:createTable() --> Create Table Task success
***************SFVPNManager startStopToggled
starting!!!
VPN Status:Connecting
getAll error:no such table: session (code: 1)
VPN Status:Disconnecting
getAll error:no such table: session (code: 1)
VPN Status:Disconnected
getAll error:no such table: session (code: 1)

VPN error???

Warning(7): is not general line !
Warning(8): is not general line !
Warning(9): is not general line !
Warning(10): is not general line !
***************SFVPNManager startStopToggled
starting!!!
VPN Status:Connecting
getAll error:no such table: session (code: 1)
VPN Status:Disconnected
getAll error:no such table: session (code: 1)

我点击run之后就会出现以上错误。
请问出现以上的问题应该怎么解决?

上架问题

请问大佬这类软件是怎么上架的,我的功能里面需要用到抓包,但是没法过审

打包上传App Store时报动态库的错误

ERROR ITMS-90685: "CFBundleIdentifier Collision. There is more than one bundle with the CFBundleIdentifier value 'org.NIOSSL' under the iOS application 'FTInspectioned.app'."
ERROR ITMS-90205: "Invalid Bundle. The bundle at 'FTInspectioned.app/Frameworks/NIO.framework' contains disallowed nested bundles."
ERROR ITMS-90206: "Invalid Bundle. The bundle at 'FTInspectioned.app/Frameworks/NIO.framework' contains disallowed file 'Frameworks'."
参考以下解决方式无效
https://www.jianshu.com/p/de4d87f9d4e5
https://blog.csdn.net/yaojinhai06/article/details/85410916

请教如何解决当前网络环境证书不安全

hi 大神, 请教下,用openssl生成证书,源码编译出来的版本提示“当前网络环境证书不安全”;应用市场上下载的knot不提示 。这个怎么是怎么回事呢,生成证书这块有什么需要注意的吗?

VPN 连接不上

iphone ios 14.3 xcode 12.4

***************SFVPNManager startStopToggled
starting!!!
VPN Status:Connecting
getAll error:no such table: session (code: 1)
VPN Status:Disconnected
getAll error:no such table: session (code: 1)

点击软件就崩溃

XCode 版本: 11.4 beta
iOS版本: iOS 13.4
型号: iPhone XS Max
报错内容:

Fatal error: Unexpectedly found nil while unwrapping an Optional value: file /Users/xxx/Documents/Knot/TunnelServices/MitmService.swift, line 410
2020-03-18 08:01:10.480746+0800 NIO1901[2886:10076498] Fatal error: Unexpectedly found nil while unwrapping an Optional value: file /Users/xxx/Documents/Knot/TunnelServices/MitmService.swift, line 410

问题较多

1.已经配置好证书和App Group
问题较多。
屏幕快照 2020-02-28 上午9 23 42
Calling syncShutdownGracefully() on any EventLoop can lead to deadlocks.
几乎必现。
2.侥幸没有进断言,正常打开了
VPN Target进程 必闪退,还没时间查看问题。

希望楼主改进下。

关于Cert证书的方法

CertUtils.swift里的 generateCert NIOSSLPrivateKey._ref 变为internal, 外部无法访问,大佬能修复一下这个问题吗

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.