Autor Beitrag
Marco D.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Do 22.09.05 07:56 
kann man aus einer exe oder einer dll den programmcode wieder entschlüsseln. Ich meine klar geht das aber kann das auch der nette mensch von nebenan? Das profis das können steht sicher nicht zur debatte. Wenn ich z.B. meine DLL mit dem Editor öffne kommt nur Zeichenwirrwar. Also ich wüsste nicht wie man da den PRogrammcode zurückrechnen kann.

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
patrick
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1481

WIN2k, WIN XP
D6 Personal, D2005 PE
BeitragVerfasst: Do 22.09.05 08:28 
nein, du wirst nicht den programmcode zurückbekommen können
der einzige weg geht über disassembler oder über tools wie dede,
aber auch dort wirst du nur asm als ergebnis erhalten und keinen code wie:
ausblenden Delphi-Quelltext
1:
2:
if test=true then
 dannmachwas //mitkommentar

_________________
Patrick
im zweifelsfall immer das richtige tun!!!
Ja-Pa
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 458

Win XP, Suse 9.3
D1, D3, D5 Std, D7 Pro, D2005 Pers, Kylix 3
BeitragVerfasst: Do 22.09.05 20:11 
user profile iconKoller hat folgendes geschrieben:
Ich meine klar geht das


Nein. Du kommst, wie mein Vorredner schon gesagt hat, von einer compilierten EXE-Datei nicht mehr auf den Programmcode zurück. Definitiv nicht. Du kannst ja auch kein Schnitzel wieder in ein Schwein zurückwerwandeln.
Das einzige, was du machen kannst, ist den Aufbau des Schnitzels untersuchen, dir also die Prozessorbefehle (den Assemblercode) ansehen.
Wie das etwa aussieht, siehst du hier: de.wikipedia.org/wiki/Assemblersprache

Viele Grüße,
Ja-Pa

_________________
Der Autor dieses Textes haftet nicht für Schäden an Soft- oder Hardware
oder Vermögensschäden, die durch das Benutzen des Textes entstehen.
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Do 22.09.05 21:53 
user profile iconJa-Pa hat folgendes geschrieben:
user profile iconKoller hat folgendes geschrieben:
Ich meine klar geht das


Nein. Du kommst, wie mein Vorredner schon gesagt hat, von einer compilierten EXE-Datei nicht mehr auf den Programmcode zurück. Definitiv nicht.

Stimme ich so schon FAST zu: Das "definitiv" würde ich abmindern, da der Aufwand um sowas vernünftig zu reproduzieren zu groß ist.

user profile iconJa-Pa hat folgendes geschrieben:
Du kannst ja auch kein Schnitzel wieder in ein Schwein zurückwerwandeln.

Man kann aber etwas erzeugen, was so ähnlich wie Schwein aussieht.

Genauso ist das bei compilierten Programmen. Mit entsprechend viel Zeit und Aufwand ist es möglich per Heuristik die relevanten Teile des Algorithmus zu rekonstruieren. Kommentare sind da zwar nicht mit drin, jedoch lauffähiger Source, der stellenweise sogar Hochsprachenansätze beinhalten kann, lässt sich rekonstruieren. Jedoch gibt es ATM keinerlei Programme, die einen dafür nötigen Heuristik-Aufwand durchführen.

Weiterhin sei erwähnt, dass man mit Hilfe einer MAP-Datei von Delphi das Spiel sogar so weit treiben kann, dass man den ASM-Source so weit kommentieren kann, dass statt stupider Adressen korrekte Variablennamen stehen. Zu beachten ist aber, dass die Typen immernoch erraten werden müssen.

user profile iconJa-Pa hat folgendes geschrieben:
Das einzige, was du machen kannst, ist den Aufbau des Schnitzels untersuchen, dir also die Prozessorbefehle (den Assemblercode) ansehen.
Wie das etwa aussieht, siehst du hier: de.wikipedia.org/wiki/Assemblersprache

