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 › [Request] Reading From WebPage

[Request] Reading From WebPage

Posts 1–5 of 5 · Page 1 of 1
CoderNever
CoderNever
[Request] Reading From WebPage
I am looking for a C++ code to read from a webpage. So I basically need the below visual basic code transfered to C++. Thank you.

Code:
Dim Cache As String
Dim WorkingStatus
Cache = "http://example.co"
Dim request As System.Net.HttpWebRequest = System.Net.HttpWebRequest.Create(Cache)
Dim response As System.Net.HttpWebResponse = request.GetResponse()
Dim sr As System.IO.StreamReader = New System.IO.StreamReader(response.GetResponseStream(), System.Text.Encoding.GetEncoding("windows-1252"))
WorkingStatus = sr.ReadToEnd()
#1 · 16y ago
why06
why06
Gawd... i dunno VB, but if no one else can figure it out, you will have to know some basics of MFC, but if you do you can look up definitions of VB function on MSDN and it will give you a translation of most into C++. see here: HttpWebRequest Class (System.Net)
#2 · 16y ago
Melodia
Melodia
I don't know nor like VB, So no.

But I have a script that can read easily from web-config files, If they are formatted like XML files, Witch I use for my trainer, And then convert the info gathered to variables / text / whatever they need to be.

Interested in this ? Or you need to querry on a ''Normal'' Webpage ?

Mely

Psst ; What do you do in the C++ Section with a VB Siggy ?
#3 · 16y ago
Void
Void
Hmm.. It seems you can do it in C++ the same way.

Here: MSDN

Straight off MSDN:
[php]
HttpWebRequest* myReq =
dynamic_cast<HttpWebRequest*>(WebRequest::Create(S "http://www.contoso.com/"));
[/php]

I have no idea if this is what you want, I don't have much experience with any of Microsoft's classes.
#4 · 16y ago
GO
Gordon`
Windows Sockets 2 (Windows)
#5 · 16y ago
Posts 1–5 of 5 · Page 1 of 1

Post a Reply

Similar Threads

  • [Tutorial] Reading from the CMD lineBy shercipher in C++/C Programming
    7Last post 20y ago
  • [request] read this if u make hacks...By prox32 in WarRock - International Hacks
    4Last post 19y ago
  • Reading from a memory addressBy isaacboy in Visual Basic Programming
    0Last post 17y ago
  • Requesting Sigs from meBy Kyle in Help & Requests
    0Last post 17y ago
  • Reading from an INI fileBy Credzis in C++/C Programming
    0Last post 18y ago

Tags for this Thread

None