Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


On 08/08/2011 07:01 PM, Andrew Douglas Pitonyak wrote:
On 08/08/2011 06:56 PM, NoOp wrote:
Andrew,

In attempting to help Bob Stia in the 'password problem' thread, I came
across this macro:

<http://sourceforge.net/projects/ooomacros/files/PasswordCracker/Version%201.0/>

Interesting. I am familiar with the author. He has provided much advice 
to the community.

This works *if* you have the *exact* password in the password file.
Unfortunately it doesn't take regex etc., so it's only useful if the
exact password is in the dictionary/password file. Is there any way to
modify the macro so that it will try variations?

yes

Example:

Password is 'test'.
- try 't' and combinations of 't' for length 4.

similar to pdfcrack.
Would probably require some work to write it as  you desire. For a one 
shot deal, however, it might be just as easy to simply generate a text 
file created in a spreadsheet.

Otherwise, you would want to remove the file I/O related commands such as:

Opening the file:
     iFile = FreeFile ()
     open sDicFile for input as iFile


** Rather than opening a file, you would initialize your test password 
with something.

Closing the file:
     close #iFile

Reading the file:
Line Input #iFile, sPass

**** Rather than reading the file, you simply need to automatically 
choose the next password based on the current password. At one time, I 
wrote a checker that would check based on some assumed characters. I 
posted the code on the OOo forum.


http://www.oooforum.org/forum/viewtopic.phtml?t=23014


Thanks Andrew. I've no experience with macros, so it will be a good
learning experience.




-- 
For unsubscribe instructions e-mail to: users+help@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.