Advertisement
Guest User

Untitled

a guest
Oct 7th, 2019
483
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.33 KB | None | 0 0
  1. Hello,
  2.  
  3. First off, the motherfuckers who originally released this shit can suck it! They gave it to the community like crap & expected people to just pick up on it. Since people in the community want to be greedy & not help each other out thats fine, I will. Ive tested this out & it works. I am using nfoserver webshot, not the VPS. You will need the .xml files in order to do this, or you can just take them from me(IDC, im not greedy). Im not giving anyone credit for this because they dont deserve it. Im taking credit for this release since clowns only procude partial working code. I might make a video later demonstrating how to use these.
  4.  
  5. thanks,
  6.  
  7. -silent
  8.  
  9. Xmls below:
  10. http://epix.xbox.com/epix/en-US/dashhome.xml
  11. http://epix.xbox.com/epix/en-US/exl-HELP-on-360.xml
  12. http://epix.xbox.com/epix/en-US/exl-GamesMarketplace.xml
  13. http://epix.xbox.com/epix/en-US/DashVideoMP-London.xml
  14.  
  15. //code
  16. DWORD NetDll_XHttpConnectHook2(SOCKET Socket, PCHAR pchName, WORD Port, DWORD dwCallLength) {
  17. if (strcmp(pchName, "manifest.xboxlive.com") == 0)pchName = "assets.silent.hosted.nfoservers.com", dwCallLength = 0x000000001, Port = 0x50;
  18. return ((DWORD(*)(...))0x9293B384)(XNCALLER_TITLE, Socket, pchName, Port,dwCallLength);
  19. }
  20.  
  21. bool NullHeader = TRUE;
  22. VOID __declspec(naked) XHTTPConnectStub(...) {
  23. __asm
  24. {
  25. li r3, 1
  26. nop
  27. nop
  28. nop
  29. nop
  30. nop
  31. nop
  32. blr
  33. }
  34. }
  35.  
  36. VOID __declspec(naked) XHTTPOpenRequestUsingMemoryStub(...) {
  37. __asm
  38. {
  39. li r3, 2
  40. nop
  41. nop
  42. nop
  43. nop
  44. nop
  45. nop
  46. blr
  47. }
  48. }
  49.  
  50. VOID XHTTPOpenRequestUsingMemoryHook(SOCKET hConnect, const CHAR *pcszVerb, const CHAR *pcszObjectName, const CHAR *pcszVersion, const CHAR *pcszReferrer, const CHAR **ppReserved, DWORD dwFlags) {
  51. if (strncmp(pcszObjectName + 0x15, "dashhome.xml", 0xC) == 0) pcszObjectName = "/assets/dashhome.xml", NullHeader = TRUE;
  52. if (strncmp(pcszObjectName + 0x15, "exl-HELP-on-360.xml", 0x13) == 0) pcszObjectName = "/assets/exl-HELP-on-360.xml", NullHeader = TRUE;
  53. if (strncmp(pcszObjectName + 0x15, "exl-GamesMarketplace.xml", 0x18) == 0) pcszObjectName = "/assets/exl-GamesMarketplace.xml", NullHeader = TRUE;
  54. if (strncmp(pcszObjectName + 0x15, "DashVideoMP-London.xml", 0x16) == 0) pcszObjectName = "/assets/DashVideoMp-London.xml", NullHeader = TRUE;
  55. XHTTPOpenRequestUsingMemoryStub(hConnect, pcszVerb, pcszObjectName, pcszVersion, pcszReferrer, ppReserved, dwFlags);
  56. }
  57. VOID __declspec(naked) XHTTPSendRequestStub(...) {
  58. __asm
  59. {
  60. li r3, 3
  61. nop
  62. nop
  63. nop
  64. nop
  65. nop
  66. nop
  67. blr
  68. }
  69. }
  70. VOID XHTTPSendRequestHook(SOCKET hRequest, const CHAR *pcszHeaders, DWORD dwHeadersLength, const VOID *lpOptional, DWORD dwOptionalLength, DWORD dwTotalLength, DWORD_PTR dwContext) {
  71. if (NullHeader) pcszHeaders = NULL;
  72. XHTTPSendRequestStub(hRequest, pcszHeaders, dwHeadersLength, lpOptional, dwOptionalLength, dwTotalLength, dwContext);
  73. NullHeader = FALSE;
  74. }
  75.  
  76.  
  77. //hooks put this in titlehooks, under dash.xex
  78. if (wcscmp(ModuleHandle->BaseDllName.Buffer, L"dash.xex") == 0{
  79. HookFunctionStart((PDWORD)0x92247D90, (PDWORD)XHTTPConnectStub, (DWORD)NetDll_XHttpConnectHook2);//92247D90 old 92247D68
  80. HookFunctionStart((PDWORD)0x92247DE8, (PDWORD)XHTTPOpenRequestUsingMemoryStub, (DWORD)XHTTPOpenRequestUsingMemoryHook);//old 92247DC0
  81. HookFunctionStart((PDWORD)0x92247E40, (PDWORD)XHTTPSendRequestStub, (DWORD)XHTTPSendRequestHook);//old 92247E18
  82. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement