CS.RIN.RU - Steam Underground Community
http://cs.rin.ru/forum/

[Release] Dick Darlington's Modern Warfare 2 Tool! v0.2!
http://cs.rin.ru/forum/viewtopic.php?f=14&t=59703
Page 1 of 1

Author:  Steve Jobs [ Sunday, 19 Jun 2011, 02:13 ]
Post subject:  Dick Darlington's Modern Warfare 2 Tool! v0.2!

Thanks to Da_FileServer for his help on viewtopic.php?f=20&t=59652. You can count 99.99% of this program as his work.

Dick Darlington's Modern Warfare 2 Tool!

U mad? U really mad? U want to know who is that asshole steamrolling you with his n00b tubez and gay18's?

Fellow Rinner, be mad no more! With Dick Darlington's Modern Warfare 2 Tool! ©™®℠Ⓐ℗ you will dox the shit out of those sons of bitches!

This will not be detected as a hack!
This tool has nothing to do with the game executable or it's memory. I have heard about another tool that reads player names from game's memory, but that's risky for a legit player like me. This one only looks for packets your networking device sends and receives trough port 28960.

Image
(Nothing was blurred for complete bitchassery.)

All you need is:
  • An up and running WinPcap from here. (If you are using Wireshark, you already have it!)
  • Microsoft .NET Framework 4 from here. (If you have a brain, you already have it!)

DOWNLOAD 0.2.4188.10779 RIGHT NOW! (This release is broken. Compile from the source.)

SEE THE SAUCE CODEZ! FORK ME AND I KILL YOU!

Change Logs:
  • 0.2.4188.10779
    • Now using MaxMind GeoIP. If you want to use a custom "GeoIP.dat", just place it next to the .exe!
    • Now using SharpPcap. You don't need Microsoft Visual C++ 2010 Redistributable Package anymore!

Author:  Mr.Deviance [ Sunday, 19 Jun 2011, 07:48 ]
Post subject:  Re: Dick Darlington's Modern Warfare 2 Tool! 0.1.0.1145

Can't you release a tool that actually sends the gestapo to every cod fanboy's door and applies a bullet to each of their foreheads?
I think that would be a much more effective way of getting rid of mw2 idiots.

Author:  Steve Jobs [ Sunday, 19 Jun 2011, 19:49 ]
Post subject:  Re: Dick Darlington's Modern Warfare 2 Tool! 0.1.0.1145

Mr.Deviance wrote:
Can't you release a tool that actually sends the gestapo to every cod fanboy's door and applies a bullet to each of their foreheads?
I think that would be a much more effective way of getting rid of mw2 idiots.

That's something in my todo list. This tool will allow you to make racist insults until that one is implemented :mrgreen:

I also want to add that this tool has nothing to do with the game executable or it's memory. I have heard about another tool that reads player names from game's memory, but that's risky for a legit player like me. This one only looks for packets your networking device sends and receives trough port 28960.

Author:  BosmouZ [ Sunday, 19 Jun 2011, 22:32 ]
Post subject:  Re: Dick Darlington's Modern Warfare 2 Tool! 0.1.0.1145

How do you decode the packets or are they plaintext?

Author:  Steve Jobs [ Sunday, 19 Jun 2011, 23:22 ]
Post subject:  Re: Dick Darlington's Modern Warfare 2 Tool! 0.1.0.1145

BosmouZ wrote:
How do you decode the packets or are they plaintext?

Did you see the source? They are in MW2Stuff.cs. (Class naming WIN!)

Author:  BosmouZ [ Monday, 20 Jun 2011, 00:38 ]
Post subject:  Re: Dick Darlington's Modern Warfare 2 Tool! 0.1.0.1145

Dick Darlington wrote:
BosmouZ wrote:
How do you decode the packets or are they plaintext?

Did you see the source? They are in MW2Stuff.cs. (Class naming WIN!)


Oh nice! well done man

Author:  ChrisTX [ Monday, 20 Jun 2011, 01:58 ]
Post subject:  Re: Dick Darlington's Modern Warfare 2 Tool!

Quote:
•An up and running WinPcap from here. (If you are using Wireshark, you already have it!)

WinPcap is dangerous as it allows raw packet injection, tbh.

Quote:
•Microsoft Visual C++ 2010 Redistributable Package from here (x86 32-bit PC) or here (x64 64-bit PC). (See how it requires shit load of crap? Welcome to .Net!)

Your code seems to be pure C#, why would one need that?

Author:  Steve Jobs [ Monday, 20 Jun 2011, 02:17 ]
Post subject:  Re: Dick Darlington's Modern Warfare 2 Tool!

ChrisTX wrote:
Quote:
•An up and running WinPcap from here. (If you are using Wireshark, you already have it!)

WinPcap is dangerous as it allows raw packet injection, tbh.

A knife is dangerous as it allows killing people.

ChrisTX wrote:
Quote:
•Microsoft Visual C++ 2010 Redistributable Package from here (x86 32-bit PC) or here (x64 64-bit PC). (See how it requires shit load of crap? Welcome to .Net!)

Your code seems to be pure C#, why would one need that?

That was required for Pcap.Net but I moved to SharpPcap and it looks like it's pure C#.

Author:  ChrisTX [ Monday, 20 Jun 2011, 02:42 ]
Post subject:  Re: Dick Darlington's Modern Warfare 2 Tool!

Dick Darlington wrote:
ChrisTX wrote:
Quote:
•An up and running WinPcap from here. (If you are using Wireshark, you already have it!)

WinPcap is dangerous as it allows raw packet injection, tbh.

A knife is dangerous as it allows killing people.

No, just use a decent monitor API. Typical example here: NMAPI from Microsoft. (C# bindings included) No hooks, no shit, no dangerous crap features.

Author:  CPAMX [ Monday, 20 Jun 2011, 04:27 ]
Post subject:  Re: Dick Darlington's Modern Warfare 2 Tool!

ChrisTX wrote:
Dick Darlington wrote:
ChrisTX wrote:
Quote:
•An up and running WinPcap from here. (If you are using Wireshark, you already have it!)

WinPcap is dangerous as it allows raw packet injection, tbh.

A knife is dangerous as it allows killing people.

No, just use a decent monitor API. Typical example here: NMAPI from Microsoft. (C# bindings included) No hooks, no shit, no dangerous crap features.


Dangerous crap features = <3

Author:  Steve Jobs [ Monday, 20 Jun 2011, 04:43 ]
Post subject:  Re: Dick Darlington's Modern Warfare 2 Tool!

You say that WinPcap is dangerous and I should use NMAPI.

How ironic is that the first thing I had to do to use NMAPI in my project was to allow unsafe code :ROFL:

I hope that I am not going into a debugging hell...

---

Me: Knock knock.
NMAPI: Who's there?
Me: Orie.
NMAPI: Orie who?
Me: Object Oriented Programming
NMAPI: What?
Me: It was a joke.
NMAPI: What the hell is Object Oriented Programming?
Me: ...

-- Edit --

Code:
  1. IntPtr captureEngine;
  2. NetmonAPI.NmOpenCaptureEngine(out captureEngine);
  3.  
  4. uint adapterCount;
  5. NetmonAPI.NmGetAdapterCount(captureEngine, out adapterCount);
  6.  
  7. Console.WriteLine(adapterCount);


Output:


w00t

Author:  Da_FileServer [ Thursday, 23 Jun 2011, 11:36 ]
Post subject:  Re: Dick Darlington's Modern Warfare 2 Tool!

Dick Darlington wrote:
How ironic is that the first thing I had to do to use NMAPI in my project was to allow unsafe code :ROFL:

Unsafe code is just fine, as long as you're smart enough to avoid buffer overruns and similar problems. I have used it many times to build performance critical code in C#, without having to resort to using native code (aka P/Invoke or C++/CLI).

Besides, if I remember correctly, you're using marshalling to convert a managed byte array (accessed via GCHandle) into a structure. That is just as "bad" as doing the following (which will more than likely result in better performance):
  1. byte[] data = xxx;
  2. if (data == null || data.Length < Marshal.SizeOf(MyStructure))
  3.     throw new FormatException();
  4.  
  5. // Make sure MyStructure doesn't contain any reference fields!
  6. MyStructure blah;
  7. unsafe
  8. {
  9.     fixed (byte* bytePtr = &data[0])
  10.     {
  11.         blah = *(MyStructure*)bytePtr;
  12.     }
  13. }

Author:  Steve Jobs [ Thursday, 23 Jun 2011, 11:47 ]
Post subject:  Re: Dick Darlington's Modern Warfare 2 Tool!

Da_FileServer wrote:
Dick Darlington wrote:
How ironic is that the first thing I had to do to use NMAPI in my project was to allow unsafe code :ROFL:

Unsafe code is just fine, as long as you're smart enough to avoid buffer overruns and similar problems.

That's why I see no problem in using WinPcap. If you know what you are doing, there won't be any problems.

And about that conversion, I'm not doing it. I thought it would be better to read data one by one since it does not have a fixed length. You can see how I do it here:
https://github.com/AlicanC/AlicanC-s-Mo ... Packets.cs

Page 1 of 1 All times are UTC + 3 hours
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/