Update Libcrafter v-0.2

Changes Libcrafter v0.2 :

  • More protocols: Ethernet, SLL (Linux cooked-mode capture), ARP, DHCP, DHCP options, IP, IP options, IPv6, ICMP, ICMP extensions, TCP, TCP options, UDP and DNS.
  • Reading and dumping pcap files.
  • libcrafter no longer depends on libnet, and the packet injection is way more efficient than the last version. Also, now is possible to write libcrafter packets directly into raw or packet sockets.
  • Old code should compile with this new version but there are a few deprecated functions (a call to a deprecated function will print a warning on the screen). You should take a look to the examples to see the new features of the library. For example, there is no need to call InitCrafter and CleanCrafter anymore.

 Libcrafter is a high level library for C++ designed to facilitate the creation and decoding of network packets. It is able to craft or decode packets of most common networks protocols, send them on the wire, capture them and match requests and replies. It enables the creation of networking tools in a few lines with a interface very similar to Scapy. A packet is described as layers that you stack one upon the other. Fields of each layer have useful default values that you can overload.

Platform : Unix/Linux

The library is designed to be used in multithreaded programs where you can combine several tasks simultaneously. For example, you can easily design something that sniffs, mangles, and sends at the same time you are doing an ARP-Spoofing attack. It also contains a very naive implementation of the TCP/IP stack (fragmentation is no handled yet) at user level that enables working with TCP streams. This facilitates the creation of tools for data injection on arbitrary connections, IP spoofing and TCP/IP session hijacking.

Installation

The installation of the library in your system should be quite straightforward. First download the latest release of the library from the download tab or the command line:

$ wget http://libcrafter.googlecode.com/files/crafter-0.2.tar.gz

Extract the source code:
$ tar xfvz crafter-0.1.tar.gz
$ cd crafter-0-1

Before configuring and compiling libcrafter you need lipcap an libnet installed in your system. On debian based distros, you should execute:
$ sudo apt-get install libnet1 libnet1-dev libpcap0.8 libpcap0.8-dev

Configure:
$ ./configure

Compile:
$ make

Install on your system:
$ sudo make install
$ sudo ldconfig

Finally, you can download some examples codes and test them:

wget http://libcrafter.googlecode.com/files/examples.tar.gz
Alternatively, you can get the last snapshot of the examples (I frequently add new code and fix bugs) executing:

git clone http://code.google.com/p/libcrafter.examples/

You can Use this Tools for ARP Cache Poisoning 

Download Latest Version : crafter-0.2.tar.gz
Find Other Version |
Read more In here : http://code.google.com/p/libcrafter/
For Discussion group : http://groups.google.com/group/libcrafter

Our Post Before :