GUI For Netcat

SET_coo

Newcomer
Joined
Mar 26, 2004
Messages
2
Hey guys. First I have to explain what Netcat is I guess. Netcat is a command line program that connects to a remote IP and port. Then, you can send raw data. For instance, I could connect to 127.0.0.1 80, and assuming a have a web server on my machine, send a command like GET / HTTP/1.1. Now you see where I'm going. It is basically like telnet on steroids. It has no protocall, you just keep sending and recieving packets untill the serverside connection is closed. Now that I've explained that, I am extremely new to VB.net but not to VB 6. By new I mean like just installed 3 hours ago. Yeah. Anyways, the problem is, once I have establishhed a connection, and sent the command, there is no way for me to get the server's reply. The problem is that when I send the data, the server will send it back to that socket, which runs on a RANDOM localport. I don't know what port to make it listen on. Is there a way to set what port it sends FROM? Thanks in advanced, and if you have gotten this far, lol, I feel sorry for you. This is an extrememly long post. Peace out.

Also, I attached my project files if you want to see what I've done so far.
 
Last edited by a moderator:
Gui

Hamburger1984 said:
you could also write your own terminal-application... see this article:
http://www.franklins.net/video/sockets/

I know this doesn't really answer your question but maybe this way would be easier to go....

Andreas

That's why it's called GUI for netcat. There already IS a command line version. I could do it that way, but it would defeat the whole purpose. . . Thanks anyways though, great article.
 
Back
Top