-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
增加转发http数据包到其他代理软件功能 #103
Open
Richard-Tang
wants to merge
8
commits into
r0ysue:main
Choose a base branch
from
Richard-Tang:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
增加转发http数据包到其他代理软件功能 #103
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
没注意吧README覆盖了,重新回滚了一下。 |
r0capture.py文件里的这个异常打印输出看一下 if isForward:
try:
_forwarder = Forwarder(isForward)
except Exception as e:
print(e)
print('Please check forward proxy host format.')
exit() |
上传的报文body内容转发不过去 |
项目很久没看了,有对应的apk吗?发我下载链接,有空我看看。 |
为啥代理出来到burp上显示的是127.0.0.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
功能场景
目前r0capture是以pcap和print的方式查看数据包,有时在应对渗透测试的场景下,需要用到burpsuite或yakit此类工具进行改包,方便进行数据包的分析和修改。
新增参数
-F http://127.0.0.1:8080
或--isForward http://127.0.0.1:8080
python r0capture.py -U -f package -F http://127.0.0.1:8080 -p test.pcap
演示效果
Tip
实现的forward只是对r0capture的SSL_write类型的function进行了处理,同时因为是hook的原因,并不能达到像平常代理那样的阻塞方式的拦截数据包。不过这也方便渗透测试人员对数据包的分析和测试 :)