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

相关推荐
gywl20 分钟前
openEuler VM虚拟机操作(期末考试)
linux·服务器·网络·windows·http·centos
青木沐21 分钟前
Jenkins介绍
运维·jenkins
WTT00111 小时前
2024楚慧杯WP
大数据·运维·网络·安全·web安全·ctf
苹果醋31 小时前
React源码02 - 基础知识 React API 一览
java·运维·spring boot·mysql·nginx
了一li1 小时前
Qt中的QProcess与Boost.Interprocess:实现多进程编程
服务器·数据库·qt
日记跟新中2 小时前
Ubuntu20.04 修改root密码
linux·运维·服务器
唐小旭2 小时前
服务器建立-错误:pyenv环境建立后python版本不对
运维·服务器·python
码农君莫笑2 小时前
信管通低代码信息管理系统应用平台
linux·数据库·windows·低代码·c#·.net·visual studio
明 庭2 小时前
Ubuntu下通过Docker部署NGINX服务器
服务器·ubuntu·docker