Need some guide related to port change in client or any other exe

Results 1 to 2 of 2
  1. #1
    Newbie santabanta is offline
    MemberRank
    Jan 2020 Join Date
    4Posts

    happy Need some guide related to port change in client or any other exe

    hi i need help to change port in an exe via olly dbg can any one help me ?


  2. #2
    Account Upgraded | Title Enabled! zipper20032 is online now
    True MemberRank
    Oct 2006 Join Date
    0x198837ADLocation
    292Posts

    Re: Need some guide related to port change in client or any other exe

    I guess we need more info about that xD

    What's the game called, because there's a big chance that someone already done that to that game, so it's good to post the game's name too.

    Anyway, I can give you a tip. Try to see where the game is trying to connect. TCPView can do the trick.

    Searching referenced strings in the debugger can help also, but it can be stored as a string or segmented into decimals or hex somewhere hardcoded.
    IP and port doesn't necessarily mean to be stored into the game's executable. These could be stored into some DLL loaded at the runtime and the executable is reading them from that DLL.

    Another tip is, traceback the connection handler(WSASend, WSARecv, WSAStartup, bind, etc) --> Winsock.h library

    You need to pay a lot of attention and also, you may not find it from beginning, but you need to redo the process. (Breakpointing will help to restart from a certain point of the debugger run). Also, take a pen and write down memory addresses you may find along. This will help you identify easily that function memory address.



Advertisement