Viele Grüße,
Ja-Pa

Für entsprechend geschulte Augen sieht ASM wie eine Hochsprache aus. Der Möglichkeiten für eine Rekonstruktion gibt es da viele - nur lohnen tut sich keine wirklich.

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
Marco D. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: So 25.09.05 16:33 
www.delphi-forum.de/viewtopic.php?t=47793

Aber hier steht dass in der EXE der Klartext steht. Wer hat nu recht? :gruebel: :?!?: :nixweiss: :nixweiss:

Moderiert von user profile iconChristian S.: SID aus Link entfernt

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Mo 26.09.05 00:17 
Das sind ja auch hardgecodete Zeichenketten und keine Anweisungen einer Hochsprache, die in entsprechenden ASM Code compiliert werden.
Marco D. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Di 27.09.05 11:22 
Titel: DLL
Ich werd dann mal meine DLL hochladen, euch einen PW-Hash geben und ihr knackt dann bitte den Hash idnem ihr mir das zurückgerechnete PW sagt.OK?

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
patrick
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1481

WIN2k, WIN XP
D6 Personal, D2005 PE
BeitragVerfasst: Di 27.09.05 11:26 
sowas braucht zu viel zeit, als das sich hier jemand dessen annimmt.
aber vielleicht macht es ja doch einer :-)

_________________
Patrick
im zweifelsfall immer das richtige tun!!!
sunspeed
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 99

Win 95, Win 98,WinME,W2k Win XP
Delphi 4 Pers,Delphi 7 Prof, Delphi 2005 Arch, VS 2003, VS 2005, C#
BeitragVerfasst: Di 27.09.05 11:29 
Verzeihung wenn ich mich hier mal kurz einhänge,
ich hab hier grad das Wort "Hash" gelesen.
Is das was MD5 verschlüsseltes oder was is ein Hash?

Gruß sunspeed

_________________
Tiefe Brunnen muss man graben, wenn man klares Wasser will.
Tiefe Wasser sind nicht still!
Marco D. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Di 27.09.05 11:36 
Also der Hash ist:

shdfi>7=is/§$ajdbgushbgpqüasdoa=1#>a/-6pqüsx

Und in der DLL gibt es ne Funktion die einen String verschlüsselt. Da man das ja knacken kan nwie ihr es zumindest gesagt habt dann müsstet ihr mir ja das richtige PW sagen können :wink: Bin mal gespannt :wink:

Greetz Koller
Einloggen, um Attachments anzusehen!
uall@ogc
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1826
Erhaltene Danke: 11

Win 2000 & VMware
Delphi 3 Prof, Delphi 7 Prof
BeitragVerfasst: Di 27.09.05 11:40 
Koller nen hash kann man nicht in annehmbarer zeit zu nem text "decodieren"

wenn du nen langes PW hast und daraus nen kruzen hash amchst, dann gibt es für diesen hash viel mehr PWs die in frage kommen

wenn du aber nen KEY prüfst ob der gültig ist (Seriennummer) dann haste z.b. nen key mit 20 stellen und am schluss kommt nen boolean raus. das kann man wieder zurückumwandeln. und nichts anderes mahen die leute die die keygens schreiben.

das würd ich dir auch noch demonstrieren

such dir nen algorythmus raus der aus nem 10 stelligem key prüft ob der gültig ist (natürlich müssen es mehrere lösungen geben, wie halt in der realität auch)

_________________
wer andern eine grube gräbt hat ein grubengrabgerät
- oder einfach zu viel zeit
Marco D. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Di 27.09.05 11:43 
Titel: HAsh
Ich bin mir zwar nicht sicher aber ich glaube ein Hash ist ein verschlüsseltes Passwort. Wenn das nicht stimmt dann belehrt mich eines besseren. Wie gesagt sicher bin ich mir da nicht :weissnix:

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
uall@ogc
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1826
Erhaltene Danke: 11

