• Welcome to Valhalla Legends Archive.
 
Menu

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.

Show posts Menu

Messages - Lxir

#1
Ok, so thanks to Explicit[nK], now I know that nmap isn't the appropriate tool to capture TCP packets.
I'm having a look to wireshark...
#2
I have to do it step by step, hoping I'll find enough help to success...

First, I would like to capture packets communication.

But when I launch LoD then run:
sudo nmap -p T:6112 192.168.254.1

It just returns:
PORT     STATE  SERVICE
6112/tcp closed dtspc

???
#3
Hmmm... not easy.

I would need a simple example...
#4
It also seems that I have to learn more about assembling/disassembling TCP packets with Perl...

Quote from: MyndFyre[vL] on August 11, 2008, 08:45 AMit's not just a matter of connecting and sending text over the wire anymore.  (They shut down access via the chat protocol about two years ago, IIRC)
That's the first good thing to know; it's probably why the source of gbnbot didn't help me so much :P

I'm also still wondering how the CD-Key is handled... Is it possible to connect a server with username/password without doing anything about it ?
#5
Thanks for your reply.

I'm almost sure it's possible to use Perl for this kind of job, but my problem is to know what to send and what I'm supposed to receive.
The first thing should be to know which options and parameters to use with nmap in view to sniff packets traffic...

Then I would want to run the logon sequence without problem... It would be a good start.
Finally, I'll need to find details about the protocol for whispering.

I've already had a look at the "Information for newcomers" topic but I don't really want to learn all while I'm not totally new in programming (working as programmer since years).
And it's a bit hard to find good information/examples for Linux but not C++ users.

I'll try to post some code examples soon but any more help at this stage will be appreciated.

Regards,
#6
Hi !

I would want to make a simple script, in Perl, which would send a message to a player, like the /whisper command (and get server reply).
I already know a few about socket programming (in Perl and Java) so I'm trying to learn how BN servers communicate... and here seems a good place to start !

So first, I have a couple of questions:
- Can you confirm that what I'm trying to do is possible ?
- Should I use my own account/password or is there a way to connect as "guest/anonymous" ?
- Is there a risk to be banned (by account or IP) ?

Also, I'm a bit lost in things to send.
First, can you confirm that server must be, for example, europe.battle.net, port 6112 and tcp protocol ?
Then, I've read that the login protocol was ^C^D characters then username\r\n then password\r\n. I've also seen something about 0x01 then 0x50...
Finally, can I simply send commands like /time or /w *toto to get it work ? Will I receive anything from server like that ? Or is there some particular packets codes ?

I guess it's more complicated, so I would need help to start.
Sorry for the newbie attitude...

Thanks,