• Welcome to Valhalla Legends Archive.
 

Data from Ethereal

Started by iNsaNe, February 20, 2006, 12:07 PM

Previous topic - Next topic

iNsaNe

Well, im making my first bot and the only trouble im having is that when i copy the data i receive from ethereal, it contains quote marks and vb6 thinks its the end of the string. How would i fix this problem, or avoid it..

NetNX

Use a StrToHex Function to obtain the hexidecimal values (or use them since ethereal shows them) and use a winsock1.send HexToStr("AA AA AA AA") replace AA's with the data you want to send!

iNsaNe


Joe[x86]

If you want to make a string with the data hello"world"wtf, use this.

Dim S as String
S = "hello" & Chr(34) & "world" & Chr(34) & "wtf"
Quote from: brew on April 25, 2007, 07:33 PM
that made me feel like a total idiot. this entire thing was useless.

MyndFyre

Quote from: Joe on February 21, 2006, 09:03 PM
If you want to make a string with the data hello"world"wtf, use this.

Dim S as String
S = "hello" & Chr(34) & "world" & Chr(34) & "wtf"


Isn't it also possible as:

S = "hello""world""wtf"

?
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.

Joe[x86]

I think so, but I'm not sure about that rule. =/
Quote from: brew on April 25, 2007, 07:33 PM
that made me feel like a total idiot. this entire thing was useless.

MyndFyre

Quote from: Joe on February 22, 2006, 06:59 AM
I think so, but I'm not sure about that rule. =/

I'm pretty sure that does work and is how it's supposed to be done.
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.

Tazo

Tested it in a MsgBox, works fine. I've always used chr(34) myself, though.