Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming

Reply
 
LinkBack Thread Tools
Old 01-21-08   #1 (permalink)
Custom User Title
 
pauldovi's Avatar
 
intel ati

Join Date: Jul 2005
Location: Daytona Beach, Florida
Posts: 13,541
Blog Entries: 4

Rep: 915 pauldovi is becoming famouspauldovi is becoming famouspauldovi is becoming famouspauldovi is becoming famouspauldovi is becoming famouspauldovi is becoming famouspauldovi is becoming famouspauldovi is becoming famous
Unique Rep: 508
FAQs Submitted: 4
Hardware Reviews: 2
Trader Rating: 36
Default Password Gen

I wrote a little program that will generate random passwords. The .exe as well as the source code is available. The program was written in C and I didn't comment (sorry).

Current Version 1.1.1.

Change Log:

1.0.0 - Initial Version
1.0.1 - Include the ability to save password to file
1.1.0 - Ability to change file name, includes error bound (Password Length 0-26 aloud)
1.1.1 - Added additional error bound checking that was missed in 1.1.0

To be added to new version:
  • Ability to generated new password if current gen is not desired.
  • Ability to rename file name if current filename already exist and user does not want to overwrite.
  • Ability to append (add to) current password files.
  • Add special characters to password.
Java Version

The Java version of Password Gen is a lightweight application that has no GUI. It follows the following command line argument:

*active director*: java PasswordGen DesiredLength a-z A-Z 0-9 special

For example: *active director*: java PasswordGen 10 1 1 1 0

would yield a random password with 10 characters made up of a through z, A through Z, and 0 through 9.
Attached Files
File Type: zip passwordgen1_1_1.zip (8.6 KB, 103 views)
File Type: zip PasswordGen Java 1000.zip (2.8 KB, 22 views)
__________________
Intel Overclocking Guide * Need A New Password? * Dual Core Folding Guide * Intel Memory Guide * Use Vista's UAC * Don't Post News From Fudzilla!
"Rightful liberty is unobstructed action according to our will within limits drawn around us by the equal rights of others." - Thomas Jefferson
"If everyone is thinking alike, then somebody isn't thinking."
- General George Patton
"Make everything as simple as possible, but not simpler" -Albert Einstein

System: System
CPU
Q6600
Motherboard
Gigabyte GA-EP45T-DS3R
Memory
4GB DDR3-1600 CL7
Graphics Card
VisionTek 4870
Hard Drive
2 x 7200.10 RAID0 + 160GB
Sound Card
Onboard
Power Supply
Silverstone OP650
Case
Custom Stacker
CPU cooling
Stinger V6
GPU cooling
MCW60
OS
Vista Ultimate 64 bit
Monitor
Dual 20.1" Sceptre

Last edited by pauldovi : 03-13-08 at 01:37 PM
pauldovi is offline Overclocked Account   Reply With Quote
Old 01-21-08   #2 (permalink)
Luck : 10pts
 
Licht's Avatar
 
amd ati

Join Date: Mar 2007
Location: Fl, US
Posts: 12,819
Blog Entries: 3

Rep: 363 Licht is a proven memberLicht is a proven memberLicht is a proven memberLicht is a proven member
Unique Rep: 240
Trader Rating: 0
Default

Lol, your easiest program yet Pauldovi?

System: Uzicht #4.5
CPU
Phenom II X4 920
Motherboard
Gigabyte 790X AM2+
Memory
6GB Kingston DDR2 667MHZ
Graphics Card
HD4850 + HD3870
Hard Drive
4x WD1600AAJS RAID0
Sound Card
X-Fi Extreme Gamer Professional
Power Supply
OCZ Game-X-Stream 700w
Case
NZXT Black Steel
CPU cooling
Xigmatec Rifle
GPU cooling
Stock Saphire 3870 Cooling
OS
Windows 7 Ultimate x86-x64
Monitor
Samsung SyncMaster 19"Wide
Licht is offline Overclocked Account Licht's Gallery   Reply With Quote
Old 01-21-08   #3 (permalink)
demonic overclocker
 
SZayat's Avatar
 
amd ati

Join Date: Apr 2007
Location: Abu Dhabi
Posts: 7,340
Blog Entries: 2

Rep: 1651 SZayat is a starSZayat is a starSZayat is a starSZayat is a starSZayat is a starSZayat is a starSZayat is a starSZayat is a starSZayat is a starSZayat is a starSZayat is a star
Unique Rep: 689
Folding Team Rank: 467
Trader Rating: 0
Default

SZayat:Can a handy tool live in 17 kilobytes?
Paul: Yes it can.
......

This app would help me at work when I create new user accounts. No more silly 'abc123' passwords.

Quote:
Originally Posted by Licht
Lol, your easiest program yet Pauldovi?
Your immature acting would only reflects badly upon you.
__________________
Vista.x64.FAQ :V MP3.Server :V Disable.TCP.Auto-Tunning :V Best.Wallpaper.Sources
LEARN ABOUT FOLDING@HOME
Quote:
Originally Posted by AntiTalent View Post
Bazooka + Wind > PhsyX.

System: Commonwealth Budget
CPU
Athlon II X4 620
Motherboard
Gigabyte GA-MA785GPMT-UD2H
Memory
Crucial 2x2GB DDR3
Graphics Card
ASUS Radeon HD 5750
Hard Drive
WD Caviar Black 500GB
Sound Card
ASUS Xonar DX
Power Supply
PPCS370X Silencer
Case
LIAN LI PC-7B plus II
CPU cooling
Freezer 7 Pro Rev.2
OS
7 Home Premium x64
Monitor
Dell ST2410 24-inch

Last edited by SZayat : 01-21-08 at 04:44 PM
SZayat is offline I fold for Overclock.net Overclocked Account SZayat's Gallery   Reply With Quote
Old 01-21-08   #4 (permalink)
Luck : 10pts
 
Licht's Avatar
 
amd ati

Join Date: Mar 2007
Location: Fl, US
Posts: 12,819
Blog Entries: 3

Rep: 363 Licht is a proven memberLicht is a proven memberLicht is a proven memberLicht is a proven member
Unique Rep: 240
Trader Rating: 0
Default

Quote:
Originally Posted by SZayat View Post
SZayat:Can a handy tool live in 17 kilobytes?
Paul: Yes it can.
......

This app would help me a work when I create new user accounts. No more silly 'abc123' passwords.
Heh, my benchmark rests 16k.

Quote:
Your immature acting would only reflects badly upon you.
It was a friendly joke. I respect Pauldovi as a programmer, he is far superior to me. I was merely pointing out it is a very simple ,yet useful, program. Some of the best applications out use this to their advantage.

System: Uzicht #4.5
CPU
Phenom II X4 920
Motherboard
Gigabyte 790X AM2+
Memory
6GB Kingston DDR2 667MHZ
Graphics Card
HD4850 + HD3870
Hard Drive
4x WD1600AAJS RAID0
Sound Card
X-Fi Extreme Gamer Professional
Power Supply
OCZ Game-X-Stream 700w
Case
NZXT Black Steel
CPU cooling
Xigmatec Rifle
GPU cooling
Stock Saphire 3870 Cooling
OS
Windows 7 Ultimate x86-x64
Monitor
Samsung SyncMaster 19"Wide

Last edited by Licht : 01-21-08 at 04:46 PM
Licht is offline Overclocked Account Licht's Gallery   Reply With Quote
Old 01-21-08   #5 (permalink)
Custom User Title
 
pauldovi's Avatar
 
intel ati

Join Date: Jul 2005
Location: Daytona Beach, Florida
Posts: 13,541
Blog Entries: 4

Rep: 915 pauldovi is becoming famouspauldovi is becoming famouspauldovi is becoming famouspauldovi is becoming famouspauldovi is becoming famouspauldovi is becoming famouspauldovi is becoming famouspauldovi is becoming famous
Unique Rep: 508
FAQs Submitted: 4
Hardware Reviews: 2
Trader Rating: 36
Default

Quote:
Originally Posted by SZayat View Post
SZayat:Can a handy tool live in 17 kilobytes?
Paul: Yes it can.
......

This app would help me a work when I create new user accounts. No more silly 'abc123' passwords.



Your immature acting would only reflects badly upon you.
I can make a smaller version that doesn't prompt the user for a-z, A-Z, 0-9, and doesn't clear the memory that contained the randomly generated password. I suspect it would be about 7kb .
__________________
Intel Overclocking Guide * Need A New Password? * Dual Core Folding Guide * Intel Memory Guide * Use Vista's UAC * Don't Post News From Fudzilla!
"Rightful liberty is unobstructed action according to our will within limits drawn around us by the equal rights of others." - Thomas Jefferson
"If everyone is thinking alike, then somebody isn't thinking."
- General George Patton
"Make everything as simple as possible, but not simpler" -Albert Einstein

System: System
CPU
Q6600
Motherboard
Gigabyte GA-EP45T-DS3R
Memory
4GB DDR3-1600 CL7
Graphics Card
VisionTek 4870
Hard Drive
2 x 7200.10 RAID0 + 160GB
Sound Card
Onboard
Power Supply
Silverstone OP650
Case
Custom Stacker
CPU cooling
Stinger V6
GPU cooling
MCW60
OS
Vista Ultimate 64 bit
Monitor
Dual 20.1" Sceptre
pauldovi is offline Overclocked Account   Reply With Quote
Old 01-21-08   #6 (permalink)
Off By 340 Undecillion
 
The Bartender Paradox's Avatar
 
amd nvidia

Join Date: Oct 2004
Location: Portland, Oregon
Posts: 2,471

Rep: 368 The Bartender Paradox is a proven memberThe Bartender Paradox is a proven memberThe Bartender Paradox is a proven memberThe Bartender Paradox is a proven member
Unique Rep: 276
Hardware Reviews: 1
Trader Rating: 3
Default

Found one bug (see attachment), otherwise it works quite well

Attached Thumbnails
Password Gen-bigbug.png   Password Gen-pw.png  
__________________
Congratulations! You have foundthe secret text! You get a cookie.

System: ½
CPU
AMD A64 3500+ Winchester
Motherboard
DFI nF4 SLi-DR
Memory
OCZ 4000VX
Graphics Card
EVGA 7800GT
Hard Drive
Maxtor 300Gb 16Mb Buffer
Sound Card
computers make sounds?
Power Supply
OCZ PowerStream 520W
Case
None
CPU cooling
Big
GPU cooling
Bigger
OS
XP Pro
Monitor
SOYO LCD
The Bartender Paradox is online now Overclocked Account The Bartender Paradox's Gallery   Reply With Quote
Old 01-21-08   #7 (permalink)
ORLY?!
 
TaiDinh's Avatar
 
intel nvidia

Join Date: Jan 2007
Location: Philadelphia, PA
Posts: 10,384

Folding Team Rank: 293
Trader Rating: 0
Default

Quote:
Originally Posted by The Bartender Paradox View Post
Found one bug (see attachment), otherwise it works quite well

The ultimate password!

Very nice program Paul!
__________________
Quote:
Originally Posted by stanrc View Post
Portal will last 6-10 on the first play through. I don't know about the others. Your machine can handle it fine, I've played them all on a 2600 and they still look great.

System: Emily
CPU
Q6600 G0 3.24GHz w/ 1.4v
Motherboard
Gigabyte DS3 rev 3.3
Memory
2x1GB G.Skills DDR2 800 NR
Graphics Card
Dying eVGA 8800GTS 640MB (G80)
Hard Drive
WD Cavier 250GB + SimpleTech 320GB EXHDD
Power Supply
OCZ 600w GameXStream
Case
COOLER MASTER Centurion 5
CPU cooling
Zalman 9700NT + AS5
GPU cooling
Stock + AS5 + Intel stock fan
OS
Vista Ultimate x86 SP2
Monitor
Samsung 19" SyncMaster 940BW
TaiDinh is offline I fold for Overclock.net Overclocked Account TaiDinh's Gallery   Reply With Quote
Old 01-21-08   #8 (permalink)
Custom User Title
 
pauldovi's Avatar
 
intel ati

Join Date: Jul 2005
Location: Daytona Beach, Florida
Posts: 13,541
Blog Entries: 4

Rep: 915 pauldovi is becoming famouspauldovi is becoming famouspauldovi is becoming famouspauldovi is becoming famouspauldovi is becoming famouspauldovi is becoming famouspauldovi is becoming famouspauldovi is becoming famous
Unique Rep: 508
FAQs Submitted: 4
Hardware Reviews: 2
Trader Rating: 36
Default

