Autor Beitrag
Nowo
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 108



BeitragVerfasst: So 01.06.08 13:36 
Hi

Ich würde gerne ein Bestimmes Package senden.
Wenn ich z.B. mit einem Sniffer solch ein Package aufnehme:

Moderiert von user profile iconNarses: Bild als Anhang hochgeladen

Dann muss doch irgendwie möglich sein, das man dieses package wider sendet...
Mit Delphi !!
Und das man z.B. die Donation verändert. Also mit einem Editfeld oder dergleichen.

Es geht mir nicht ums sniffen, nur darum wie ich ein Package sende.

Kann mir jemand helfen ?
Einloggen, um Attachments anzusehen!
_________________
Grüße Nowo
Xentar
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2077
Erhaltene Danke: 2

Win XP
Delphi 5 Ent., Delphi 2007 Prof
BeitragVerfasst: So 01.06.08 15:37 
TIdTCPClient
Verbindung zum Server herstellen.

Daten mit .WriteBuffer senden.
Fertig
Nowo Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 108



BeitragVerfasst: So 01.06.08 21:16 
Es gibt keinen Server.

Es geht darum: Ich habe hier ein Program, mit dem Sende ich einen Befehl.
Mit einem Sniffer Fang ich diesen Befehl (das package) ab, und speichere es. (zumindest den HexCode)
Nun möchte ich mit einem Delphi Programm dieses Package nochmal senden.
Nur dieses Package. (unter 1nem Package stell ich mir das Bild oben vor)


/Edit: Also, klar gibt es einen Server der die Befehle empfängt.
Nur ist dieser natürlich nicht von mir geschrieben.
Er soll meine Befehle annehmen wie er sie von dem eigentlichen Clienten annimmt.

_________________
Grüße Nowo
Martok
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 3661
Erhaltene Danke: 604

Win 8.1, Win 10 x64
Pascal: Lazarus Snapshot, Delphi 7,2007; PHP, JS: WebStorm
BeitragVerfasst: Mo 02.06.08 01:08 
Naja... dann schick ihm halt das Paket...

In deinem Fall allerdings UDP.

_________________
"The phoenix's price isn't inevitable. It's not part of some deep balance built into the universe. It's just the parts of the game where you haven't figured out yet how to cheat."
Nowo Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 108



BeitragVerfasst: Mo 02.06.08 13:07 
Das ist meine Frage...
Wie sende ich solch ein Packet ?
Oder, wie sende ich diesen HexCode als packet ?

_________________
Grüße Nowo
Xentar
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2077
Erhaltene Danke: 2

Win XP
Delphi 5 Ent., Delphi 2007 Prof
BeitragVerfasst: Mo 02.06.08 13:40 
Hab ich doch geschrieben..
Du schreibst den HexCode in eine Variable, z.B. einen String. Diesen sendest du dann mit WriteBuffer.

ausblenden Delphi-Quelltext
1:
MyStr := #$FF + #$AB + .....