News for hackers. Stuff that matters.
Re:Extracting IP from Getaddrinfo Call by altercation on Wednesday October 11, 2023 @10:38AM (#37844980)
This short post documents tracking down the IP address location and value resolved by the getaddrinfo function call with the help of x64dbg.
Re:Extracting IP from Getaddrinfo Call by IAmLiterallyAB on Thursday October 12, 2023 @06:46PM (#37864127)
I must be missing something. It's a pretty normal function. Just call it, then walk through the struct and get the value out. It's like 3 lines of code. Why is the debugger involved?

I suppose the one complication is you have to cast sockaddr to sockaddr_in but that's all documented

Re:Extracting IP from Getaddrinfo Call by jandrese on Thursday October 12, 2023 @07:13PM (#37864388)
Seemed like a lot of work to not read the manual.