当前位置:网站首页>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
边栏推荐
- “百度杯”CTF比赛 2017 二月场,Web:include
- [server data recovery] data recovery case of raid failure of a Dell server
- 大表delete删数据导致数据库异常解决
- 【数字IC验证快速入门】26、SystemVerilog项目实践之AHB-SRAMC(6)(APB协议基本要点)
- 使用cpolar建立一个商业网站(2)
- Ctfshow, information collection: web12
- 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
- HW primary flow monitoring, what should we do
- Ctfshow, information collection: web9
- 【深度学习】语义分割实验:Unet网络/MSRC2数据集
猜你喜欢
【搞船日记】【Shapr3D的STL格式转Gcode】
【數字IC驗證快速入門】26、SystemVerilog項目實踐之AHB-SRAMC(6)(APB協議基本要點)
[Data Mining] Visual Pattern Mining: Hog Feature + cosinus Similarity / K - means Clustering
【数字IC验证快速入门】24、SystemVerilog项目实践之AHB-SRAMC(4)(AHB继续深入)
How to release NFT in batches in opensea (rinkeby test network)
8大模块、40个思维模型,打破思维桎梏,满足你工作不同阶段、场景的思维需求,赶紧收藏慢慢学
Introduction of mongod management database method
CTFshow,信息搜集:web12
Notes HCIA
银行需要搭建智能客服模块的中台能力,驱动全场景智能客服务升级
随机推荐
【數字IC驗證快速入門】20、SystemVerilog學習之基本語法7(覆蓋率驅動...內含實踐練習)
Ctfshow, information collection: web13
Niuke real problem programming - day18
@ComponentScan
Stm32f103c8t6 PWM drive steering gear (sg90)
Used by Jetson AgX Orin canfd
【数字IC验证快速入门】26、SystemVerilog项目实践之AHB-SRAMC(6)(APB协议基本要点)
Ctfshow, information collection: web5
Excerpted words
Oracle control file loss recovery archive mode method
How to release NFT in batches in opensea (rinkeby test network)
MongoDB数据库基础知识整理
最安全的证券交易app都有哪些
拜拜了,大厂!今天我就要去厂里
暑期安全很重要!应急安全教育走进幼儿园
The bank needs to build the middle office capability of the intelligent customer service module to drive the upgrade of the whole scene intelligent customer service
简述keepalived工作原理
Niuke real problem programming - day15
居然从408改考自命题!211华北电力大学(北京)
Stream learning notes