Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Share Your Creations > Open Source Projects
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Open Source Projects The place to discuss Basic4ppc open source applications.

dllToDate stating point

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-25-2008, 03:58 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 2,313
Awards Showcase
Forum Contributer 
Total Awards: 1
Default dllToDate starting point

Hi Guys,

Just started re-writing Mr_Gee's DllToDate, and got already something to share/Test...

This new version, still only gets the user properly Authenticated, and this time, I'm 95% sure it will work for any user.
On First Run, a configuration form pops-up, allowing the user to enter USERNAME and PASSWORD...
These values MUST match the ones used to LogIn to the Basic4ppc Forum...
The Form Then closes and so does the app..
From there on, every time the app starts, it will Authenticate the User and check if the User is a Licended User...
IF any of these faills the app will close.
Only one Dll is not merged, the Browser.dll, wich is a WebBrowserEX.Dll, with two new features introduced especially for this project...
It will eventually be also merged into the exe...
This is comming along slowly but steadly, and hoppefully, it will speed up from now on...


EDIT: Added a field to select the libraries folder using a FolderDialog in the configuration Form

EDIT: File Download from restricted user area succesfully tested

EDIT: 2nd.exe.zip file added..remove the .zip part of the file name and execute with all the other project files..this replaces the original exe...
This adds a "in test" feature, the dll listing creation on the client side..
It will produce a new list every time it gets executed...as I said, it is for testing, not a done deal...
As usual, any coments are welcomed..
Attached Files
File Type: zip Dll2Date.zip (67.7 KB, 79 views)
File Type: zip 2nd.exe.zip (184.0 KB, 50 views)
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France-Saumur
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)
B4PPC DLL Version Listing - B4Android DLL Version Listing

Last edited by Cableguy : 03-01-2009 at 06:36 PM.
Reply With Quote
  #2 (permalink)  
Old 12-26-2008, 06:28 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 2,313
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

First Piece of code is now working and posted...
Sorry for the delay but I had to make sure if would be safe to Post, so spendt some time trying to Obfuscate the EXE...
As 1 Post#1, this will Only test if you are logged in to the forum and if you are/were(?) a licensed user..
If the output is in some way wrong, please let me know..
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France-Saumur
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)
B4PPC DLL Version Listing - B4Android DLL Version Listing
Reply With Quote
  #3 (permalink)  
Old 12-26-2008, 09:02 PM
Basic4ppc Veteran
 
Join Date: Jan 2008
Posts: 215
Default

Quote:
Originally Posted by Cableguy View Post
First Piece of code is now working and posted...
Sorry for the delay but I had to make sure if would be safe to Post, so spendt some time trying to Obfuscate the EXE...
As 1 Post#1, this will Only test if you are logged in to the forum and if you are/were(?) a licensed user..
If the output is in some way wrong, please let me know..
It said authentication failed, even though I was currently logged on to the forum with IE7 and Firefox.

Why are you obfuscating the exe?
Reply With Quote
  #4 (permalink)  
Old 12-26-2008, 09:06 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 2,313
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

You must enter the Username Exactly as it Apears in the forum, and it is case sensitive...
ie, i alway loggin with "cableguy" but the Forum registration Nick was "Cableguy"...
I have obfuscated, because the authentication is a very sensitive issue and if someone would try to disassemble the .net exe, they could understand the way I am verifying the User license status, Obfuscating prevents it...
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France-Saumur
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)
B4PPC DLL Version Listing - B4Android DLL Version Listing
Reply With Quote
  #5 (permalink)  
Old 12-26-2008, 10:39 PM
Basic4ppc Veteran
 
Join Date: Jan 2008
Posts: 215
Default

Quote:
Originally Posted by Cableguy View Post
You must enter the Username Exactly as it Apears in the forum, and it is case sensitive...
ie, i alway loggin with "cableguy" but the Forum registration Nick was "Cableguy"...
I have obfuscated, because the authentication is a very sensitive issue and if someone would try to disassemble the .net exe, they could understand the way I am verifying the User license status, Obfuscating prevents it...
I would have thought that user authentication was done using a MD5 hash. I guess if the exe is obfuscated then I'm not sure how this can be an open source project.

I am logged on as "digitaldon37" and used "digitaldon37" in the try.exe program and that didn't work
Reply With Quote
  #6 (permalink)  
Old 12-26-2008, 10:46 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 2,313
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

User Authentication is done in 2 steps:
1st-check if the user is a registered basic4ppc Forum User.
2nd-Check if he/she is verified as a licensed user.

This will be an Open Source Aplication, but for now I must keep the logic to myself, and to any other licensed user who wish to know how or help in the development of this software.
So please PM me if you want the currently in progress project...
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France-Saumur
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)
B4PPC DLL Version Listing - B4Android DLL Version Listing

Last edited by Cableguy : 12-26-2008 at 11:58 PM.
Reply With Quote
  #7 (permalink)  
Old 12-26-2008, 11:35 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 2,313
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

New Upload, with some minor changes...

New:
-It now loads some values from an ini file (DllToDate.ini)

Again, the results SHOULD be accurate, but I could only test with My own Nick, so please let me now of either Success or faillure of the verification logic.
Again, For those who wish to get a piece of the code in progress, please PM me...
Only licensed users may have access to it...
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France-Saumur
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)
B4PPC DLL Version Listing - B4Android DLL Version Listing
Reply With Quote
  #8 (permalink)  
Old 12-27-2008, 08:53 AM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Fully, Switzerland
Posts: 3,827
Awards Showcase
Forum Contributer Beta Tester Competition Winner 
Total Awards: 3
Default

Hi Paulo,

I tried the program, and unfortunately get the same error as digitaldon37.
Attached a picture of the error message.
My username is klaus and I am logged in to the B4PPC forum.

Best regards.
Attached Images
File Type: jpg DLLtoDate.jpg (91.0 KB, 41 views)
__________________
Klaus
Switzerland
Reply With Quote
  #9 (permalink)  
Old 12-27-2008, 09:55 AM
taximania's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Location: Derbyshire. UK
Posts: 585
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Works on the Desktop for me
__________________
.
.
.
Don't ask, I'm fine, honest. !!
.
.
.
Just a little crazy at times



O2 XDA, GW Evo 2.1 UC WWE Rom, WM6.1
Radio Ver 03.34.90
With Basic4ppc V6.80


http://www.taximania.co.uk
Reply With Quote
  #10 (permalink)  
Old 12-27-2008, 10:49 AM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 5,953
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Are you using Vista Klaus? It doesn't work on my Vista desktop but does work on on my XP laptop. I've poked around inside the exe (the obfuscation is a bit feeble Cableguy - I can see all that is going on!) and can't immediately see a reason for this so I am assuming it may be a Vista security issue but I can't see where
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
DLLtoDate (Quickly check your library versions) Mr_Gee Share Your Creations 8 12-20-2008 03:58 PM
Fixed Point Math im4retro Questions (Windows Mobile) 3 05-31-2008 07:13 AM
3 Point Arc ceaser Questions (Windows Mobile) 38 05-27-2008 04:23 PM
Ticks as a floating point value on XP (not 2000) lancaster Questions (Windows Mobile) 4 04-09-2008 11:38 AM


All times are GMT. The time now is 02:34 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0