当前位置:网站首页>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
边栏推荐
- 2. Basic knowledge of golang
- Niuke real problem programming - day15
- TypeScript 发布 4.8 beta 版本
- CTFshow,信息搜集:web9
- Niuke real problem programming - Day11
- Pit avoidance: description of null values in in and not in SQL
- 从 1.5 开始搭建一个微服务框架链路追踪 traceId
- 【数字IC验证快速入门】22、SystemVerilog项目实践之AHB-SRAMC(2)(AMBA总线介绍)
- 最安全的证券交易app都有哪些
- 【深度学习】图像超分实验:SRCNN/FSRCNN
猜你喜欢
![[Data Mining] Visual Pattern Mining: Hog Feature + cosinus Similarity / K - means Clustering](/img/a4/7320f5d266308f6003cc27964e49f3.png)
[Data Mining] Visual Pattern Mining: Hog Feature + cosinus Similarity / K - means Clustering

2022年5月互联网医疗领域月度观察

Niuke real problem programming - Day11

【目标检测】YOLOv5跑通VOC2007数据集
![[quick start of Digital IC Verification] 24. AHB sramc of SystemVerilog project practice (4) (AHB continues to deepen)](/img/cf/45775b712f60869186a25d3657ee1b.png)
[quick start of Digital IC Verification] 24. AHB sramc of SystemVerilog project practice (4) (AHB continues to deepen)

【深度学习】语义分割实验:Unet网络/MSRC2数据集

Guangzhou Development Zone enables geographical indication products to help rural revitalization

暑期安全很重要!应急安全教育走进幼儿园

Mathematical modeling -- what is mathematical modeling

Niuke real problem programming - day16
随机推荐
Whether runnable can be interrupted
Oracle控制文件丢失恢复归档模式方法
居然从408改考自命题!211华北电力大学(北京)
Ctfshow, information collection: web13
MongoDB数据库基础知识整理
Pat grade a 1103 integer factorizatio
[Data Mining] Visual Pattern Mining: Hog Feature + cosinus Similarity / K - means Clustering
Runnable是否可以中断
Ctfshow, information collection: web9
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
With 8 modules and 40 thinking models, you can break the shackles of thinking and meet the thinking needs of different stages and scenes of your work. Collect it quickly and learn it slowly
STM32F103C8T6 PWM驱动舵机(SG90)
Excerpted words
【数字IC验证快速入门】23、SystemVerilog项目实践之AHB-SRAMC(3)(AHB协议基本要点)
使用cpolar建立一个商业网站(2)
[target detection] yolov5 Runtong voc2007 data set
[quick start of Digital IC Verification] 26. Ahb-sramc of SystemVerilog project practice (6) (basic points of APB protocol)
连接ftp服务器教程
CTFshow,信息搜集:web10
什麼是數據泄露