Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › Programming › C++/C Programming › Make A Site Pop Up

Make A Site Pop Up

Posts 1–15 of 18 · Page 1 of 2
BMW M5
BMW M5
Make A Site Pop Up
hey guys ok i coded a hack and now i want it so when it gets injected, i want google to pop up, how would i do those i have this so far but it aint working
Code:
	ShellExecute(NULL,(LPCWSTR)"open", (LPCWSTR)"http://google.com/forum", NULL, NULL, SW_SHOWNORMAL);
	CreateThread(0,0,(LPTHREAD_START_ROUTINE)HackThread,0,0,0);
}
please help
#1 · 16y ago
PI
Pixipixel_
Here you go:

Code:
static HWND hBut;
In the DllMain :
Code:
ShellExecuteW(hBut,L"open",L"http://www.mpgh.net",NULL,NULL,SW_SHOWNORMAL);
The header is, of course, shellapi.h.


Pixi.
#2 · 16y ago
Jimmy
Jimmy
what hack is it for?
#3 · 16y ago
Void
Void
If you're talking about a DLL. Here's an example.

Code:
#include <windows.h>

void HackThread()
{
     //..........
}


BOOL WINAPI DllMain (HINSTANCE hInst,DWORD reason,LPVOID reserved)
{
     if(reason == DLL_PROCESS_ATTACH)
     {
               ShellExecuteW(NULL,(LPCWSTR)"open", (LPCWSTR)"http://google.com/forum", NULL, NULL, SW_SHOWNORMAL);
	           CreateThread(0,0,(LPTHREAD_START_ROUTINE)HackThread,0,0,0);

               return true;
               }
               }
#4 · 16y ago
PI
Pixipixel_
Quote Originally Posted by Davidm44 View Post
If you're talking about a DLL.
Of course that he's talking about a DLL.


Quote Originally Posted by BMW M5 View Post
hey guys ok i coded a hack and now i want it so when it gets injected
#5 · 16y ago
Jimmy
Jimmy
he is talking about dll's
#6 · 16y ago
BMW M5
BMW M5
Quote Originally Posted by Pixipixel_ View Post
Here you go:

Code:
static HWND hBut;
In the DllMain :
Code:
ShellExecuteW(hBut,L"open",L"http://www.mpgh.net",NULL,NULL,SW_SHOWNORMAL);
The header is, of course, shellapi.h.


Pixi.
so
Code:
#include shellapi.h


static HWND hBut

ShellExecuteW(hBut,L"open",L"http://www.mpgh.net",NULL,NULL,SW_SHOWNORMAL);

?
#7 · 16y ago
PI
Pixipixel_
Quote Originally Posted by BMW M5 View Post
so
Code:
#include shellapi.h


static HWND hBut

ShellExecuteW(hBut,L"open",L"http://www.mpgh.net",NULL,NULL,SW_SHOWNORMAL);

?
#include "shellapi.h"

static HWND hBut; = Globals

ShellExecuteW(hBut,L"open",L"http://www.mpgh.net",NULL,NULL,SW_SHOWNORMAL); = WINAPI DllMain

it should works fine.


Pixi.
#8 · edited 16y ago · 16y ago
BMW M5
BMW M5
lol i know this sound nooby but where i post it so i dont get error right before return true?
#9 · 16y ago
Jimmy
Jimmy
is it fixed yet
#10 · 16y ago
BMW M5
BMW M5
no im getting this error when compiling
Code:
syntax error : missing ';' before '='
and here is the code thats getting the error

Code:
static HWND hBut; = Globals
#11 · 16y ago
ZE
zeco
Quote Originally Posted by BMW M5 View Post
no im getting this error when compiling
Code:
syntax error : missing ';' before '='
and here is the code thats getting the error

Code:
static HWND hBut; = Globals
Just chop off the = globals part . . . It was just a fail way of describing what he just did. He should have had something more like

Code:
static HWND hBut; // Globals
Comments were created for a reason ^_^"
#12 · 16y ago
BMW M5
BMW M5
TYVM THIS WORKED SO MUCH TYVM!
#13 · 16y ago
ZE
zeco
No problem ^.^'

How long have you been learning C++ for?
#14 · 16y ago
BMW M5
BMW M5
few weeks
#15 · 16y ago
Posts 1–15 of 18 · Page 1 of 2

Post a Reply

Tags for this Thread

#make#pop#site