Quote:
Originally Posted by The Bartender Paradox View Post
Found one bug (see attachment), otherwise it works quite well

That is not a bug. That is the user being malicious.
__________________
Intel Overclocking Guide * Need A New Password? * Dual Core Folding Guide * Intel Memory Guide * Use Vista's UAC * Don't Post News From Fudzilla!
"Rightful liberty is unobstructed action according to our will within limits drawn around us by the equal rights of others." - Thomas Jefferson
"If everyone is thinking alike, then somebody isn't thinking."
- General George Patton
"Make everything as simple as possible, but not simpler" -Albert Einstein

System: System
CPU
Q6600
Motherboard
Gigabyte GA-EP45T-DS3R
Memory
4GB DDR3-1600 CL7
Graphics Card
VisionTek 4870
Hard Drive
2 x 7200.10 RAID0 + 160GB
Sound Card
Onboard
Power Supply
Silverstone OP650
Case
Custom Stacker
CPU cooling
Stinger V6
GPU cooling
MCW60
OS
Vista Ultimate 64 bit
Monitor
Dual 20.1" Sceptre
pauldovi is offline Overclocked Account   Reply With Quote
Old 01-21-08   #9 (permalink)
PC Gamer
 
silverwing's Avatar
 
intel ati

Join Date: Jan 2007
Location: Florida
Posts: 1,867

Rep: 62 silverwing is acknowledged by some
Unique Rep: 53
Trader Rating: 0
Default

Nice!
__________________
Quote:
Originally Posted by BombF1rst View Post
Blink when gaming

System: The Beast
CPU
Intel E6600 @ 3.2
Motherboard
ASUS P5K-P35
Memory
G-skill 4x1 DDR2-800
Graphics Card
HD 4870
Hard Drive
7200.10 Barracuda 250 GB
Sound Card
Onboard :(
Power Supply
700 Watt GameXstream
Case
Cooler Master Centurion 5
CPU cooling
TT 120
GPU cooling
Stock
OS
Vista Ultimate 64bit
Monitor
22" LCD Samsung
silverwing is offline   Reply With Quote
Old 01-21-08   #10 (permalink)
demonic overclocker
 
SZayat's Avatar
 
amd ati

Join Date: Apr 2007
Location: Abu Dhabi
Posts: 7,340
Blog Entries: 2

Rep: 1651 SZayat is a starSZayat is a starSZayat is a starSZayat is a starSZayat is a starSZayat is a starSZayat is a starSZayat is a starSZayat is a starSZayat is a starSZayat is a star
Unique Rep: 689
Folding Team Rank: 467
Trader Rating: 0
Default

Quote:
Originally Posted by Licht View Post
It was a friendly joke. I respect Pauldovi as a programmer, he is far superior to me. I was merely pointing out it is a very simple ,yet useful, program. Some of the best applications out use this to their advantage.
I take my post back.
__________________
Vista.x64.FAQ :V MP3.Server :V Disable.TCP.Auto-Tunning :V Best.Wallpaper.Sources
LEARN ABOUT FOLDING@HOME
Quote:
Originally Posted by AntiTalent View Post
Bazooka + Wind > PhsyX.

System: Commonwealth Budget
CPU
Athlon II X4 620
Motherboard
Gigabyte GA-MA785GPMT-UD2H
Memory
Crucial 2x2GB DDR3
Graphics Card
ASUS Radeon HD 5750
Hard Drive
WD Caviar Black 500GB
Sound Card
ASUS Xonar DX
Power Supply
PPCS370X Silencer
Case
LIAN LI PC-7B plus II
CPU cooling
Freezer 7 Pro Rev.2
OS
7 Home Premium x64
Monitor
Dell ST2410 24-inch
SZayat is offline I fold for Overclock.net Overclocked Account SZayat's Gallery   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools



All times are GMT -5. The time now is 06:51 PM.


Overclock.net is a Carbon Neutral Site Creative Commons License

Terms of Service / Forum Rules | Privacy Policy | DMCA Info | Advertising | Become an Official Vendor
Copyright © 2009 Shogun Interactive Development. Most rights reserved.
Page generated in 0.17237 seconds with 9 queries