This file contains 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
# Bash Functions to load into the shell environment | |
alias chmox="chmod +x" | |
alias claer="clear" | |
alias exiut="exit" | |
alias exuit="exit" |
This file contains 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 <stdint.h> | |
#include <arpa/inet.h> | |
#include <asm/byteorder.h> | |
#include <linux/bpf.h> | |
#include <linux/if_ether.h> | |
#include <linux/ip.h> | |
#include <linux/tcp.h> | |
#include <linux/pkt_cls.h> | |
/* |
This file contains 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
#!/usr/bin/python | |
import sys | |
import code | |
from lxml import etree | |
from lxml.builder import E | |
from ncclient import manager | |
_, ip, user, passwd = sys.argv | |
netconf = manager.connect(host=ip, port=830, username=user, password=passwd, |