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 › [Release] Password Generator Source Code

[Release] Password Generator Source Code

Posts 1–15 of 15 · Page 1 of 1
flameswor10
flameswor10
[Release] Password Generator Source Code
Ever wanted a snazzy Password Generator in your multi tool? Well here is a Password Generator Source Code..

Code:
Imports System.IO

Public Class Form1
    Const chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890 09876543210 flameswor10 rulzorz xD"
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Dim r, i
        Dim x As String

        For i = 1 To NumericUpDown1.Value
            Randomize()
            r = Int((Rnd() * 61) + 1)

            x = x & Mid(chars, r, 1)

        Next i
        TextBox1.Text = (x)
    End Sub

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
msgbox("Flameswor10 made this Password Generator Source Cdoe")
Button1.text = "Generate"
    End Sub
End Class
Just add 1 Textbox and 1 button and 1 numericupdown and your good to go.

Have fun
#1 · edited 16y ago · 16y ago
Blubb1337
Blubb1337
Nextgen also released a OS Project.
#2 · 16y ago
Jason
Jason
Convert to function = win.
#3 · 16y ago
Blubb1337
Blubb1337
[php]Private Function randompw(ByVal chars As String, ByVal length As Integer)
Dim r, i
Dim x As String = ""

For i = 1 To length
Randomize()
r = Int((Rnd() * 61) + 1)

x = x & Mid(chars, r, 1)

Next i

Return (x)
End Function[/php]

[php] Private Const chars As String = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvw xyz1234567890 09876543210!§$%&/()=?ß}][{²³"


Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
msgbox(randompw(chars, 10))
End Sub
[/php]
#4 · 16y ago
Jason
Jason
Quote Originally Posted by Blubb1337 View Post
[php]Private Function randompw(ByVal chars As String, ByVal length As Integer)
Dim r, i
Dim x As String = ""

For i = 1 To length
Randomize()
r = Int((Rnd() * 61) + 1)

x = x & Mid(chars, r, 1)

Next i

Return (x)
End Function[/php]

[php] Private Const chars As String = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvw xyz1234567890 09876543210!§$%&/()=?ß}][{²³"


Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
msgbox(randompw(chars, 10))
End Sub
[/php]
I already did that, I meant a general statement. I <3 functs, makes shit so much cleaner! Why do people make shit so hard to re-use!
#5 · 16y ago
NextGen1
NextGen1
Hmmmm, This should really be a snippet.
#6 · 16y ago
'Bruno
'Bruno
Quote Originally Posted by J-Deezy View Post


I already did that, I meant a general statement. I <3 functs, makes shit so much cleaner! Why do people make shit so hard to re-use!
because most of these people is not experienced enough with long quantities of code...
#7 · 16y ago
Blubb1337
Blubb1337
Quote Originally Posted by J-Deezy View Post


I already did that, I meant a general statement. I <3 functs, makes shit so much cleaner! Why do people make shit so hard to re-use!
So do I. That is why I modified his code a little.

I know what you are talking about.

I already mentioned this in my "Improve your code" tutorial. Why reusing a lot of repetitive code if you can build functions easily?
#8 · 16y ago
Jason
Jason
Quote Originally Posted by Blubb1337 View Post
So do I. That is why I modified his code a little.

I know what you are talking about.

I already mentioned this in my "Improve your code" tutorial. Why reusing a lot of repetitive code if you can build functions easily?
Not just that, but when people cram everything into a "Button1_click" sub procedure it annoys me, makes code so much harder to follow because you don't know what they're trying to do, seeing a nice simple function call then following that function is orgasmic...well not quite.
#9 · 16y ago
Blubb1337
Blubb1337
I cannot disagree.
#10 · 16y ago
mnpeepno2
mnpeepno2
this is only the 29802350th password gen on here -.-
#11 · 16y ago
Blubb1337
Blubb1337
Password Generator <> Spammer tho.
#12 · 16y ago
tempta43
tempta43
Quote Originally Posted by Blubb1337 View Post
Password Generator <> Spammer tho.
<>? <> is equal to "=" :P

Neways.
Thx for sharing, Flame.
#13 · 16y ago
Blubb1337
Blubb1337
<> = unequal
= = equal
#14 · 16y ago
Lolland
Lolland
Let's stay on topic

Also, mathematically =\= means inequal.
#15 · 16y ago
Posts 1–15 of 15 · Page 1 of 1

Post a Reply

Similar Threads

  • [Release] WarHax DLL Source CodeBy OneWhoSighs in WarRock - International Hacks
    20Last post 18y ago
  • [Kinda Release]AVA Chams Source CodeBy noleash in Alliance of Valiant Arms (AVA) Coding / Source Code
    14Last post 15y ago
  • [Release] Blackout Hack Source CodeBy ac1d_buRn in Piercing Blow Discussions
    21Last post 15y ago
  • [Release] Crossfire hack source codesBy omgigotbanned in CrossFire Hack Coding / Programming / Source Code
    24Last post 14y ago
  • [RELEASE] Drag Central Source CodeBy BodyByVTAK in General Gaming
    6Last post 15y ago

Tags for this Thread

None