Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > .NET Languages
You last visited: Today at 01:39

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



.NET Packet Injection

Discussion on .NET Packet Injection within the .NET Languages forum part of the Coders Den category.

Closed Thread
 
Old   #1
 
'Heaven.'s Avatar
 
elite*gold: 1
The Black Market: 331/0/0
Join Date: Jun 2012
Posts: 5,819
Received Thanks: 3,200
.NET Packet Injection

Hey, ich beschäftige mich jetzt schon seit einiger Zeit mit dem Thema "Packet Injection", sprich man fängt ein Packet ab, "löscht" dieses und sendet ein falsches.
Es klappt auch soweit aber ich bekomme eben das Packet nicht "gelöscht"...
Das gnaze würde via SR bzw SW und einem TCPclienten funktionieren, also localhost Proxy würde sich privoxy eignen...

Eventuell kann mir ja einer helfen bzw ein paar gute Stichworte suchen, wenn ich verlange keinen C&P Code, da ich auch was lernen will dabei! Ich programmiere vorwiegend in VB aber C# sollte auch kein Problem sein

Danke

Edit: Nice, ich habe Hater, die alle meine Sachen mit 1 Stern bewerten *_*
'Heaven. is offline  
Old 11/18/2012, 12:37   #2


 
MrSm!th's Avatar
 
elite*gold: 7110
Join Date: Jun 2009
Posts: 28,904
Received Thanks: 25,394
Wo ist das Problem? Sende das Originalpacket einfach nicht und ersetze es durch deins.
MrSm!th is offline  
Old 11/18/2012, 12:44   #3
 
'Heaven.'s Avatar
 
elite*gold: 1
The Black Market: 331/0/0
Join Date: Jun 2012
Posts: 5,819
Received Thanks: 3,200
Mein Problem ist, dass ich nicht weiß, wie ich das Originale nicht senden kann...
Es läuft ja so ab:
Man spielt im Brower
Packets werden über Privoxy Zum Programm geleitet
Falls das empfangene Packet den String |INV| enhält soll es INV mit 0 replacen
Soweit geht alles, nur jetzt kommt das, was ich nicht hinbekomme:
Das Programm sendet den empfangenen nicht weiter und senden nur den falschen

Mittlerweile weiß ich wenigstens schonmal, dass es nur über Sockets geht und nicht mit dem TCPClienten...
'Heaven. is offline  
Old 11/20/2012, 09:40   #4
 
elite*gold: 42
Join Date: Jun 2008
Posts: 5,426
Received Thanks: 1,888
Problem gefunden! Du hast keinerlei Ahnung und nutzt komische Programme die rein garnichts damit zu tun haben :|

Alles auf einen eigenen lokalen proxy umleiten -> filtern -> senden. Setzt natürlich voraus, dass man die überaus komplizierte TCPClient/Server-Klasse benutzen kann :<
MoepMeep is offline  
Thanks
1 User
Old 11/20/2012, 12:04   #5
 
'Heaven.'s Avatar
 
elite*gold: 1
The Black Market: 331/0/0
Join Date: Jun 2012
Posts: 5,819
Received Thanks: 3,200
Quote:
Originally Posted by MoepMeep View Post
Problem gefunden! Du hast keinerlei Ahnung und nutzt komische Programme die rein garnichts damit zu tun haben :|

Alles auf einen eigenen lokalen proxy umleiten -> filtern -> senden. Setzt natürlich voraus, dass man die überaus komplizierte TCPClient/Server-Klasse benutzen kann :<
Wie leite ich das auf lokalen Proxy um?Richtig! Entweder hostdatei oder soetwas wie Privoxy....
Habe schon mit TCPBots geschrieben...In dem Gebiet kenne ich mich aus
'Heaven. is offline  
Old 01/08/2013, 05:18   #6
 
»jD«'s Avatar
 
elite*gold: 237
Join Date: Sep 2010
Posts: 1,152
Received Thanks: 4,910
Privoxy isn't a tunneling program, its designed to redirect HTTP Requests, not to redirect raw TCP Sockets. What you would need to do is intercept the DNS lookup used by the game (Assuming DarkOrbit here ) and then redirect the IP Addresses to 127.0.0.1 and run a TCP Socket in listening mode there. Upon a connection you would open your own connection to the real server and forward all the packets there. If you didnt wanna send a packet, just don't send it!

-jD
»jD« is offline  
Thanks
2 Users
Old 01/08/2013, 17:55   #7
 
'Heaven.'s Avatar
 
elite*gold: 1
The Black Market: 331/0/0
Join Date: Jun 2012
Posts: 5,819
Received Thanks: 3,200
thanks jD, please answer me in skype
'Heaven. is offline  
Old 01/08/2013, 22:13   #8
 
