Solved

Basic HTTP/telnet sniffer in VB

Posted on 2003-10-26
8
594 Views
Last Modified: 2009-07-29
Hi All,

I need to right a basic sniffer,

the sniffer should log all request from port 80 and 23 from a computer in which the process is running.

Thanks,

Avi
0
Comment
Question by:phyderous
  • 4
  • 4
8 Comments
 
LVL 5

Author Comment

by:phyderous
ID: 9622635
Sorry for my English ...

right=write

:-)

Cheers
0
 
LVL 2

Expert Comment

by:BUCHAS
ID: 9624981
You can use WinpCap which is a dll for you to use its methods for capturing the packets, it's like a sniffering engine... there you'll find all the necessary documentation

http://winpcap.polito.it
0
 
LVL 2

Expert Comment

by:BUCHAS
ID: 9624983
You can use WinpCap which is a dll for you to use its methods for capturing the packets, it's like a sniffering engine... there you'll find all the necessary documentation

http://winpcap.polito.it
0
 
LVL 5

Author Comment

by:phyderous
ID: 9626038
Thanks for your help BUCHAS

but as I wrote ... I am interesting in write one by myself and not use other software ...

thanks,

Avi
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 5

Author Comment

by:phyderous
ID: 9626657
More to it the source and samples are in c++

we are in  a VB form
0
 
LVL 2

Accepted Solution

by:
BUCHAS earned 250 total points
ID: 9627772
0
 
LVL 5

Author Comment

by:phyderous
ID: 9628629
Thanks,

this is great,

if you have more sources please post them.

0
 
LVL 2

Expert Comment

by:BUCHAS
ID: 9631033
Thanks... it was hard to find this one... vb6 isn't the better and most used development tool for making a sniffer from the begining, people mostly do this in C++
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Check Disk (CHKDSK) on all volumes and fix if needed. 8 178
Validating VB6 Function 19 56
vb6 connector to mongodb 2 48
Visual Studio search word table and return Cell index 8 48
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now