This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sniffer de Paquetes | |
Selecciona el tipo de captura: | |
1) Captura de paquetes 'al vuelo'. | |
2) Usar un archivo. | |
Tu opción: 1 | |
Selecciona una interfaz de red: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Process: Cisco Packet Tracer [9272] | |
Path: /Applications/Cisco Packet Tracer/Cisco Packet Tracer.app/Contents/MacOS/Cisco Packet Tracer | |
Identifier: Cisco Packet Tracer | |
Version: 0 | |
Code Type: X86-64 (Native) | |
Parent Process: ??? [1] | |
Responsible: Cisco Packet Tracer [9272] | |
User ID: 501 | |
Date/Time: 2019-11-07 13:52:10.604 -0600 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Para poder leer. | |
import java.util.Scanner; | |
// Clase principal | |
public class Funciones | |
{ | |
// Pa' leer las cosas en tooodas las funciones y no tener que reescribir. | |
public static Scanner usuario = new Scanner(System.in); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <arpa/inet.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <sys/socket.h> | |
#include <linux/if_packet.h> | |
#include <net/ethernet.h> /* the L2 protocols */ | |
#include <unistd.h> | |
#include<sys/ioctl.h> | |
#include<net/if.h> | |
#include<string.h> |