Autor Beitrag
NetZwerg Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 448

Slackware 10.1
Kylix 3, D5 Standard
BeitragVerfasst: Mo 17.05.04 17:55 
okay, machich! thx @ all! :D

// Okay, sehr schöne Komponente!! :D Aber mich würde das trotzdem mal ganz theoretisch interessieren!?

_________________
"Manche Leute drücken nur deshalb ein Auge zu, damit sie besser zielen können."
Billy Wilder, amer. Filmregisseur
NetZwerg Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 448

Slackware 10.1
Kylix 3, D5 Standard
BeitragVerfasst: Mo 17.05.04 18:21 
Himel, wie blöd bin ich!? Ich musses ja einfach nur innen MemoryStream laden und direkt speichern! Ich habs vorher immer noch ausm MemoryStream in n Memo oder so geladen und daraus gespeicher :mrgreen:

_________________
"Manche Leute drücken nur deshalb ein Auge zu, damit sie besser zielen können."
Billy Wilder, amer. Filmregisseur
Motzi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2931

XP Prof, Vista Business
D6, D2k5-D2k7 je Prof
BeitragVerfasst: Mo 17.05.04 19:13 
Wenn es dich theoretisch interessiert schau dir den Code der Kompo an..! ;)

_________________
gringo pussy cats - eef i see you i will pull your tail out by eets roots!
LinzerASK
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 135

WIN XP
Delphi 4, Delphi 2005
BeitragVerfasst: Sa 11.03.06 08:47 
ich verstehe jetzt nicht ganz, kann man also eine *.exe datei so zerteilen, dass der ganze sourcecode..zu sehen ist!?


bitte um eine antwort
Neidhard von Reuental
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 268

XP
BDS 2006 Prof
BeitragVerfasst: Sa 11.03.06 09:10 
user profile iconNetZwerg hat folgendes geschrieben:
Naja, es geht mir eigentlich darum das ein wenig text in meine exe-Datei gespeichert wird. Dieser Text soll halt vorher vom Benutzer festgelegt werden. Deswegen würde ich auch gerne ein Delphi-Prog schreiben, das diesen Text irgendwo in die exe reinkopiert. Ist sowas möglich?


Wenn ich dich richtig verstanden habe ist das ohne Probleme möglich.
Du brauchst als erstes die Position und Länge des Textes in der EXE, dann öffnest du die EXE als FileStream und setzt die Position. Danach mußt du nur noch deinen Text reinschreiben, darf natürlich dann nicht länger sein als der Orginale.
Bei dieser Ausführung ändert sich nur der Inhalt der Datei und es wird nichts angehangen.
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8554
Erhaltene Danke: 481

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Sa 11.03.06 09:22 
@Neidhard: Schau dir mal die Daten der letzten Beiträge an ;-)


@Linzer: Das kommt auf die verwendete Programmiersprache an. Wenn du ein Java-Programm schreibst, kannst du aus den "ausführbaren Dateien" den Quellcode wiederherstellen. Dazu gibts genug Dekompiler im Netz.
Wenn du ne Win32-Anwendung mit Delphi/C/C++/... schreibst (also eine ".exe"), dann ist das nicht möglich, oder nur in sehr begrenztem Umfang.
Wie das bei einer .Net Anwendung ist, weiß ich nicht. Habe mich damit noch nicht beschäftigt.

_________________
We are, we were and will not be.
Neidhard von Reuental
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 268

XP
BDS 2006 Prof
BeitragVerfasst: Sa 11.03.06 10:19 
@Gausi: Uups, hab nur die erste Seite gelesen ;)

Leider ist eine .Net-Exe wirklich recht einfach einzusehen. Es gibt zwar Programme die das verstehende Lesen erschweren aber es nicht unmöglich machen.
LinzerASK
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 135

WIN XP
Delphi 4, Delphi 2005
BeitragVerfasst: Sa 11.03.06 12:29 
also dass ich mir aus einer exe die dpr etc. raushole ist unmöglich?
Timosch
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1314

Debian Squeeze, Win 7 Prof.
D7 Pers
BeitragVerfasst: So 12.03.06 12:42 
Ja. Aber disassembilieren ist möglich.

_________________
If liberty means anything at all, it means the right to tell people what they do not want to hear. - George Orwell
LinzerASK
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 135

WIN XP
Delphi 4, Delphi 2005
BeitragVerfasst: So 12.03.06 14:13 
und wie funktioniert das bitte
Timosch
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1314

Debian Squeeze, Win 7 Prof.
D7 Pers
BeitragVerfasst: Mo 13.03.06 15:41 
Es gibt Programme, die schlicht und einfach die Opcodes aus der Datei einlesen und in die Mnemonic-Opcodes eines Assemblers verwandeln.
Beispiele:
debug.com - Ist bei soweit ich weiß jeder Windows- und fast jeder MS-DOS-Version dabei, ist aber recht umständlich und nur für 16bit-DOS-Programme
ndisasm.exe - Ist bei NASM dabei, beherrscht auch 32bit, ist aber nicht sehr flexibel und disassembiliert alles, auch ggf. den EXE-Header.
Borg - such einfach mal bei Google nach 'Borg Disassembler'.

_________________
If liberty means anything at all, it means the right to tell people what they do not want to hear. - George Orwell
Ricardo
Hält's aus hier
Beiträge: 1



BeitragVerfasst: Sa 27.01.07 20:04 
Titel: Mit einem Hexeditor
Hallo!

Probiere es mal mit nem' Hexeditor !

z.B DF Hexeditor

www.del-net.com/download/DFHEXEditor11.zip