Valhalla Legends Archive

Programming => General Programming => Visual Basic Programming => Topic started by: SuNcO on February 20, 2005, 09:55 PM

Title: My own proxy
Post by: SuNcO on February 20, 2005, 09:55 PM
Hi to everybody

I have my own proxy (in visual Basic) and works very fine, i test it in mIRC

Now, i want to use in Msn to intercept and modify the Messages but it not works because Msn uses the Socks4a protocol (my proxy only have Socks4)

I see a lot of webpages including the protocol (http://archive.socks.permeo.com/protocol/socks4a.protocol) but i can't understand how it works

Any help/code/guide  ?

(I post this here and in the Msn forum)
Title: Re: My own proxy
Post by: Blaze on February 21, 2005, 05:09 PM
Maybe this will help you...

http://forum.valhallalegends.com/phpbbs/index.php?topic=10511.0

btw, you shouldn't double post.
Title: Re: My own proxy
Post by: SuNcO on February 21, 2005, 05:12 PM
I see that post after i post this.. and still not understand

I need a simple code or maybe how to separate the bytes and what to do with them
Title: Re: My own proxy
Post by: NetNX on February 23, 2005, 10:04 AM
if you cant understand the other post maybe you should reconsider writing a program for this? but anyway it should go something like this
im half asleep right now so its going to be shitty coding...
'sdata is the data recieved from the scocket "string"
'FINALIP = IPADDRESS decyphered from protocol "string"
Dim FinalIP as string
Dim FinalPort as long


if left(FINALIP,6) = "0.0.0." then
sdata = right(sdata,(len(sdata)-8))
'stuff right here determines the host destination i may get back this this later because i have to goto my next class sorry :'(
else
winsock1.connect FINALIP, FINALPORT
end if
Title: Re: My own proxy
Post by: SuNcO on February 23, 2005, 12:13 PM
Ok, thats all what i need

I understand now

I not understand after because my english, sorry

Thanks  :)
Title: Re: My own proxy
Post by: NetNX on February 23, 2005, 01:01 PM
np, glad i could help i got ur email so i looked for ur post :)