Author Topic: Visual Basic help  (Read 2081 times)

0 Members and 1 Guest are viewing this topic.

Offline Mr.Joker

  • Serf
  • *
  • Posts: 32
  • Cookies: 2
    • View Profile
Visual Basic help
« on: June 16, 2011, 02:22:23 am »
You see, I started programming several weeks ago and going preaty good for now. But, i just cant figure out how to build an apllication where I can save my passwords for websites.
Example:



Note: I dont want to see just source code, if you can please explain me how those codes work so I can understand them and learn. Thank you :)

Freedom is not a crime!

Offline ande

  • Owner
  • Titan
  • *
  • Posts: 2664
  • Cookies: 256
    • View Profile
Re: Visual Basic help
« Reply #1 on: June 16, 2011, 04:42:50 am »
Rather insecure way of storing your passwords. I would suggest introducing some sort of encryption and password.

You need to store the data somewhere, a simple file will do the trick. But like I said, storing plain-text passwords in files is a no no. So, what you need to do is find some sort of encryption function that allows a password/key and use that when you store the data.

Look into my.computer.filesystem.read/writealltext() function for read and writing files. I would suggest AES or something similar as encryption. You probably gonna need further explanation but I simply dont got the time for it right now, maybe tomorrow.
« Last Edit: June 16, 2011, 04:43:27 am by ande »
if($statement) { unless(!$statement) { // Very sure } }
https://evilzone.org/?hack=true

Offline Mr.Joker

  • Serf
  • *
  • Posts: 32
  • Cookies: 2
    • View Profile
Re: Visual Basic help
« Reply #2 on: June 16, 2011, 12:17:52 pm »
Tnx for tips, when you got time you can explain a bit more so I understand it well :)
Freedom is not a crime!

Offline Stackprotector

  • Administrator
  • Titan
  • *
  • Posts: 2515
  • Cookies: 205
    • View Profile
Re: Visual Basic help
« Reply #3 on: June 16, 2011, 12:19:30 pm »
mabe lookup truecrypt or google for some encrypt libary's\api's, or you can call truecrypt trough command line.
Be CREATIVE!! :)
~Factionwars

Offline Mr.Joker

  • Serf
  • *
  • Posts: 32
  • Cookies: 2
    • View Profile
Re: Visual Basic help
« Reply #4 on: June 16, 2011, 12:28:11 pm »
That sounds great, problem is I am beginer, I know what is encryption but dont know to use it in Visual Basic. Have to learn a bit more for this xD
Freedom is not a crime!

Offline Kulverstukas

  • Administrator
  • Zeus
  • *
  • Posts: 6627
  • Cookies: 542
  • Fascist dictator
    • View Profile
    • My blog
Re: Visual Basic help
« Reply #5 on: June 16, 2011, 01:19:38 pm »
I'm sure you could find some code snippets that deal with string encryption. Just don't be lazy to search :)

Something like this: http://msdn.microsoft.com/en-us/library/ms172831.aspx
I don't do VB so I can't test it :)