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.....@.@[email protected]>.........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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


 

你可能感兴趣的:(linux,运维,服务器)