elite*gold: 0
Join Date: Nov 2011
Posts: 69
Received Thanks: 14
Komisch iwie steht das auch bei der Programmbeschreibung dabei xD...
disortion is offline  
Old 01/08/2013, 22:14   #9
 
elite*gold: 1000
Join Date: Apr 2012
Posts: 1,003
Received Thanks: 208
Code dir deinen eigenen Proxy und leite das Programm bzw. Spiel auf diesen um. Dann hast du die komplette Macht in deinen Händen.
qkuh is offline  
Old 01/08/2013, 22:15   #10
 
'Heaven.'s Avatar
 
elite*gold: 1
The Black Market: 331/0/0
Join Date: Jun 2012
Posts: 5,819
Received Thanks: 3,200
Naja, eigentlich war das mit privoxy net mein problem, ich habe immer nen tcpclient anstatt listener genommen, daher ist mein ganzer code gefailed.

Habs aber schon vor ca 1 monat hinbekommen
'Heaven. is offline  
Old 01/08/2013, 22:22   #11
 
elite*gold: 1000
Join Date: Apr 2012
Posts: 1,003
Received Thanks: 208
Ah okay gut
qkuh is offline  
Old 01/09/2013, 02:32   #12
 
tolio's Avatar
 
elite*gold: 2932
The Black Market: 169/1/0
Join Date: Oct 2009
Posts: 6,966
Received Thanks: 1,097
ein nachtrag noch was ich gefunden habe beim googlen zu dem thema, ich denke somit könnte man es noch besser lösen:
tolio is offline  
Thanks
1 User
Old 01/10/2013, 00:30   #13
 
»jD«'s Avatar
 
elite*gold: 237
Join Date: Sep 2010
Posts: 1,152
Received Thanks: 4,910
That requires DLL Injection, which wouldn't work for Chrome, as they rewrite their own Winsock functions upon creating them. I found a post somewhere but can't find it now -.- Last time I checked, Firefox and IE were the only browsers accepting DLL Injection. Also, Flash runs in sandboxed mode unless you change some config settings so DLL Injection would also fail there aswell!

-jD
»jD« is offline  
Thanks
1 User
Old 01/10/2013, 14:52   #14
 
tolio's Avatar
 
elite*gold: 2932
The Black Market: 169/1/0
Join Date: Oct 2009
Posts: 6,966
Received Thanks: 1,097
Yes but this could work in games or other software, so i think its worth to keep in mind
tolio is offline  
Old 01/11/2013, 08:32   #15
 
»jD«'s Avatar
 
elite*gold: 237
Join Date: Sep 2010
Posts: 1,152
Received Thanks: 4,910
Yea true, however I know what game Heaven is trying to target And it's browser based.

-jD
»jD« is offline  
Thanks
1 User
Closed Thread


Similar Threads Similar Threads
[Guide] Client Based Packet Injection in Silkroad
08/01/2013 - SRO Coding Corner - 29 Replies
This article is a special one! Thanks to clockwork for letting me share some knowledge I learned from him in the past. This information is still relevant and useful for Silkroad, but as I will write about, might be too much work for the benefits. Client Based Packet Injection in Silkroad I. Purpose Welcome to the fourth guide in my series! I would like to take this time to thank clockwork for allowing me to write a guide based on his approach for performing client based packet...
Hilfe bei Packet Injection
12/21/2010 - SRO Coding Corner - 2 Replies
Hallo, ich hab mal versucht das "Client Based Packet Injection in Silkroad" http://www.elitepvpers.com/forum/sro-coding-corner /269936-guide-client-based-packet-injection-silkro ad.html nach zu bauen. Da ich die express Version von Visual C++ habe, konnte ich das nicht zu 100% nach bauen. Bei "namespace Win32Gui" hab ich das so gemacht: namespace Win32Gui
Packet Injection
01/08/2010 - SRO Private Server - 1 Replies
I know Silkroad has the stupid blowfish encryption which is preventing me from sending packets. So if i wanted to make an autopot, i would need the key. Now if i have the key what would i do to make it accept it. Would it be easiest to just do it in c++ to bypass blowfish? Can someone explain it a little better for me, I'm trying to make a packet based autopot/autograb. I've never done anything in SRO with c++ except a server status checker. I usually make CS 1.6/CZ Hacks(Haven't...
Packet injection
10/06/2008 - General Coding - 0 Replies
I´ve got a question about packet injection. So is it right that you have to sniff the packets from the game and then you can send it to the server?? E.g I found the packet wich is sent when casting an ability, could i use a packet injection tool to send this packet to the server and then my character would cast this spell?



All times are GMT +2. The time now is 01:39.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.