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 › opening a site

opening a site

Posts 1–13 of 13 · Page 1 of 1
LA
lalakijilp
opening a site
hey

i want to make a program for a browser based game.
so i wanted the program to open a site and fill in a text box. (as a start)
I googled how to do that. but all options i tried gave errors i don't understand.
so my questions are:

how do you open a site in C++?

how do you fill in a text box with C++?
#1 · 16y ago
Void
Void
Quote Originally Posted by lalakijilp View Post
hey

i want to make a program for a browser based game.
so i wanted the program to open a site and fill in a text box. (as a start)
I googled how to do that. but all options i tried gave errors i don't understand.
so my questions are:

how do you open a site in C++?

how do you fill in a text box with C++?
I don't exactly understand what you mean with the textbox thing. Here's how you can open a site.

Code:
#include <windows.h>
#include <shellapi.h>

int main()
{
    ShellExecute(NULL,"open","www.google.com",NULL,NULL,SW_SHOWNORMAL);
}
ShellExecute Function()

Make sure to include windows.h with shellapi.h or shellapi.h will give you errors.
#2 · 16y ago
Thats the way it is
Thats the way it is
You should use visual basic to do such kind of thing its really hard to do it in C++

Not shure:
C++ CANT output key's to other programs unless you make something like a virtual keyboard driver

You should look for autoclicker sources and autochat/spam sources they can be found all around the forum if you use the search button
#3 · 16y ago
Void
Void
Quote Originally Posted by Thats the way it is View Post
You should use visual basic to do such kind of thing its really hard to do it in C++

Not shure:
C++ CANT output key's to other programs unless you make something like a virtual keyboard driver

You should look for autoclicker sources and autochat/spam sources they can be found all around the forum if you use the search button
What?

Does that have anything to do with what he asked for?
#4 · 16y ago
Thats the way it is
Thats the way it is
Quote Originally Posted by Davidm44 View Post
What?

Does that have anything to do with what he asked for?
Opening a site ain't the problem. if he wants to output strings to a text box in a browser that is a problem becouse i dont think that is possible in c++ (or just very very hard)


Btw i just remeberd there are some Firefox plugins who can do this for you dont need C++ for it
#5 · 16y ago
Void
Void
lalakijilp can you explain in more detail what exactly you want. 'Cause trying to work with what i've understood from your original post is pretty hard.
#6 · 16y ago
LA
lalakijilp
Quote Originally Posted by Davidm44 View Post
lalakijilp can you explain in more detail what exactly you want. 'Cause trying to work with what i've understood from your original post is pretty hard.
ok.

i got bored with my tutorial (and school) so want to try something different
Bolknots My Brute
this is a game and when you get referrals you get points. so i want to make a program that makes referrals and trains them.

1. the site must be opened

2. TYPE HERE should be changed to something else.

3.validate must be pushed. and alot of other buttons...


Quote Originally Posted by Thats the way it is View Post
Btw i just remembered there are some Firefox plugins who can do this for you don't need C++ for it
greasemonkey???
#7 · 16y ago
Thats the way it is
Thats the way it is
Quote Originally Posted by lalakijilp View Post
ok.

i got bored with my tutorial (and school) so want to try something different
Bolknots My Brute
this is a game and when you get referrals you get points. so i want to make a program that makes referrals and trains them.

1. the site must be opened

2. TYPE HERE should be changed to something else.

3.validate must be pushed. and alot of other buttons...




greasemonkey???
i think you just answered your own problem there


If greasemonkey doesnt gives wat you want look for a scriptable autoclicker
#8 · 16y ago
TE
TehKiller
Very hard in C++? :O Couldn't be any easier imo
Code:
HWND hWnd = FindWindow(NULL, "Title");
hWnd = FindWindowEx(hWnd, NULL, NULL, "messagebox title, use reshacker to find out");
PostMessage(hWnd, WM_SETTEXT, 0, MAKELPARAM("Text", "Text"));
Typed from the top of my head so could be a bit off
#9 · 16y ago
Void
Void
Quote Originally Posted by TehKiller View Post
Very hard in C++? :O Couldn't be any easier imo
Code:
HWND hWnd = FindWindow(NULL, "Title");
hWnd = FindWindowEx(hWnd, NULL, NULL, "messagebox title, use reshacker to find out");
PostMessage(hWnd, WM_SETTEXT, 0, MAKELPARAM("Text", "Text"));
Typed from the top of my head so could be a bit off
Would that actualy work if it's a browser based game? I don't think textbox's have their own window handles on browser games.
#10 · 16y ago
ZE
zeco
Quote Originally Posted by Davidm44 View Post
Would that actualy work if it's a browser based game? I don't think textbox's have their own window handles on browser games.
They don't. If it is a flash game, then there will only be the HTML and then Embedded flash.
#11 · 16y ago
That0n3Guy
That0n3Guy
Starting a website is as simple as:

Code:
system("start http://www.google.com");
I don't have anything for filling in the text boxes though.
#12 · 16y ago
TE
TehKiller
Quote Originally Posted by Davidm44 View Post
Would that actualy work if it's a browser based game? I don't think textbox's have their own window handles on browser games.
not if its a browser based game, but you can always look into saving the swf or make an app that loads it from the site directly

edit: if its flash ofcourse :P
#13 · 16y ago
Posts 1–13 of 13 · Page 1 of 1

Post a Reply

Similar Threads

  • help how let I automatically open an siteBy weide43 in Visual Basic Programming
    5Last post 16y ago
  • IMG open a site?By inspired.. in Suggestions, Requests & General Help
    0Last post 15y ago
  • Z8game site is Open.By PruE. in CrossFire Discussions
    15Last post 15y ago
  • My Site!By Paolo1993 in Spammers Corner
    29Last post 15y ago
  • I cant open WPEBy ValconGSX in WarRock - International Hacks
    8Last post 20y ago

Tags for this Thread

#opening#site