flat assembler
Message board for the users of flat assembler.
![]() Goto page 1, 2 Next |
Author |
|
MHajduk
Hi!
I want to present here program SimPaGen which is a simple in use, small and very flexible application for password creation. Written with FASM utility makes easier generation of safe passwords used for logging on various forums, e-mail accounts and other sites. Simple animation presenting program SimPaGen execution: ![]() Created passwords consist of characters belonging to any combination of these four predefined categories:
and the user-defined character set. Number of all possible non-empty character sets is equal to 2^224-1 (number of all non-empty subsets of the set containing symbols with hexadecimal codes from 0x20 to 0xFF). Maximal length of the generated password is equal to 9999 characters. Created password is copied into the clipboard by pushing the button ![]() Special hotkey WIN + F12 defined by application, generates a new password and copies it into the clipboard (also if the application window is not active). Program settings such as length of the created passwords and password character set are saved in the registry key HKEY_CURRENT_USER\Software\SimPaGen\<program_version> when the application ends. Application uses CryptoAPI functions from 'advapi32.dll' library in order to gain "cryptographically random" sequence of the password characters. Source file of the application contains embedded data of the manifest and the program icons. Program is an example of the edit fields subclassing method. Here you can download application with source file encoded in UTF-8. Project's homepage: http://mikhajduk.houa.org/EN/SimPaGen.php Because program was described in 3 language versions here you have also: Program tested under Windows XP SP3. Last edited by MHajduk on 17 Sep 2008, 20:16; edited 3 times in total |
|||
![]() |
|
revolution
How about adding a button "copy to clipboard". Saves the user having to select and press ctrl-C.
|
|||
![]() |
|
MHajduk
revolution wrote: How about adding a button "copy to clipboard". Saves the user having to select and press ctrl-C. ![]() |
|||
![]() |
|
revolution
Tomasz Grysztar wrote: ... it should not contain characters that could be easily confused with each other in some fonts ... ![]() |
|||
![]() |
|
Tomasz Grysztar
![]() |
|||
![]() |
|
dead_body
thanks, cool program
![]() What about adding a format for password? For '111*' - will generate password with first '111'. For 'vitya_*_85' - will generate passwords wich begins with 'vitya_' and ends with '_85' |
|||
![]() |
|
MHajduk
dead_body wrote: What about adding a format for password? ![]() ![]() |
|||
![]() |
|
dead_body
Quote:
I will post your program at wasm.ru in sources? Links to your site will be added, of course. ![]() |
|||
![]() |
|
MHajduk
dead_body wrote: I will post your program at wasm.ru in sources? ![]() ![]() |
|||
![]() |
|
Picnic
Nice program MHajduk!
I'm missing something, i see no idata section using the include directive to import libraries. I saw that before, can you explain a bit? |
|||
![]() |
|
MHajduk
Thanks, thimis.
![]() I simply used some features of extended header 'win32wx.inc' which give possibility to "forget" about manually written import section. It's very convenient. You just need to put the line '.end <label_name>' (where '<label_name>' is the entry point of your program) at the end of the code and the import section will be added automatically. ![]() |
|||
![]() |
|
Picnic
very convenient indeed, nice tip MHajduk
![]() |
|||
![]() |
|
MHajduk
New version of SimPaGen application available.
Additions and changes: [+] added button ![]() [+] added hotkey WIN + F12 which generates new password and copies it to the clipboard (hotkey works also if application window is not active), [+] added possibility of saving actual program settings (password length and password character set) in the Windows registry, [x] simplified and corrected operations on the array which defines characteristic function of the password character set. For the download links see the first post of this thread. |
|||
![]() |
|
bitRAKE
See a small error in display:
|
||||||||||
![]() |
|
MHajduk
What version of the Windows system do you use, bitRAKE? I wrote this program under Windows XP SP3 Home Edition.
Even in the classic style of the Windows display I can see this: ![]() I would expect more elaborate report about circumstances of this strange behavior (if it was real). |
|||
![]() |
|
shoorick
have no problems here - was clicking everything but no similar bug reproducing
_________________ UNICODE forever! |
||||||||||||||||||||||||||||
![]() |
|
bitRAKE
MHajduk wrote: I would expect more elaborate report about circumstances of this strange behavior (if it was real). I'll try it on WinXP and report again. |
|||
![]() |
|
MHajduk
To pass quoted text strings as a procedure parameters I use macros included with the extended header 'win32wx.inc'.
Probably for 64-bit system (as yours) should be used header file 'win64w.inc'? Maybe it will fix this problem (32-bit data alignment in 64-bit system???) for 64-bit Windows (I have 32-bit). ![]() |
|||
![]() |
|
bitRAKE
Very good - alignment makes sense. Only those two strings start at an odd address - wide strings need to be word aligned at minimum.
Adding three lines to WIN32WX.INC (line 109): Code: if (1 and $)=0 ; force aligned nop ; wide character end if ; string call ..continue du value,0 ..continue: |
|||
![]() |
|
Goto page 1, 2 Next < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.