当前位置:网站首页>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
边栏推荐
- [understanding of opportunity -40]: direction, rules, choice, effort, fairness, cognition, ability, action, read the five layers of perception of 3GPP 6G white paper
- leetcode 241. Different Ways to Add Parentheses 为运算表达式设计优先级(中等)
- Comparable and comparator of sorting
- CTFshow,信息搜集:web6
- HW初级流量监控,到底该怎么做
- Guangzhou Development Zone enables geographical indication products to help rural revitalization
- 【数字IC验证快速入门】19、SystemVerilog学习之基本语法6(线程内部通信...内含实践练习)
- Qu'est - ce qu'une violation de données
- PAT 甲级 1103 Integer Factorizatio
- 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
猜你喜欢
【数据挖掘】视觉模式挖掘:Hog特征+余弦相似度/k-means聚类
【数字IC验证快速入门】20、SystemVerilog学习之基本语法7(覆盖率驱动...内含实践练习)
CTFshow,信息搜集:web2
CTFshow,信息搜集:web1
【OBS】RTMPSockBuf_Fill, remote host closed connection.
Unity's ASE realizes cartoon flame
Niuke real problem programming - day20
Why do we use UTF-8 encoding?
【数字IC验证快速入门】25、SystemVerilog项目实践之AHB-SRAMC(5)(AHB 重点回顾,要点提炼)
Niuke real problem programming - Day9
随机推荐
写一篇万字长文《CAS自旋锁》送杰伦的新专辑登顶热榜
使用Scrapy框架爬取网页并保存到Mysql的实现
Niuke real problem programming - day18
什么是数据泄露
CTFshow,信息搜集:web1
2.Golang基础知识
Database exception resolution caused by large table delete data deletion
【服务器数据恢复】某品牌StorageWorks服务器raid数据恢复案例
Stm32f103c8t6 PWM drive steering gear (sg90)
【数字IC验证快速入门】18、SystemVerilog学习之基本语法5(并发线程...内含实践练习)
@ComponentScan
【OBS】RTMPSockBuf_Fill, remote host closed connection.
【兰州大学】考研初试复试资料分享
2. 堆排序『较难理解的排序』
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
【深度学习】语义分割实验:Unet网络/MSRC2数据集
Niuke real problem programming - Day10
Ctfshow, information collection: web13
CTFshow,信息搜集:web13
Introduction of mongod management database method