linux下的抓包实现

tcpdump -i any tcp[20:2]=0x4745 or tcp[20:2]=0x4854 -X -P out

readyRead-readAll:

"16:15:57.925105 IP localhost.localdomain.40262 > 192.168.1.12.16005: tcp 915\nE.....@.@.....@......F>.........P.......GET /Package/GetUploadLists?time=%E6%B5%8F%E8%A7%88%E5%99%A8%E5%9C%B0%E5%9D%80&status=0&product=&version=&publishType=0&topic=&operationTime=&operationTimeEnd=&currPage=1&pageSize=10 HTTP/1.1\nHost: 192.168.1.12:16005\nUser-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0\nAccept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\nAccept-Language: en-US,en;q=0.5\nAccept-Encoding: gzip, deflate\nCookie: RememberName=%e5%be%90%e5%bb%ba%e5%86%9b; RememberUser=xujianjun; RememberPwd=1; loginName=5998A138F7EBE91D3ABCB37E96197176483A25ED4BFFFCC292914801939BC730AF7A24E55BE372635AE0739281A2F78B52079763EF9B12D0026AABE55CD6D44C97C716FD3E47324038C1436207FA782CB0FD9BAFF68FCFF0FD4115F2DDCDDAED; ASP.NET_SessionId=v3fpetpkm5n5s5zp205wxeia; AdminName=MG=%e5%be%90%e5%bb%ba%e5%86%9b; AdminPwd=MG=1\nConnection: keep-alive\nUpgrade-Insecure-Requests: 1\nCache-Control: max-age=0\n\n.....=q8aN..8F..\n"

readyRead-readAllStandardOutput:

./configure -release -opensource -nomake examples -nomake tests -recheck-all

sudo ./configure -platform linux-aarch64-gnu-g++ -nomake examples -nomake tests -opensource -skip qt3d

执行./configure 出现:"You don't seem to have 'make' or 'gmake' in your PATH"

sudo apt-get install build-essential

如果还不能解决,手动指定$MAKE

export MAKE=/usr/bin/make

export QTDIR=/usr/local/Qt-5.9.9

export PATH=QTDIR/bin:PATH

export MANPATH=QTDIR/man:MANPATH

export LD_LIBRARY_PATH=QTDIR/lib:LD_LIBRARY_PATH

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

相关推荐
blessing。。13 分钟前
I2C学习
linux·单片机·嵌入式硬件·嵌入式
2202_7544215427 分钟前
生成MPSOC以及ZYNQ的启动文件BOOT.BIN的小软件
java·linux·开发语言
努力的悟空1 小时前
国土变更调查拓扑错误自动化修复工具的研究
运维·自动化
运维&陈同学1 小时前
【zookeeper03】消息队列与微服务之zookeeper集群部署
linux·微服务·zookeeper·云原生·消息队列·云计算·java-zookeeper
旦沐已成舟1 小时前
DevOps-Jenkins-新手入门级
服务器
周末不下雨2 小时前
win11+ubuntu22.04双系统 | 联想 24 y7000p | ubuntu 22.04 | 把ubuntu系统装到1T的移动固态硬盘上!!!
linux·运维·ubuntu
软件技术员3 小时前
Let‘s Encrypt SSL证书:acmessl.cn申请免费3个月证书
服务器·网络协议·ssl
哎呦喂-ll3 小时前
Linux进阶:环境变量
linux
耗同学一米八3 小时前
2024 年河北省职业院校技能大赛网络建设与运维赛项样题四
运维·网络