Sign in to follow this  
Followers 0
TehWhale

Project Database v5 (Having issues with PD5) POLL!

Project Database   7 members have voted

  1. 1. Should I continue this project or let it die?

    • Continue it!! It's good!
      6
    • Continue it eventhough I wouldn't use it
      1
    • These forums don't need that, drop it
      0
    • I don't find it useful, drop it.
      0

Please sign in or register to vote in this poll.

19 posts in this topic

#1 ·  Posted (edited)

Project Database v5!

This is a simple database for AutoIt users. This database uses a Crypt.dll file to help secure the database from prowling eyes. This database is not 100% secure, but it is very secure, for now the database encryption password, if the database path itself. I decided to write this in my spare time for those users who think _SQLite_* is a bit complicated. Sqlite is somewhat slow, and compared to this, it is VERY slow, Crypt.dll can mass encrypt files super fast. I hope you use this UDF in your next project! Hope it all works out, and please post any comment you want to. If you have something bad to say, say it! I'll just take it as constructive criticism. Very last, thank you jpam for your Crypt.dll.

When creating a new database with _Db_* functions, remember to allocate your index first with _Db_AddIndexes(). If you do not allocate your database first, it will crash your .exe, or AutoIt script executer. This sets up your database file to hold data, depending on how big you set your index to be. After you have done this, then use _Db_Write() freely, but make sure that you have that index before tring to write to it.

Getting started...

1) Download the Project Database.zip at the bottom of the page, and then return to here

2) Unzip the .zip to your desktop, or where ever

3) Take a look at the Database EX Simple.au3 or, Database EX Advanced.au3 and choose which best fixs you

4) Execute the source code, and debug message box will tell you what it has done, and when reading it

5) Click here and post your comment

6) Use this is your next program! :)

Enjoy!

Included in the zip:

1) Db.dll (by jpam) (Just Crypt.dll renamed)

2) Database.au3

3) Database EX Simple.au3

4) Database EX Advanced.au3

Downloads:

Do not download right now, unless you really feel the need, I'm having multiple issues with it.

Project_Database_v5.zip

Total Downloads: 152

SciTe_User_Calltips.txt

Mirrors: (Do not use unless the above is broken)

Project Database v4.zip

Edited by SwiftBurns

Share this post


Link to post
Share on other sites



its good project... :)


Share this post


Link to post
Share on other sites

"Invalid Download Link" all over ... tried several times ...


SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script

wannabe "Unbeatable" Tic-Tac-Toe

Paper-Scissor-Rock ... try to beat it anyway :)

Share this post


Link to post
Share on other sites

"Invalid Download Link" all over ... tried several times ...

i try for second download...the link is still ok..

maybe you should try again... :)


Share this post


Link to post
Share on other sites

Nope ... 5 in a row and still nothing ...

Why not attaching it here?


SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script

wannabe "Unbeatable" Tic-Tac-Toe

Paper-Scissor-Rock ... try to beat it anyway :)

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

Project Database v3 uploaded!

Updated! I fixed a few bugs with the program, now you must set your index before writing to that database. Remember that it can slow down encryption/decrytion when you have a huge index, your best bet would be to increase the size when you need to. Better example, more comments, cleaned source! Enjoy, I will be back tomorrow and i'm hoping for some either good, or bad, comments from you guys!

Edited by SwiftBurns

Share this post


Link to post
Share on other sites

Haven't tested it yet, I only had a look at the code ... it looks good :)

I guess I'll have a need for such a tool sometime.

Thanks for sharing it.


SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script

wannabe "Unbeatable" Tic-Tac-Toe

Paper-Scissor-Rock ... try to beat it anyway :)

Share this post


Link to post
Share on other sites

its good project... :)

Thanks!

Haven't tested it yet, I only had a look at the code ... it looks good >_<

I guess I'll have a need for such a tool sometime.

Thanks for sharing it.

Well try it out, I provided a nice example! :idiot:

Seems like a nice project, keep going.

I sure hope crypt.dll will be unneeded in future versions.

Crypt.dll is the main encryption .dll, I'll find a way to remove it or something but so it still works correctly.

Thanks for all of your comments!

Share this post


Link to post
Share on other sites

#10 ·  Posted (edited)

Project Database v4 Uploaded!

Better examples, fixed some coding, now working 100%, did lots of testing.

Edited by SwiftBurns

Share this post


Link to post
Share on other sites

*Cough* Comments *Cough* 48 total downloads and 2 comments. :P

Share this post


Link to post
Share on other sites

sorry i could not understand what is this?

is it a replacement for IniRead() & IniWrite?

can you provide a example of using it?

any more simple and easy to understand description?

Share this post


Link to post
Share on other sites

No, not like IniWrite, but it's just a encrypted database. Your index is basically what line the file is writing too. I provide a Simple example and a advanced user example in my .zip. You use the _Db_AddIndexes() First, and set how many spots you want open for data, and then you can use the _Db_Write to write to any of the indexes you created with _Db_addIndexes().

Sorry for the late reply, I didn't notice anyone posted here.

Share this post


Link to post
Share on other sites

*Cough* Comments *Cough* 48 total downloads and 2 comments. :(

It's cool :P Good job!

code

Share this post


Link to post
Share on other sites

It's cool :P Good job!

Glad you like it!!

Share this post


Link to post
Share on other sites

Project Database v5 Uploaded!

Fixed some bugs, changed coding, etc. :P

Share this post


Link to post
Share on other sites

Hmm, I noticed something, but not sure why. When you run my script, and rerun it, it says like index = -47? I'm going to have to do some debugging.

Share this post


Link to post
Share on other sites

Pssst, I found line 104 in Database.au3 the $Indexes needed renamed to $nIndexes.. Nice script btw..

Share this post


Link to post
Share on other sites

Pssst, I found line 104 in Database.au3 the $Indexes needed renamed to $nIndexes.. Nice script btw..

Thanks.

I think I'm going to do a rewrite of the whole thing, because I'm having some issues with it. After you write all the data, and then read it, from my example script, if you run it again, it's says the index is a negitive number. Then, the read of the script fails because it's using _Crypt_GetIndex, and that fails because the index got to negitives. So I am planning a rewrite today when I get home from school, and it should fix this problem, because I find this UDF very useful, as it's fast, and encrypted, but I would like your input on the subject, whether I should continue this project, or let it drop. I'll be adding a poll option soon.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0