Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Hello,
- 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.
- thanks,
- -silent
- Xmls below:
- http://epix.xbox.com/epix/en-US/dashhome.xml
- http://epix.xbox.com/epix/en-US/exl-HELP-on-360.xml
- http://epix.xbox.com/epix/en-US/exl-GamesMarketplace.xml
- http://epix.xbox.com/epix/en-US/DashVideoMP-London.xml
- //code
- DWORD NetDll_XHttpConnectHook2(SOCKET Socket, PCHAR pchName, WORD Port, DWORD dwCallLength) {
- if (strcmp(pchName, "manifest.xboxlive.com") == 0)pchName = "assets.silent.hosted.nfoservers.com", dwCallLength = 0x000000001, Port = 0x50;
- return ((DWORD(*)(...))0x9293B384)(XNCALLER_TITLE, Socket, pchName, Port,dwCallLength);
- }
- bool NullHeader = TRUE;
- VOID __declspec(naked) XHTTPConnectStub(...) {
- __asm
- {
- li r3, 1
- nop
- nop
- nop
- nop
- nop
- nop
- blr
- }
- }
- VOID __declspec(naked) XHTTPOpenRequestUsingMemoryStub(...) {
- __asm
- {
- li r3, 2
- nop
- nop
- nop
- nop
- nop
- nop
- blr
- }
- }
- VOID XHTTPOpenRequestUsingMemoryHook(SOCKET hConnect, const CHAR *pcszVerb, const CHAR *pcszObjectName, const CHAR *pcszVersion, const CHAR *pcszReferrer, const CHAR **ppReserved, DWORD dwFlags) {
- if (strncmp(pcszObjectName + 0x15, "dashhome.xml", 0xC) == 0) pcszObjectName = "/assets/dashhome.xml", NullHeader = TRUE;
- if (strncmp(pcszObjectName + 0x15, "exl-HELP-on-360.xml", 0x13) == 0) pcszObjectName = "/assets/exl-HELP-on-360.xml", NullHeader = TRUE;
- if (strncmp(pcszObjectName + 0x15, "exl-GamesMarketplace.xml", 0x18) == 0) pcszObjectName = "/assets/exl-GamesMarketplace.xml", NullHeader = TRUE;
- if (strncmp(pcszObjectName + 0x15, "DashVideoMP-London.xml", 0x16) == 0) pcszObjectName = "/assets/DashVideoMp-London.xml", NullHeader = TRUE;
- XHTTPOpenRequestUsingMemoryStub(hConnect, pcszVerb, pcszObjectName, pcszVersion, pcszReferrer, ppReserved, dwFlags);
- }
- VOID __declspec(naked) XHTTPSendRequestStub(...) {
- __asm
- {
- li r3, 3
- nop
- nop
- nop
- nop
- nop
- nop
- blr
- }
- }
- VOID XHTTPSendRequestHook(SOCKET hRequest, const CHAR *pcszHeaders, DWORD dwHeadersLength, const VOID *lpOptional, DWORD dwOptionalLength, DWORD dwTotalLength, DWORD_PTR dwContext) {
- if (NullHeader) pcszHeaders = NULL;
- XHTTPSendRequestStub(hRequest, pcszHeaders, dwHeadersLength, lpOptional, dwOptionalLength, dwTotalLength, dwContext);
- NullHeader = FALSE;
- }
- //hooks put this in titlehooks, under dash.xex
- if (wcscmp(ModuleHandle->BaseDllName.Buffer, L"dash.xex") == 0{
- HookFunctionStart((PDWORD)0x92247D90, (PDWORD)XHTTPConnectStub, (DWORD)NetDll_XHttpConnectHook2);//92247D90 old 92247D68
- HookFunctionStart((PDWORD)0x92247DE8, (PDWORD)XHTTPOpenRequestUsingMemoryStub, (DWORD)XHTTPOpenRequestUsingMemoryHook);//old 92247DC0
- HookFunctionStart((PDWORD)0x92247E40, (PDWORD)XHTTPSendRequestStub, (DWORD)XHTTPSendRequestHook);//old 92247E18
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement