Advertisement
DeathRGH

Xbox 360 | NetDll_XNetGetTitleXnAddr | IP Spoof

Oct 15th, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.25 KB | None | 0 0
  1. unsigned char spoofed_ip[4] = { 137, 137, 137, 137 };
  2. int NetDll_XNetGetTitleXnAddr_Hook(const int xnc, XNADDR* p_xna)
  3. {
  4.     int result = NetDll_XNetGetTitleXnAddr_Stub(xnc, p_xna);
  5.  
  6.     p_xna->inaOnline.S_un.S_addr = *(DWORD*)&spoofed_ip;
  7.  
  8.     return result;
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement