GUI For Netcat

SET_coo

New member
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 Im 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 Ive 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 servers 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 dont 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 Ive 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 doesnt really answer your question but maybe this way would be easier to go....

Andreas

Thats why its 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