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
/* | |
* Minimalist sample to decrypt tls-1.3 with gnutls api | |
* | |
* Data input: | |
* crypt_buffers are extracted with wireshark from hello-tls-1.3.pcapng | |
* master_secret is extracted from hello-tls-1.3.keylog/CLIENT_TRAFFIC_SECRET_0 | |
* cipher_name is extracted from hello_server message | |
* | |
* Compilation: gcc -lgnutls tls-decrypt-1.3.c -o tls-decrypt | |
* Pcap-trace: wireshark hello-tls-1.3.pcapng -o tls.keylog_file:hello-tls-1.3.keylog |
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
'use strict'; | |
// Author : Fulup Ar Foll | |
// Date : July-2018 | |
// Licence : What ever please you until you fixe bug by yourself | |
// Object : Handle KEBA P30 WallBox UDP command | |
// Reference: https://www.keba.com/web/downloads/e-mobility/KeContact_P20_P30_UDP_ProgrGuide_en.pdf | |
// Debug : echo -n "report" | socat - UDP:KEBA:7090,bind=:7090,bindtodevice=eth0 | |
// where: KEBA=IP-ADDR eth0 the internet interface when you send/receive data |
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
#!/bin/bash | |
# Author: Fulup Ar Foll (iot.bzh) | |
# Date: July-2015 | |
# Oject: Start a Docker container with IP addr deducted from hostname & DNS | |
# Syntax: docker-start [brige=br0] [subnet=10.20.1.0] [netmask=24] [addr=auto] [gateway=auto] containerName/ID | |
# Licence: Any OpenSource Licences you like, until you fix bugs by yourself :) | |
# Source: https://gist.github.com/fulup-bzh | |
# Reference: http://blog.oddbit.com/2014/08/11/four-ways-to-connect-a-docker |
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 <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <unistd.h> | |
#include <fcntl.h> | |
#include <errno.h> | |
#include <termios.h> | |
#include <sys/ioctl.h> | |
#include <sys/signal.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
/** | |
* angular-ui-notification - Angular.js service providing simple notifications using Bootstrap 3 styles with css transitions for animating | |
* @extend %author Alex_Crack | |
* @extend %version v0.0.2 | |
* @extend %link https://github.com/alexcrack/angular-ui-notification | |
* @extend %license MIT | |
*/ | |
$btn-common-primary-color: #191970; | |
$btn-common-primary-size: 1rem; |