Giter Club home page Giter Club logo

Comments (10)

cfc4n avatar cfc4n commented on June 16, 2024

请补充详细信息。

测试的app是哪个? 操作顺序是什么?

from ecapture.

Qiaijueqing avatar Qiaijueqing commented on June 16, 2024

应用为:https://apkcombo.com/gcash/com.globe.gcash.android/

ecapture版本:0.7.4

操作顺序为:
adb shell
su
cd /data/local/tmp/
./ecapture tls -m tex -l text6.log
启动app 登录 直到验证码过后输入密码部分

报错结果为:
2024/02/26 15:05:14 Your environment is like a container. We won't be able to detect the BTF configuration.
2024/02/26 15:05:16 [http response] DumpResponse error: http: ContentLength=298 with Body length 372
2024/02/26 15:05:17 [http response] DumpResponse error: flate: corrupt input before offset 776
2024/02/26 15:05:17 [http response] DumpResponse error: http: ContentLength=69 with Body length 43
2024/02/26 15:05:18 [http response] DumpResponse error: invalid byte in chunk length
2024/02/26 15:05:20 [http response] DumpResponse error: flate: corrupt input before offset 4486
2024/02/26 15:05:21 DumpRequest error: unexpected EOF
2024/02/26 15:05:21 DumpRequest error: unexpected EOF
2024/02/26 15:05:22 [http response] DumpResponse error: invalid byte in chunk length
2024/02/26 15:05:22 [http response] DumpResponse error: unexpected EOF
2024/02/26 15:05:25 [http response] DumpResponse error: invalid byte in chunk length

./ecapture tls -m tex --hex -l text6.log
不会报错 但是只能输出hex最大为4096 实际为7820

hex模式下是否可以支持过长分段打印?

from ecapture.

cfc4n avatar cfc4n commented on June 16, 2024

hex输出格式下,不支持分段。 或者你可以使用-m pcap模式保存查看。

另外,不是已经输出到text6.log里了吗? 直接打开看呗,为什么还需要分段。

from ecapture.

Qiaijueqing avatar Qiaijueqing commented on June 16, 2024

只有 ./ecapture tls -m tex --hex -l text6.log 有输出结果 ./ecapture tls -m tex -l text6.log 和 ./ecapture tls -m pcap -i wlan0 --pcapfile=ecapture.pcapng 报错数据包没有捕获到

from ecapture.

ruitianzhong avatar ruitianzhong commented on June 16, 2024

I have partially reproduced the similar DumpResponse error mentioned by @Qiaijueqing on my Ubuntu 22.04.

Reproduce
run the following command in one terminal:

sudo ./ecapture tls -m tex

run the following command in another terminal:

wget -d --header 'Accept-Encoding: gzip' https://www.baidu.com

output from ecapture:

tls_2024/03/01 09:47:41 UUID:13032_13032_wget_3_1, Name:HTTPRequest, Type:1, Length:124
tls_2024/03/01 09:47:41 
GET / HTTP/1.1
Host: www.baidu.com
Accept: */*
Accept-Encoding: gzip
Connection: Keep-Alive
User-Agent: Wget/1.21.2


2024/03/01 09:47:41 [http response] DumpResponse error: http: ContentLength=1145 with Body length 2443

The error is returned from net/http/trasfer.go::writeBody():

	if !t.ResponseToHEAD && t.ContentLength != -1 && t.ContentLength != ncopy {
		return fmt.Errorf("http: ContentLength=%d with Body length %d",
			t.ContentLength, ncopy)
	}

from ecapture.

Qiaijueqing avatar Qiaijueqing commented on June 16, 2024

#497 此错误和我提到的错误一样

from ecapture.

cfc4n avatar cfc4n commented on June 16, 2024

预计本周发布修复后版本。

from ecapture.

cfc4n avatar cfc4n commented on June 16, 2024

@Qiaijueqing 请使用 v0.7.5 验证一下。

from ecapture.

molszews avatar molszews commented on June 16, 2024

any chance for android nocore aarch64 version?

from ecapture.

cfc4n avatar cfc4n commented on June 16, 2024

any chance for android nocore aarch64 version?

uploaded. In the future, core and non-core versions will not be distinguished.

from ecapture.

Related Issues (20)

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.