Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Punk

Pages: [1] 2
1
General Programming / Re: Couple question regarding .net
« on: October 07, 2009, 12:00:15 pm »
Lol. Or maybe.. I was just using a bot to play around with the sockets :o

Dun dun dun

2
General Programming / Re: .NET Sockets
« on: October 04, 2009, 11:44:27 pm »
As long as using the TcpListener class doesn't hinder performance (nothing major), then it wouldn't be a problem.

The documentation's I've read create a new thread per connection... wouldn't that greatly decrease performance if say.. you have a 400 connections?

For example

Code: [Select]
    Public Sub InitNewClient(ByVal Socket As TcpClient, ByVal clientIPAddress As IPEndPoint)
        clientSocket = Socket
        clientIP = clientIPAddress

        printf("Incoming client " & clientIP.ToString.Split(":")(0), _SOCKET)


        Dim clientThread As Threading.Thread = New Threading.Thread(AddressOf ClientDataArrival)
        clientThread .Start()
    End Sub

The subroutine ClientDataArrival is obviously just a loop that constantly checks the stream.

3
General Programming / Re: .NET Sockets
« on: October 04, 2009, 09:27:54 pm »
What would you recommend in my case? (that being a server with many connections)

4
General Programming / .NET Sockets
« on: October 04, 2009, 08:27:53 pm »
I've looked at documentations on listening sockets but what I don't seem to get is why some examples would use Socket opposed to TcpListner? Aren't they pretty much the same thing?

5
General Programming / Re: Couple question regarding .net
« on: October 04, 2009, 08:20:02 pm »
Refusing for the last couple years to learn how the .Net platform works, I've decided that I probably should knock this one off my shoulder. Actually, it wasn't until 3 days ago when my dad's friend asked if I could write him some new server software for his company... The software will be accepting / responding to many multiple active connections.

So I did some research and asking around and noticed a lot of people pointed me towards .Net. I would do it in C, but my experience level isn't quite there yet and I know if I did something like that with my level of experience, I would create clusters of memory leaks.

Knowing VB6, I thought it would probably be easiest to go to VB.Net. Therefore, I would be able to get the project done a lot faster.

So my questions are...

Would .Net be suitable for this project?
Is C# and VB equivalent in performance since they both compile down to the same CLR?

many multiple?

Oops?

6
General Programming / Re: Couple question regarding .net
« on: October 04, 2009, 01:06:45 am »
I honestly haven't really taken a look at the syntax but I hear it's similar to C++.

Thanks for the suggestions. I'll take a gander at C#.

7
General Programming / Couple question regarding .net
« on: October 03, 2009, 02:22:48 am »
Refusing for the last couple years to learn how the .Net platform works, I've decided that I probably should knock this one off my shoulder. Actually, it wasn't until 3 days ago when my dad's friend asked if I could write him some new server software for his company... The software will be accepting / responding to many multiple active connections.

So I did some research and asking around and noticed a lot of people pointed me towards .Net. I would do it in C, but my experience level isn't quite there yet and I know if I did something like that with my level of experience, I would create clusters of memory leaks.

Knowing VB6, I thought it would probably be easiest to go to VB.Net. Therefore, I would be able to get the project done a lot faster.

So my questions are...

Would .Net be suitable for this project?
Is C# and VB equivalent in performance since they both compile down to the same CLR?

8
Botdev / Re: SID_AUTH_INFO Signature
« on: May 27, 2009, 04:49:15 pm »
bool verifyItIsBlizzard() {
    return YES_IT_IS;
}


I wish it where that easy :-P

9
Botdev / Re: SID_AUTH_INFO Signature
« on: May 26, 2009, 06:58:48 pm »
Brew gave me a good idea. What if you temporarily changed the subroutine that verifies the address to always return a pos value then change it back after 0x51?

10
Botdev / Re: SID_AUTH_INFO Signature
« on: May 26, 2009, 11:43:05 am »
Thanks for the help though guys. I guess I'll leave this one be.

Btw, when I said
Code: [Select]
I talked this over with brew and we came to the conclusion that the signature is generated by the servers ipaddress in conjuction with powmod.
I didn't say it was used to create the encryption, I meant that powmod was related to its enc / decrpy somehow. But yeah, I understand now. Thanks for clearing that up :-P

11
Botdev / SID_AUTH_INFO Signature
« on: May 25, 2009, 04:26:29 pm »
I'm looking for some information on the 0x50 128-bit signature that battle.net includes at the end of the packet. I've done countless hours of trying to find documentation on this, but have found close to none. I talked this over with brew and we came to the conclusion that the signature is generated by the servers ipaddress in conjuction with powmod.

I'm relatively new to encryption so right now I'm stuck at a brick wall. I'm trying to write a gateway (in C or VB6, haven't decided yet) for Warcraft III. Unfortunately, in order to do this, I have to update the signature battle.net sends to the client, else wise, the Warcraft III client will pop an error informing me that the server I am trying to connect to doesn't appear to be a battle.net server.

So, ultimately, I need a way to generate the 128-bit signature.

12
iago's forum / Lockdown =o
« on: April 26, 2009, 05:41:31 pm »
Well, not quite sure if this was the appropriate place to post this, but seeing how this is the "iago related-stuff forum", i'm posting it here.

Anyways, I was checking out your lockdown project on skullsecurity and decided to test it out. I'm using vc++ 08 so I had to use the project upgrader. All went well until I decided to test it =o. I compiled successfully and ran lockdown.exe with the required files accordingly in each folder and got 19/19 for Warcraft. When it came down to starcraft or broodwar, it failed all tests. What could be the cause? Everything is in place and is up-to-date.

13
Introductions! / Re: Hellooo
« on: February 14, 2009, 04:31:35 pm »
Then it's settled. Just call me punk  8)

14
Introductions! / Re: Hellooo
« on: February 12, 2009, 12:06:15 pm »
Hmm... Another Chris? I demand Chris. He can take Christopher or Kris or Kristin or anything along those lines BUT Chris.

15
Botdev / Re: SC2/D3 speculation thread
« on: February 06, 2009, 01:43:36 am »
If you think about it, wouldn't it be a good cost of money to refine the protocols there using now?

Pages: [1] 2