当前位置:网站首页>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
边栏推荐
- 【目标检测】YOLOv5跑通VOC2007数据集
- 写一篇万字长文《CAS自旋锁》送杰伦的新专辑登顶热榜
- Introduction of mongod management database method
- MongoD管理数据库的方法介绍
- [markdown grammar advanced] make your blog more exciting (IV: set font style and color comparison table)
- 【数字IC验证快速入门】23、SystemVerilog项目实践之AHB-SRAMC(3)(AHB协议基本要点)
- Why do we use UTF-8 encoding?
- CTFshow,信息搜集:web13
- leetcode 241. Different Ways to Add Parentheses 为运算表达式设计优先级(中等)
- Niuke real problem programming - day16
猜你喜欢
【数字IC验证快速入门】25、SystemVerilog项目实践之AHB-SRAMC(5)(AHB 重点回顾,要点提炼)
知否|两大风控最重要指标与客群好坏的关系分析
[quick start of Digital IC Verification] 22. Ahb-sramc of SystemVerilog project practice (2) (Introduction to AMBA bus)
【目标检测】YOLOv5跑通VOC2007数据集
【數據挖掘】視覺模式挖掘:Hog特征+餘弦相似度/k-means聚類
Ctfshow, information collection: web12
拜拜了,大厂!今天我就要去厂里
【数字IC验证快速入门】19、SystemVerilog学习之基本语法6(线程内部通信...内含实践练习)
[understanding of opportunity -40]: direction, rules, choice, effort, fairness, cognition, ability, action, read the five layers of perception of 3GPP 6G white paper
CTFshow,信息搜集:web4
随机推荐
【數據挖掘】視覺模式挖掘:Hog特征+餘弦相似度/k-means聚類
2022全开源企业发卡网修复短网址等BUG_2022企业级多商户发卡平台源码
【OBS】RTMPSockBuf_ Fill, remote host closed connection.
“百度杯”CTF比赛 2017 二月场,Web:include
Niuke real problem programming - day15
[quick start for Digital IC Validation] 26. Ahb - sramc (6) for system verilog project practice (Basic Points of APB Protocol)
MongoD管理数据库的方法介绍
银行需要搭建智能客服模块的中台能力,驱动全场景智能客服务升级
Unity's ASE achieves full screen sand blowing effect
Bits and Information & integer notes
[server data recovery] data recovery case of raid failure of a Dell server
【目标检测】YOLOv5跑通VOC2007数据集
使用Scrapy框架爬取网页并保存到Mysql的实现
A need to review all the knowledge, H5 form is blocked by the keyboard, event agent, event delegation
Stm32f103c8t6 PWM drive steering gear (sg90)
2.Golang基础知识
[target detection] yolov5 Runtong voc2007 data set
Ctfshow, information collection: web14
【數字IC驗證快速入門】20、SystemVerilog學習之基本語法7(覆蓋率驅動...內含實踐練習)
从 1.5 开始搭建一个微服务框架链路追踪 traceId