Jump to content

Recommended Posts

Posted

Ok since maxtor still didnt made those sections cuz i dunno why... or he dont want to make those sections whatever

but anyways

 

#include <detours.h>

//Prototype of the original ShellAboutW API
int (__stdcall *ShellAboutWD_o)( HWND hWnd, LPCWSTR szApp, LPCWSTR szOtherStuff, HICON hIcon);

//Hooked ShellAboutW API
int __stdcall ShellAboutWD(HWND hWnd, LPCWSTR szApp, LPCWSTR szOtherStuff, HICON hIcon)
{
        return ShellAboutWD_o(hWnd, L"DragonHunter [LeetCoders]", L"The about API/Function is hooked by DragonHunter ;D!", hIcon); //Return to original api function
}

BOOL APIENTRY DllMain( HMODULE hModule,
                       DWORD  ul_reason_for_call,
                       LPVOID lpReserved
                     )
{
    switch (ul_reason_for_call)
    {
    case DLL_PROCESS_ATTACH:
        HANDLE ShellAboutWDProcessAddress; //Hold the ShellAboutW API memory address

        ShellAboutWDProcessAddress    =  GetProcAddress(
                                                        GetModuleHandle(L"Shell32"), //DLL Library
                                                        "ShellAboutW"                 //API/Function
                                                      );
        //Since we now have the memory address of ShellAboutW we can finally start the hook process :)


        if(ShellAboutWDProcessAddress != 0) //Check if memory address is found (Error-Handling)
        {
            ShellAboutWD_o = (            //Set the original API/Function
                int (__stdcall *)(        //Prototype
                HWND hWnd, LPCWSTR szApp, LPCWSTR szOtherStuff, HICON hIcon)) //Prototype
                DetourFunction(                        //Api-Hook ShellAboutW
                (PBYTE)ShellAboutWDProcessAddress,    //Get memory address
                (PBYTE)ShellAboutWD);                //Set ShellAboutWD_o -> ShellAboutWD
        }
        break;
    case DLL_PROCESS_DETACH:
            if(ShellAboutWDProcessAddress != 0)
            {
                DetourRemove(
                    (PBYTE)ShellAboutWDProcessAddress,    //Unhook the API/Function
                    (PBYTE)ShellAboutWD);
            }
        break;
    }
    return TRUE;
}

 

And this is the output

2a92l1c.png

 

Have fun...

 

Coded by DragonHunter

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • ➡ Discount for your purchase: JUNE2025 (10% discount) ➡ Our Online Shop: https://socnet.store  ➡ Our SMM-Boosting Panel: https://socnet.pro  ➡ Telegram Shop Bot: https://socnet.shop  ➡ Telegram Support: https://t.me/solomon_bog  ➡ Telegram Channel: https://t.me/accsforyou_shop  ➡ Discord Support: @AllSocialNetworksShop  ➡ Discord Server: https://discord.gg/y9AStFFsrh  ➡ WhatsApp Support: https://wa.me/79051904467 ➡ WhatsApp Channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n  ➡ Email Support: solomonbog@socnet.store 
    • ➡ Discount for your purchase: JUNE2025 (10% discount) ➡ Our Online Shop: https://socnet.store  ➡ Our SMM-Boosting Panel: https://socnet.pro  ➡ Telegram Shop Bot: https://socnet.shop  ➡ Telegram Support: https://t.me/solomon_bog  ➡ Telegram Channel: https://t.me/accsforyou_shop  ➡ Discord Support: @AllSocialNetworksShop  ➡ Discord Server: https://discord.gg/y9AStFFsrh  ➡ WhatsApp Support: https://wa.me/79051904467 ➡ WhatsApp Channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n  ➡ Email Support: solomonbog@socnet.store 
    • LF any side/clan that is currently playing L2Deflect? It’s a high rate BR server with high population 200x, tired to play with the BR/VZ players and not understand most of what they saying.. Kinda wish to find an archer side to have some fun with in kiting the latins. Since I’m not very active here please feel free to pm me on discord  > tovaritch7105 or in game on the server “sToppaH or “iCSu . Cheers and see you there!✌️
    • Hi guys, me and my friends plus one more CP is going to try L2Avalon.net, we're currently looking for maybe 1 or 2 more CP's that would like to join us to smack some russians, the summer season is gonna be 20x, i did play before in eternal server and it was  awesome, if you want to join us please contact  me on discord Discord: TheGamersGuild
    • ⭐[L2OFF H5] GX-EXT⭐ (Public Test Version)   Hello everyone, I'm releasing a public test version of my custom extender for Lineage 2 High Five (L2OFF platform), named GX-EXT. This extender is built over official High Five files, designed for performance, customization, and enhanced gameplay features. 🔹 Note: This test version is intended for personal use, allowing you and up to 20 friends to test and explore the features freely.   🔧 Key Features (Some may be disabled in this build): AIOBuffer AutoAnnounce AutoLearnSkill AutoLoot AutoStart BuilderCmd Bypass ClassManager OlympiadSystem CommunityBoard Security System (Client Extension / Active Anti-Cheat) DropList Custom Raid Drops Shift+Click Drop Info EnchantSystem ItemDelivery LureProtection MenuPlayer PrimeShop PvPAnnounce Rankings RestoreOfflineShop SchemeBuffer Services System SpawnProtection TeleportData TerritoryData TVT Event VisualArmor   For deeper insight, feel free to check the configuration files — most features are fully customizable.   📦Enlaces de descarga: Cliente: Download Client GX-EXT Servidor: Download Server GX-EXT  (Password: 115599)   🖥️ Minimum Requirements: Platform: Windows Server 2012 or newer RAM: 16 GB Storage: SSD Base: Official High Five (L2OFF) files   Commands: //admin //admin2 .menu ALT+B   Feel free to post your questions or feedback here, or contact me via private message. 🔸 Test it, break it, and enjoy it with your friends. This version is perfect for small team trials (up to 20 online users). Enjoy testing GX-EXT!    
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock