当前位置:网站首页>Ida Pro reverse tool finds the IP and port of the socket server
Ida Pro reverse tool finds the IP and port of the socket server
2022-07-07 15:36:00 【Xiaoxiangzai】
When reverse analyzing code , Sometimes we need to find some software provided by the server ip:port.
Use IDA pro Decompiled code , Find the socket setting code , Find what we expect IP and port Where is the number
What should we do then ?
First step : Turn the address information into 16 A positive number in hexadecimal
Check the number , Right click selection invert sign and Hexadecimal.
The second step :ip The address is converted to an integer
Use the online address translation tool to ip The address is converted to an integer
If you want to write it yourself C Language code implementation , have access to atoi function , Refer to this article :
The third step : Byte order conversion
There are four kinds of byte order conversion functions
htons : take 16 Wei Wu Symbolic integers are converted from local byte order to network byte order
htonl : take 32 Wei Wu Symbolic integers are converted from local byte order to network byte order
ntohs : take 16 Wei Wu Symbolic integers are converted from network byte order to local byte order
ntohl : take 32 Wei Wu Symbolic integers are converted from network byte order to local byte order
You can also do it by hand .
there IP yes 1.0.0.127 -> 127.0.0.1
there port yes 0xA822 -> 0x228A = 8872
边栏推荐
- Concurrency Control & NoSQL and new database
- Write a ten thousand word long article "CAS spin lock" to send Jay's new album to the top of the hot list
- Compile advanced notes
- 【数字IC验证快速入门】22、SystemVerilog项目实践之AHB-SRAMC(2)(AMBA总线介绍)
- 2.Golang基础知识
- [quick start of Digital IC Verification] 24. AHB sramc of SystemVerilog project practice (4) (AHB continues to deepen)
- A need to review all the knowledge, H5 form is blocked by the keyboard, event agent, event delegation
- Nacos一致性协议 CP/AP/JRaft/Distro协议
- 从 1.5 开始搭建一个微服务框架链路追踪 traceId
- 2. 堆排序『较难理解的排序』
猜你喜欢
[机缘参悟-40]:方向、规则、选择、努力、公平、认知、能力、行动,读3GPP 6G白皮书的五层感悟
[make a boat diary] [shapr3d STL format to gcode]
[quick start for Digital IC Validation] 26. Ahb - sramc (6) for system verilog project practice (Basic Points of APB Protocol)
【服务器数据恢复】某品牌StorageWorks服务器raid数据恢复案例
CTFshow,信息搜集:web12
【數據挖掘】視覺模式挖掘:Hog特征+餘弦相似度/k-means聚類
2022 all open source enterprise card issuing network repair short website and other bugs_ 2022 enterprise level multi merchant card issuing platform source code
Notes HCIA
Win10 or win11 taskbar, automatically hidden and transparent
How to release NFT in batches in opensea (rinkeby test network)
随机推荐
[deep learning] image hyperspectral experiment: srcnn/fsrcnn
【深度学习】图像超分实验:SRCNN/FSRCNN
【Markdown语法高级】让你的博客更精彩(四:设置字体样式以及颜色对照表)
Niuke real problem programming - day16
简述keepalived工作原理
【目标检测】YOLOv5跑通VOC2007数据集
"Baidu Cup" CTF competition 2017 February, web:include
【数字IC验证快速入门】24、SystemVerilog项目实践之AHB-SRAMC(4)(AHB继续深入)
使用cpolar建立一个商业网站(2)
Bye, Dachang! I'm going to the factory today
【服务器数据恢复】某品牌StorageWorks服务器raid数据恢复案例
2022年5月互联网医疗领域月度观察
A need to review all the knowledge, H5 form is blocked by the keyboard, event agent, event delegation
There is a cow, which gives birth to a heifer at the beginning of each year. Each heifer has a heifer at the beginning of each year since the fourth year. Please program how many cows are there in the
Niuke real problem programming - day20
Compile advanced notes
拜拜了,大厂!今天我就要去厂里
【数字IC验证快速入门】25、SystemVerilog项目实践之AHB-SRAMC(5)(AHB 重点回顾,要点提炼)
CTFshow,信息搜集:web9
CTFshow,信息搜集:web3