Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 06-23-2004, 10:03 PM   #1
187
Confirmed User
 
Join Date: Jun 2004
Location: ICQ: 59-10-33
Posts: 493
Any VB newbies? Want to password protect your software with a URL .txt

This way you can change the access password whenever you want

I just threw this together for a program I'm making

Load up msinet.ocx

make: text1 (password), text2 (password feedback from the web), commandbutton1 (password verification), label1 (status), form2 (the next form)

----------------------------------

Private Sub Command1_Click()
Label1.Caption = "[ verifying pwd ]"
Dim pWd As String
pWd = Inet1.OpenURL("http://website.com/pwd.txt")
Do: DoEvents
Loop Until Inet1.StillExecuting = False
Text2.Text = pWd
If Text1.Text = "" + Text2.Text + "" = False Then GoTo unverified
verified:
Label1.Caption = "[ welcome... ]"
Form2.Show
GoTo verifiedx
unverified:
Label1.Caption = "[ INCORRECT ]"
End
verifiedx:
Unload Me
End Sub

---------------------------

^ simple code, but if your software leaks you can just change the access password in the URL and nobody can get in
__________________
wtf? free traffic? ww.netr.nu is slick business you sheep

Last edited by 187; 06-23-2004 at 10:05 PM..
187 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-23-2004, 11:05 PM   #2
M_M
Confirmed User
 
Join Date: May 2004
Posts: 1,167
leave
M_M is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-23-2004, 11:23 PM   #3
bawdy
Confirmed User
 
Join Date: Feb 2002
Posts: 1,424
lol... use a http sniffer to find out whats been sent and recieved then set up a hostfile entry and replicate...
bawdy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-23-2004, 11:32 PM   #4
gin
Confirmed User
 
Join Date: Sep 2003
Posts: 672
until they change their hosts file to make website.com be theirwebsite.com and host their own pwd.txt and have full access.
gin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-23-2004, 11:42 PM   #5
M_M
Confirmed User
 
Join Date: May 2004
Posts: 1,167
make your app generate a random number and encode it with a private key..

send the number to the server, which also does the same encoding and sends back the encoded data.

compare to the local encoded data with what you get from the server.


only way to beat this would be messing with the executable or having the private key stolen.
M_M is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-23-2004, 11:58 PM   #6
zzgundamnzz
Confirmed User
 
zzgundamnzz's Avatar
 
Join Date: Apr 2002
Location: Los Angeles
Posts: 6,102
Weren't you dying or something?

Shouldn't you be seeing the world?
__________________


zzgundamnzz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.