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
/USER | |
1097 | |
1098 | |
1099 static void eap_ttls_process_msg(struct eap_sm *sm, void *priv, | |
1100 > > > > const struct wpabuf *respData) | |
1101 { | |
1102 > struct eap_ttls_data *data = priv; | |
1103 | |
1104 > switch (data->state) { | |
1105 > case PHASE1: |
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 | |
# encoding: utf-8 | |
from scapy.packet import Packet,bind_layers | |
from scapy.fields import * | |
class Example(Packet):#必ずPacketクラスを継承すること | |
""" | |
Scapyに自作プロトコルを実装するためのモデルです。 | |
Packetクラスは基本的に受信した1つのパケットデータのすべてを常に保持します。 |
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
## This file is part of Scapy | |
## See http://www.secdev.org/projects/scapy for more informations | |
## Copyright (C) Philippe Biondi <[email protected]> | |
## This program is published under a GPLv2 license | |
""" | |
Fields: basic data structures that make up parts of packets. | |
""" | |
import struct,copy,socket |
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
odl: | |
image: opendaylight/odl:4.2.0 | |
container_name: odl | |
privileged: true | |
stdin_open: true | |
tty: true | |
command: /opt/opendaylight/bin/karaf | |
ports: | |
- "8181:8181" | |
expose: |
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
fabric: | |
image: syakesaba/mininet | |
privileged: true | |
stdin_open: true | |
tty: true | |
links: | |
- ryu:ryu | |
command: --topo=single --controller=remote,ip=ryu | |
ryu: |
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 | |
# encoding: utf-8 | |
import requests # pip install requests | |
import logging | |
import json | |
from urlparse import urlparse | |
discover_prefix = "https://lyncdiscover.{0}/" # .format(sip_domain) | |
discover_prefix_internal = "https://lyncdiscoverinternal.{0}/" # .format(sip_domain) |
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 | |
# encoding: utf-8 | |
from scapy.packet import Packet | |
import json | |
class JsonPacket(Packet): | |
name = "JsonPacket" | |
fields_desc = [] | |
json_valid_types = (dict,list,unicode,str,int,long,float,bool,None) |
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 | |
# encoding: utf-8 | |
from scapy.packet import Packet | |
import json | |
class JsonPacket(Packet): | |
name = "JsonPacket" | |
fields_desc = [] | |
json_valid_types = (dict,list,unicode,str,int,long,float,bool,None) |
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 | |
#encoding: utf-8 | |
import os | |
import time | |
print(" _ _ ___ ______ \n" + | |
" (_) | / _ \ | ___ \\\n" + | |
" _ __ ___ _| |_ _ __ ___ / /_\ \| |_/ /\n" + | |
"| '_ ` _ \| | __| '_ ` _ \| _ || __/ \n" + | |
"| | | | | | | |_| | | | | | | | || | \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
#!/usr/bin/env python | |
#encoding: utf-8 | |
import os | |
import time | |
print(" _ _ ___ ______ \n" + | |
" (_) | / _ \ | ___ \\\n" + | |
" _ __ ___ _| |_ _ __ ___ / /_\ \| |_/ /\n" + | |
"| '_ ` _ \| | __| '_ ` _ \| _ || __/ \n" + | |
"| | | | | | | |_| | | | | | | | || | \n" + |