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 <stdio.h> | |
void print_name(){ | |
printf("LIB A\n"); | |
} |
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
#!/bin/bash | |
USER=XXXXXXX | |
PASSWD=XXXXX | |
URL=https://smsapi.free-mobile.fr/sendmsg | |
if [ $# -eq 0 ] | |
then | |
echo "No message supplied" | |
exit |
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
#!/usr/bin/env python | |
from scapy.packet import Packet, bind_layers | |
from scapy.fields import FieldLenField, PacketListField | |
from scapy.fields import IntField,XByteField, ShortField | |
from scapy.fields import ByteEnumField | |
from scapy.plist import PacketList | |
class CarHeader(Packet): | |
name = "Car" |
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
use Net::MAC::Vendor; | |
use strict; | |
open(ARP, "arp -n|") || die "Failed $!\n"; | |
my @arp_table; | |
while (<ARP>) { | |
if ($_ =~ m/incomplet/) {next;} | |
if ($_ =~ m/Address/) {next;} | |
my @line = split(' ',$_); |