当前位置:网站首页>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
边栏推荐
- [markdown grammar advanced] make your blog more exciting (IV: set font style and color comparison table)
- 简述keepalived工作原理
- MongoD管理数据库的方法介绍
- Jacobo code coverage
- 【Markdown语法高级】让你的博客更精彩(四:设置字体样式以及颜色对照表)
- [quickstart to Digital IC Validation] 20. Basic syntax for system verilog Learning 7 (Coverage Driven... Including practical exercises)
- 【服务器数据恢复】某品牌StorageWorks服务器raid数据恢复案例
- 最安全的证券交易app都有哪些
- 【數字IC驗證快速入門】20、SystemVerilog學習之基本語法7(覆蓋率驅動...內含實踐練習)
- Niuke real problem programming - Day10
猜你喜欢
从 1.5 开始搭建一个微服务框架链路追踪 traceId
【数字IC验证快速入门】20、SystemVerilog学习之基本语法7(覆盖率驱动...内含实践练习)
[quick start of Digital IC Verification] 20. Basic grammar of SystemVerilog learning 7 (coverage driven... Including practical exercises)
【深度学习】语义分割实验:Unet网络/MSRC2数据集
拜拜了,大厂!今天我就要去厂里
Notes HCIA
【数字IC验证快速入门】19、SystemVerilog学习之基本语法6(线程内部通信...内含实践练习)
[quick start of Digital IC Verification] 23. AHB sramc of SystemVerilog project practice (3) (basic points of AHB protocol)
CTFshow,信息搜集:web5
【数字IC验证快速入门】25、SystemVerilog项目实践之AHB-SRAMC(5)(AHB 重点回顾,要点提炼)
随机推荐
众昂矿业:萤石继续引领新能源市场增长
Niuke real problem programming - day18
【服务器数据恢复】某品牌StorageWorks服务器raid数据恢复案例
Window环境下配置Mongodb数据库
jacoco代码覆盖率
CTFshow,信息搜集:web12
暑期安全很重要!应急安全教育走进幼儿园
【Markdown语法高级】让你的博客更精彩(四:设置字体样式以及颜色对照表)
Notes HCIA
Ctfshow, information collection: web12
【服务器数据恢复】戴尔某型号服务器raid故障的数据恢复案例
Guangzhou Development Zone enables geographical indication products to help rural revitalization
[follow Jiangke University STM32] stm32f103c8t6_ PWM controlled DC motor_ code
[server data recovery] data recovery case of raid failure of a Dell server
Do you know the relationship between the most important indicators of two strong wind control and the quality of the customer base
Introduction of mongod management database method
Niuke real problem programming - day15
【原创】一切不谈考核的管理都是扯淡!
[机缘参悟-40]:方向、规则、选择、努力、公平、认知、能力、行动,读3GPP 6G白皮书的五层感悟
Ctfshow, information collection: web5