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 › Visual Basic Programming › PHP Login Via VB.Net

PHP Login Via VB.Net

Posts 1–9 of 9 · Page 1 of 1
roabx1
roabx1
PHP Login Via VB.Net
I'm trying to create a login thing to login through PHP with VB.Net as below, it fills out the forms on the web page with the text and logs it in, but I get no errors and it just doesn't log in, it just gives me the 'Login failed...' message I set. =/
[highlight=vb.net]
Private Sub Button1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
WebBrowser1.Document.GetElementById("user").SetAtt ribute("value", (TextBox1.Text))
WebBrowser1.Document.GetElementById("passwrd").Set Attribute("value", (TextBox2.Text))
WebBrowser1.Document.GetElementById("login_btn").I nvokeMember("click")
Threading.Thread.Sleep(4000)
If WebBrowser1.Url.AbsolutePath = "(Outside Link Cannot Be Posted)" Then
MsgBox("Successfully logged in")
Me.Hide()
Loader.Show()
Else
MsgBox("Login failed...")
End If
End Sub
[/highlight]
#1 · edited 15y ago · 15y ago
Hassan
Hassan
[highlight=vb]If WebBrowser1.Url.AbsolutePath = "(Outside Link Cannot Be Posted)" Then[/highlight]

wtf ? How can be (Outside Link Cannot Be Posted) an AbsolutePath ever ?
#2 · 15y ago
Jason
Jason
Try WebBrowser1.Document.Body.InnerTex*****ntains("Outs ide Link Cannot Be Posted")

or something like that, instead of AbsolutePath.
#3 · 15y ago
roabx1
roabx1
Quote Originally Posted by Jason View Post
Try WebBrowser1.Document.Body.InnerTex*****ntains("Outs ide Link Cannot Be Posted")

or something like that, instead of AbsolutePath.
I tried it, didn't work, so then I tried it so that if it doesn't contain 'Forgot your password?' then it would be a successful login, still nada.

=/
#4 · 15y ago
master131
[MPGH]master131
Mind telling what website you're trying?
#5 · 15y ago
roabx1
roabx1
Quote Originally Posted by master131 View Post
Mind telling what website you're trying?
One that I made, course I can't post it due to the outside link rule.
#6 · 15y ago
KB
kBob
Quote Originally Posted by Jason View Post
Try WebBrowser1.Document.Body.InnerTex*****ntains("Outs ide Link Cannot Be Posted")

or something like that, instead of AbsolutePath.
the term "inner text" isnt correct. It just finds the text within the web URL
#7 · 14y ago
Jason
Jason
Quote Originally Posted by kBob View Post
the term "inner text" isnt correct. It just finds the text within the web URL
Actually you're completely incorrect lol.
#8 · 14y ago
master131
[MPGH]master131
Perhaps try InnerHTML instead of InnerText.
#9 · 14y ago
Posts 1–9 of 9 · Page 1 of 1

Post a Reply

Similar Threads

  • MySQL + VB.NET Login SystemBy Marsicano in Visual Basic Programming
    12Last post 16y ago
  • [Vb.net] Login to mpgh using webrequest?By ppl2pass in Visual Basic Programming
    2Last post 16y ago
  • http://www.mpgh.net/forum/showgroups.phpBy AVGN in General
    31Last post 15y ago
  • MPGH.net Login SystemBy timeshift in Visual Basic Programming
    1Last post 14y ago
  • starcraft2 Battle.net Login (LEGIT)By punt in Trade Accounts/Keys/Items
    0Last post 15y ago

Tags for this Thread

None