Win 2000 & VMware
Delphi 3 Prof, Delphi 7 Prof
BeitragVerfasst: Di 27.09.05 11:45 
Koller aber in deinem Fall mach ich das mal :)

Also da Fehler jetzt sicher auch keine CTF dateien oder? d.h. es müsste möglich sein daraus den hash irgedniwe zu machen. und die Spezifikationen für die exporte kann ich mir auch aus den rippen schneiden.

Gib nen programm bei dem man im nen edit was eintragen kann und dann da das ergebnis rauskommt. so hab ich die hälfte ja nicht.

ist aber nicht zufällig die lösung "Delphi"? zumindest die ersten buchstaben hab ich hinbekommen ;)
jedefnalls hat es die form "De__hi"


EDIT:

denk mal ist Dlephi soll ich noch nen decrypter schreiben?

_________________
wer andern eine grube gräbt hat ein grubengrabgerät
- oder einfach zu viel zeit
Marco D. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Di 27.09.05 12:00 
Titel: Hash
:shock: :shock: :shock: :shock: :shock: :shock: :shock: :shock:

Mit welchem Programm öffnest du denn die DLL. Ach so... :oops:

Das PW ist richtig. Kannst mir mal verraten wie du das gemacht hast.

Neuer Hash: €asd´p=asd23uzM0}7=is/9a$~asd87=8ax359a$~asdp=asd23pqüasd15ts=12f`\asdg17/0

Kriegste denn auch raus? :wink:

Ich geb zu dass die VErschlüsselung blöd ist

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Di 27.09.05 12:20 
Ich glaube, hier gibt es ein Verständinsproblem. Ein Hash ist ein Fingerabdruck und in dem Sinne keine eigentliche Verschlüsselung. Aus Daten wird eine eindeutige, meist kürzere Zeichenfolge errechnet. So kann man zum Beispiel von einer 3 MB großen Dateien einen 32-Bit langen Hash bilden. Ändere ich nur ein Byte an der Datei, bekomme ich einen anderen Hash. So etwas nutzt man unteranderem um Dateien zu vergleichen. Zwei 32-Bit lange Hashwerte lassen sich schneller vergleichen als zwei mehrere MB große Dateien. Da natürlich beim Bilden des Hashes Daten unweigerlich verlorengehen, kann man von einem Hash nicht wieder die Daten erhalten, aus denen der Hash gebildet wurde. Man kann also eine Hash auch als Einwegverschlüsselung sehen, die man nicht mehr rückgängig machen kann.

Nebenbei bemerkt würde ich davon abraten eigene Verschlüsselungsverfahren zu entwickeln. Da selbige mit sehr hoher Wahrscheinlichkeit unsicherer sein werden als bekannte Verschlüsselungsverfahren. Es gehört nämlich wahnsinnig viel Mathematik und Wissen über Kryptologie dazu eine Verschlüsselung zu entwicklen. Hinzu kommt eine saubere Implementierung, die auch nicht so einfach ist, als es im ersten Moment scheint, denn es gehört mehr dazu als nur den Algorithmus zu übersetzen.

Und zu sagen: "Meine Verschlüsselung ist sicher, weil sie niemand kennt", ist ein falscher Trugschluss. Im Gegenteil, der Algorithmus muss offengelegt sein und man muss beweisen, dass obwohl der Algorithmus bekannt ist, die Verschlüsselung sicher ist. Und dieser Beweis wurde eben schon bei den gängigen Verschlüsselungsverfahren erbracht bzw. mit der Zeit wieder widerlegt.


Zuletzt bearbeitet von Luckie am Di 27.09.05 12:25, insgesamt 1-mal bearbeitet
sunspeed
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 99

Win 95, Win 98,WinME,W2k Win XP
Delphi 4 Pers,Delphi 7 Prof, Delphi 2005 Arch, VS 2003, VS 2005, C#
BeitragVerfasst: Di 27.09.05 12:23 
Ok vielen Dank für die ausführliche Antwort. etz weiß ich wenigstens was man darunter versteht.

mfg

sunspeed

_________________
Tiefe Brunnen muss man graben, wenn man klares Wasser will.
Tiefe Wasser sind nicht still!
uall@ogc
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1826
Erhaltene Danke: 11

Win 2000 & VMware
Delphi 3 Prof, Delphi 7 Prof
BeitragVerfasst: Di 27.09.05 12:41 
ausblenden volle Höhe Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
üjd=/()213 - a - 61
"qp12`? - b - 62
7123iod - c - 63
97üa*#°> - d - 64
7=is/ - e - 65
15ts=12 - f - 66
ß1/jpasjd1) - g - 67
oa=1#>a/-6 - h - 68
pqüsx - i - 69
cm - j - 6A
87=8ax35 - k - 6B
§$ajdbgushbg - l - 6C
hi(7113 - m - 6D
9a$~asd - n - 6E
p=asd23 - o - 6F
pqüasd - p - 70
uxumla - q - 71
f`\asdg17/0 - r - 72
uzM0} - s - 73
php - t - 74
Mülli - u - 75
134[]iahs - v - 76
1256asxx - w - 77
"§§$&/( - x - 78
=/!"§=&)!$&? - y - 79
opaxy - z - 7A
&5zs13 - A - 41
^!§*-: - B - 42
13=lsdf2 - C - 43
shdfi> - D - 44
79fg/ - E - 45
asdfg - F - 46
156@as - G - 47
€asd´ - H - 48
bwih# - I - 49
/isdbf0 - J - 4A
178331 - K - 4B
gemadose - L - 4C
phpistgeil - M - 4D
billdie! - N - 4E
steve - O - 4F
moron - P - 50
xherokee - Q - 51
apache - R - 52
vista - S - 53
california12 - T - 54
ohads= - U - 55
69xa - V - 56
3490ashd - W - 57
delphi - X - 58
screenex - Y - 59
frick - Z - 5A
496 - 1 - 31
314691 - 2 - 32
69432 - 3 - 33
494213 - 4 - 34
47941ajsd - 5 - 35
^237asd - 6 - 36
hasdj1789 - 7 - 37
29340sc - 8 - 38
156asdh - 9 - 39
15612 - | - 7C
4654 - ^ - 5E
5942134 - ° - B0
31456 - ! - 21
64654 - " - 22
31564 - ² - B2
456465 - § - A7
5456 - ³ - B3
15649614 - $ - 24
8947854 - % - 25
15645 - & - 26
1654156 - / - 2F
145941 - { - 7B
5649561456 - ( - 28
888 - [ - 5B
1562198 - ) - 29
asshole - ] - 5D
iasdh91278 - = - 3D
shit_md5 - } - 7D
cryptix_will_win - ? - 3F
oajsd12 - ß - DF
56+4984 - \ - 5C
3490ashd - ´ - B4
26+56 - ` - 60
iausdhuoa47812 - + - 2B
nasijh231 - ~ - 7E
516456 - * - 2A
ha13 - ' - 27
289347gasdj - , - 2C
092834kdas - ; - 3B
2839joasf - . - 2E
098123asd - : - 3A
28039oasjf - _ - 5F
0298jasdko - - - 2D
02948jasd - / - 2F
ß34908uhoasjcdh - + - 2B
012348jaskod - * - 2A
093026435 - - - 2D


da Koller suchs dir selber zusammen

_________________
wer andern eine grube gräbt hat ein grubengrabgerät
- oder einfach zu viel zeit
Motzi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2931

XP Prof, Vista Business
D6, D2k5-D2k7 je Prof
BeitragVerfasst: Di 27.09.05 12:43 
Zum Thema Hashes verweis ich mal auf meine Seite und die entsprechende Arbeit zu diesem Thema: www.manuel-poeter.de

_________________
gringo pussy cats - eef i see you i will pull your tail out by eets roots!
Marco D. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Di 27.09.05 14:25 
Titel: Hash
Nun ist es ja auch kein Geheimnis mehr: :bawling:

ausblenden volle Höhe Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
function makehash (Passwort:pchar):pchar;stdcall;
var i:integer; hash:string;
begin
hash:='';
for i := 1 to length(passwort) do
begin
if passwort[i]='a' then hash:=hash+pchar('üjd=/()213');
if passwort[i]='b' then hash:=hash+pchar('"qp12`?');
if passwort[i]='c' then hash:=hash+pchar('7123iod');
if passwort[i]='d' then hash:=hash+pchar('97üa*#°>');
if passwort[i]='e' then hash:=hash+pchar('7=is/');
if passwort[i]='f' then hash:=hash+pchar('15ts=12');
if passwort[i]='g' then hash:=hash+pchar('ß1/jpasjd1)');
if passwort[i]='h' then hash:=hash+pchar('oa=1#>a/-6');
if passwort[i]='i' then hash:=hash+pchar('pqüsx');
if passwort[i]='j' then hash:=hash+pchar('cm');
if passwort[i]='k' then hash:=hash+pchar('87=8ax35');
if passwort[i]='l' then hash:=hash+pchar('§$ajdbgushbg');
if passwort[i]='m' then hash:=hash+pchar('hi(7113');
if passwort[i]='n' then hash:=hash+pchar('9a$~asd');
if passwort[i]='o' then hash:=hash+pchar('p=asd23');
if passwort[i]='p' then hash:=hash+pchar('pqüasd');
if passwort[i]='q' then hash:=hash+pchar('uxumla');
if passwort[i]='r' then hash:=hash+pchar('f`\asdg17/0');
if passwort[i]='s' then hash:=hash+pchar('uzM0}');
if passwort[i]='t' then hash:=hash+pchar('php');
if passwort[i]='u' then hash:=hash+pchar('Mülli');
if passwort[i]='v' then hash:=hash+pchar('134[]iahs');
if passwort[i]='w' then hash:=hash+pchar('1256asxx');
if passwort[i]='x' then hash:=hash+pchar('"§§$&/(');
if passwort[i]='y' then hash:=hash+pchar('=/!"§=&)!$&?');
if passwort[i]='z' then hash:=hash+pchar('opaxy');

if passwort[i]='A' then hash:=hash+pchar('&5zs13');
if passwort[i]='B' then hash:=hash+pchar('^!§*-:');
if passwort[i]='C' then hash:=hash+pchar('13=lsdf2');
if passwort[i]='D' then hash:=hash+pchar('shdfi>');
if passwort[i]='E' then hash:=hash+pchar('79fg/');
if passwort[i]='F' then hash:=hash+pchar('asdfg');
if passwort[i]='G' then hash:=hash+pchar('156@as');
if passwort[i]='H' then hash:=hash+pchar('€asd´');
if passwort[i]='I' then hash:=hash+pchar('bwih#');
if passwort[i]='J' then hash:=hash+pchar('/isdbf0');
if passwort[i]='K' then hash:=hash+pchar('178331');
if passwort[i]='L' then hash:=hash+pchar('gemadose');
if passwort[i]='M' then hash:=hash+pchar('phpistgeil');
if passwort[i]='N' then hash:=hash+pchar('billdie!');
if passwort[i]='O' then hash:=hash+pchar('steve');
if passwort[i]='P' then hash:=hash+pchar('moron');
if passwort[i]='Q' then hash:=hash+pchar('xherokee');
if passwort[i]='R' then hash:=hash+pchar('apache');
if passwort[i]='S' then hash:=hash+pchar('vista');
if passwort[i]='T' then hash:=hash+pchar('california12');
if passwort[i]='U' then hash:=hash+pchar('ohads=');
if passwort[i]='V' then hash:=hash+pchar('69xa');
if passwort[i]='W' then hash:=hash+pchar('3490ashd');
if passwort[i]='X' then hash:=hash+pchar('delphi');
if passwort[i]='Y' then hash:=hash+pchar('screenex');
if passwort[i]='Z' then hash:=hash+pchar('frick');

if passwort[i]='1' then hash:=hash+pchar('496');
if passwort[i]='2' then hash:=hash+pchar('314691');
if passwort[i]='3' then hash:=hash+pchar('69432');
if passwort[i]='4' then hash:=hash+pchar('494213');
if passwort[i]='5' then hash:=hash+pchar('47941ajsd');
if passwort[i]='6' then hash:=hash+pchar('^237asd');
if passwort[i]='7' then hash:=hash+pchar('hasdj1789');
if passwort[i]='8' then hash:=hash+pchar('29340sc');
if passwort[i]='9' then hash:=hash+pchar('156asdh');

if passwort[i]='|' then hash:=hash+pchar('15612');
if passwort[i]='^' then hash:=hash+pchar('4654');
if passwort[i]='°' then hash:=hash+pchar('5942134');
if passwort[i]='!' then hash:=hash+pchar('31456');
if passwort[i]='"' then hash:=hash+pchar('64654');
if passwort[i]='²' then hash:=hash+pchar('31564');
if passwort[i]='§' then hash:=hash+pchar('456465');
if passwort[i]='³' then hash:=hash+pchar('5456');
if passwort[i]='$' then hash:=hash+pchar('15649614');
if passwort[i]='%' then hash:=hash+pchar('8947854');
if passwort[i]='&' then hash:=hash+pchar('15645');
if passwort[i]='/' then hash:=hash+pchar('1654156');
if passwort[i]='{' then hash:=hash+pchar('145941');
if passwort[i]='(' then hash:=hash+pchar('5649561456');
if passwort[i]='[' then hash:=hash+pchar('888');
if passwort[i]=')' then hash:=hash+pchar('1562198');
if passwort[i]=']' then hash:=hash+pchar('asshole');
if passwort[i]='=' then hash:=hash+pchar('iasdh91278');
if passwort[i]='}' then hash:=hash+pchar('shit_md5');
if passwort[i]='?' then hash:=hash+pchar('cryptix_will_win');
if passwort[i]='ß' then hash:=hash+pchar('oajsd12');
if passwort[i]='\' then hash:=hash+pchar('56+4984');
if passwort[i]='´' then hash:=hash+pchar('3490ashd');
if passwort[i]='`' then hash:=hash+pchar('26+56');
if passwort[i]='+' then hash:=hash+pchar('iausdhuoa47812');
if passwort[i]='~' then hash:=hash+pchar('nasijh231');
if passwort[i]='*' then hash:=hash+pchar('516456');
if passwort[i]='''' then hash:=hash+pchar('ha13');
if passwort[i]=',' then hash:=hash+pchar('289347gasdj');
if passwort[i]=';' then hash:=hash+pchar('092834kdas');
if passwort[i]='.' then hash:=hash+pchar('2839joasf');
if passwort[i]=':' then hash:=hash+pchar('098123asd');
if passwort[i]='_' then hash:=hash+pchar('28039oasjf');
if passwort[i]='-' then hash:=hash+pchar('0298jasdko');
if passwort[i]='/' then hash:=hash+pchar('02948jasd');
if passwort[i]='+' then hash:=hash+pchar('ß34908uhoasjcdh');
if passwort[i]='*' then hash:=hash+pchar('012348jaskod');
if passwort[i]='-' then hash:=hash+pchar('093026435');

end;
result:=pchar(hash);
end;

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
Marco D. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Di 27.09.05 14:34 
Titel: Hash
Und wie kann man die DLL so öffnen dass man da was rausfinden kann? Ich habs mal mit Notepad geöffnet und nix brauchbares gelesen :gruebel:

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot