Satharus / waspcap

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Waspcap ๐Ÿ

Waspcap is a software project supported by the famous PCAP interface, responsible for the development of such famous and powerful software as Wireshark, tcpdump or nmap among others.

The goal of Waspcap is didactic: to learn more about building network packets, protocol analysis, and other networking topics. It is also a project that supports the open-souce. It is released under a GNU license.

Currently, Waspcap allows the analysis of our network interfaces, the capture of traffic, creation of custom packages and injection of them.

Preview ๐Ÿ‘๏ธ

Gif Waspcap 1 Gif Waspcap 2 Gif Waspcap 3 Capture wireshark
A capture packet by Wireshark that we have injected with the payload ABCDE

Project history ๐Ÿ“š

My idea for this project was born as a result of my internship at the University of Extremadura (studying software engineering), doing a small research project in the GITACA group under the supervision of the professor David Cortรฉs Polo. I',m passionate about cybersecurity and networking, so the time spent on this project was very pleasant.

Despite spending years studying, I feel like I'm taking my first steps in the tech world now, feeling more and more involved in it. I want to contribute to the world of open-source software and access to media and information for all people, so it seems like a good idea to start contributing with what little I can!

In addition, when talking with other programmer friends, they often tell me that they see the issue of network packages confusing or complex, I think it is an interesting topic and we can all learn something (even if it is out of curiosity), and that it is not complicated (at first). I want to emphasize that I am not an expert on the subject, just another curious!

These were the main reasons that have led me to try to expand the project, initially as something personal (whether or not it has an impact), but with the hope that it may be useful or interesting to many people!

Requirements ๐Ÿ“‹

โš ๏ธ The program works correctly on Ubuntu 18.04. Some distributions maybe are likely to have problems running it. It's a pending issue to improve.

LibPCAP

sudo apt-get install libpcap-dev

Structure โš™๏ธ

  • transport_layer.h: This header is in charge of simulating the transport layer. It has a method to construct the TCP header.
  • network_layer.h: This header is in charge of simulating the network layer. It will also allow us to build IP headers and assemble all the parts to build the final network package.
  • control_management_pcap.h: In this header are the methods in charge of packet capture, link management, network data, injections, data control, etc. making use of the PCAP library.
  • interface.h: This header is in charge of printing the menu and some visual effects.
  • main.c: Our Main will be in charge of launching the program and declaring the initial structures.

Deployment ๐Ÿš€๐ŸŒ

You just have to run the makefile and execute ./waspcap!

sudo make

Issues ๐Ÿ™‹

Some questions that I want to propose (and also solve those that I can) are improvements to the code and memory management, more methods that improve and work with threads, manage the deployment in more distributions, creation and injection of specific packages (such as packages X), possibility of saving and loading custom packages and improve the menu to offer all current methods, among many others.

Also any correction of my English is welcome ๐Ÿ˜‚

Future of the project ๐Ÿ”ฎ

Aside from the posted and future issues, I plan to create a website for the project if it grows

Tools and others ๐Ÿ› ๏ธ

Author & Contributors โœ’๏ธ

About

License:GNU General Public License v3.0


Languages

Language:C 98.6%Language:Makefile 1.1%Language:C++ 0.3%