AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

Guid in delphi

Ein Thema von pastra · begonnen am 25. Jun 2006 · letzter Beitrag vom 25. Jun 2006
Antwort Antwort
Seite 1 von 2  1 2      
pastra

Registriert seit: 23. Jun 2006
21 Beiträge
 
#1

Guid in delphi

  Alt 25. Jun 2006, 20:31
Hi.

I have a guid (Created by a website), that I know is generated from a string containing my username,password and perpaps the current time.

Now my question is as follows:

Is there a way to "decode" the guid and return its string value, that it is based on to begin with?


Thanks.
  Mit Zitat antworten Zitat
Benutzerbild von Mystic
Mystic

Registriert seit: 18. Okt 2003
Ort: Flerzheim
420 Beiträge
 
Turbo Delphi für Win32
 
#2

Re: Guid in delphi

  Alt 25. Jun 2006, 20:34
The "GUID" is probably the result of a hash function (like MD5 and SHA1). Hash functions are one-way and not reversable.
Jan Steffens
Der Fachwortgenerator - 100% Schwachsinn --- Der UPnP Router Manager - Kommentare erwünscht!
  Mit Zitat antworten Zitat
pastra

Registriert seit: 23. Jun 2006
21 Beiträge
 
#3

Re: Guid in delphi

  Alt 25. Jun 2006, 20:39
Zitat von Mystic:
The "GUID" is probably the result of a hash function (like MD5 and SHA1). Hash functions are one-way and not reversable.

If we asume It is not, the how to test if its true?
  Mit Zitat antworten Zitat
Benutzerbild von Mystic
Mystic

Registriert seit: 18. Okt 2003
Ort: Flerzheim
420 Beiträge
 
Turbo Delphi für Win32
 
#4

Re: Guid in delphi

  Alt 25. Jun 2006, 20:45
If the "GUID" is always the same length, it most likely is a hash. Even it is not, you need to know exactly how it was created to be able to decode it.
Jan Steffens
Der Fachwortgenerator - 100% Schwachsinn --- Der UPnP Router Manager - Kommentare erwünscht!
  Mit Zitat antworten Zitat
Benutzerbild von Bernhard Geyer
Bernhard Geyer

Registriert seit: 13. Aug 2002
17.170 Beiträge
 
Delphi 10.4 Sydney
 
#5

Re: Guid in delphi

  Alt 25. Jun 2006, 20:47
Can you show us this GUID (Format)?
Windows Vista - Eine neue Erfahrung in Fehlern.
  Mit Zitat antworten Zitat
pastra

Registriert seit: 23. Jun 2006
21 Beiträge
 
#6

Re: Guid in delphi

  Alt 25. Jun 2006, 20:52
Zitat von Bernhard Geyer:
Can you show us this GUID (Format)?

Yes the format is:

XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
1. Blok =8 ---- 2. Blok =4 ---- 3. Blok =4 ---- 4. Blok =4 ---- 5. Blok =12


The {} are not used...

I belive the length of the GUID remains the same allways..
  Mit Zitat antworten Zitat
Benutzerbild von Bernhard Geyer
Bernhard Geyer

Registriert seit: 13. Aug 2002
17.170 Beiträge
 
Delphi 10.4 Sydney
 
#7

Re: Guid in delphi

  Alt 25. Jun 2006, 21:00
I think it's a "normal" GUID.

No Username/Passwort is encoded in it. I think the Webpage uses a database to save the Username/Passwort to a GUID.
Windows Vista - Eine neue Erfahrung in Fehlern.
  Mit Zitat antworten Zitat
pastra

Registriert seit: 23. Jun 2006
21 Beiträge
 
#8

Re: Guid in delphi

  Alt 25. Jun 2006, 21:33
Zitat von Bernhard Geyer:
I think it's a "normal" GUID.

No Username/Passwort is encoded in it. I think the Webpage uses a database to save the Username/Passwort to a GUID.

1. I log in on a website (asp) by entering: username and password.
2. It then logs in.
3. a session is stated and the guid is generated.
4. every time i log out and in again it genarates a new guid

I understand what you mean by the username beeing stores in a database with a uniqe field (the GUID) value..

But I really think the username and password is in that "GUID" looking thing.

But as I read the awnser the conclution is that it is imposible?

If not, are there any ways to convert a GUID to readable chars?


Cheers!
  Mit Zitat antworten Zitat
Benutzerbild von Mystic
Mystic

Registriert seit: 18. Okt 2003
Ort: Flerzheim
420 Beiträge
 
Turbo Delphi für Win32
 
#9

Re: Guid in delphi

  Alt 25. Jun 2006, 21:35
This GUID seems to be a session ID and as such can be seen as a totally random value.
Jan Steffens
Der Fachwortgenerator - 100% Schwachsinn --- Der UPnP Router Manager - Kommentare erwünscht!
  Mit Zitat antworten Zitat
Benutzerbild von 3_of_8
3_of_8

Registriert seit: 22. Mär 2005
Ort: Dingolfing
4.129 Beiträge
 
Turbo Delphi für Win32
 
#10

Re: Guid in delphi

  Alt 25. Jun 2006, 21:48
The length of the GUID has 32 characters (without the -'s), so I think it's a MD5 hash. There is absolutely no possibility to find out the data without hacking the database.
Manuel Eberl
„The trouble with having an open mind, of course, is that people will insist on coming along and trying to put things in it.“
- Terry Pratchett
  Mit Zitat antworten Zitat
Antwort Antwort
Seite 1 von 2  1 2      


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 05:04 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz