Yet another "Treasure"
-
I think even in the dim mists of time when VB6 code was still being written, this was probably not considered "secure":
Public Function CheckPassword() As Boolean
CheckPassword = False
If InputBox("Enter password", "Admin Area - Password Required") = "****" Then
CheckPassword = True
End If
End FunctionI've obfuscated the password, but yes, it was stored in plain text, it was 4 characters long, and is in a dictionary.
"If you don't fail at least 90 percent of the time, you're not aiming high enough." Alan Kay.
-
I think even in the dim mists of time when VB6 code was still being written, this was probably not considered "secure":
Public Function CheckPassword() As Boolean
CheckPassword = False
If InputBox("Enter password", "Admin Area - Password Required") = "****" Then
CheckPassword = True
End If
End FunctionI've obfuscated the password, but yes, it was stored in plain text, it was 4 characters long, and is in a dictionary.
"If you don't fail at least 90 percent of the time, you're not aiming high enough." Alan Kay.
Can I make a guess? The password was "Test"? :laugh:
-
Can I make a guess? The password was "Test"? :laugh:
or "Pass"?
thatraja
Code converters | Education Needed No thanks, I am all stocked up. - Luc Pattyn When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is - Henry Minute
-
or "Pass"?
thatraja
Code converters | Education Needed No thanks, I am all stocked up. - Luc Pattyn When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is - Henry Minute
Or "Dumb" Short for Dumbass Programmer.
<voice type="Ebeneezer Scrooge"> Bah. dumb bugs </voice>
-
Or "Dumb" Short for Dumbass Programmer.
<voice type="Ebeneezer Scrooge"> Bah. dumb bugs </voice>
Mine's short for password. I have seen many people used admin/pass as login details for programs(testing).
thatraja
Code converters | Education Needed No thanks, I am all stocked up. - Luc Pattyn When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is - Henry Minute
-
I think even in the dim mists of time when VB6 code was still being written, this was probably not considered "secure":
Public Function CheckPassword() As Boolean
CheckPassword = False
If InputBox("Enter password", "Admin Area - Password Required") = "****" Then
CheckPassword = True
End If
End FunctionI've obfuscated the password, but yes, it was stored in plain text, it was 4 characters long, and is in a dictionary.
"If you don't fail at least 90 percent of the time, you're not aiming high enough." Alan Kay.
-
Or "Dumb" Short for Dumbass Programmer.
<voice type="Ebeneezer Scrooge"> Bah. dumb bugs </voice>
Gets my vote - but not the one.
"If you don't fail at least 90 percent of the time, you're not aiming high enough." Alan Kay.
-
I think even in the dim mists of time when VB6 code was still being written, this was probably not considered "secure":
Public Function CheckPassword() As Boolean
CheckPassword = False
If InputBox("Enter password", "Admin Area - Password Required") = "****" Then
CheckPassword = True
End If
End FunctionI've obfuscated the password, but yes, it was stored in plain text, it was 4 characters long, and is in a dictionary.
"If you don't fail at least 90 percent of the time, you're not aiming high enough." Alan Kay.
WOW That's... yeah. That's impressive.
-
I think even in the dim mists of time when VB6 code was still being written, this was probably not considered "secure":
Public Function CheckPassword() As Boolean
CheckPassword = False
If InputBox("Enter password", "Admin Area - Password Required") = "****" Then
CheckPassword = True
End If
End FunctionI've obfuscated the password, but yes, it was stored in plain text, it was 4 characters long, and is in a dictionary.
"If you don't fail at least 90 percent of the time, you're not aiming high enough." Alan Kay.
Last night, I wanted to test my (database-agnostic) data access tool against an Access database. The one I tried was for a little app I wrote many years ago which I knew was password-protected, I had to look in the code to remind myself of what the password was -- very handy, that. :-D
This space intentionally left blank.
-
Gets my vote - but not the one.
"If you don't fail at least 90 percent of the time, you're not aiming high enough." Alan Kay.
Is it "elephant", or is that just what you shouted when you found this code? :rolleyes:
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer