I hereby claim:
- I am thotypous on github.
- I am thotypous (https://keybase.io/thotypous) on keybase.
- I have a public key whose fingerprint is D07E CB5A EF63 5285 D4AC 4A50 B8C6 6205 87F3 0E55
To claim this, I am signing this object:
| #!/bin/bash | |
| gw="$(ip route | grep -Po '^default via \K\d+\.\d+\.\d+\.\d+')" | |
| iface="$(ip route | grep -Po '^default via \d+\.\d+\.\d+\.\d+ dev \K[^ ]+')" | |
| local_subnet_forwarding_rule="$(ip route | grep -P "^\d+\.\d+\.\d+\.\d+/\d+ dev $iface .*? link src")" | |
| gw_forwarding_rule="$gw $(echo "$local_subnet_forwarding_rule" | grep -Po '^\d+\.\d+\.\d+\.\d+/\d+ \K.+')" | |
| if [[ ! -z "$local_subnet_forwarding_rule" ]]; then | |
| set -xe |
| import socket | |
| import asyncio | |
| import struct | |
| ETH_P_ALL = 0x0003 | |
| ETH_P_IP = 0x0800 | |
| ICMP = 0x01 # https://en.wikipedia.org/wiki/List_of_IP_protocol_numbers |
| import socket | |
| import asyncio | |
| import struct | |
| ETH_P_IP = 0x0800 | |
| # Coloque aqui o endereço de destino para onde você quer mandar o ping | |
| dest_addr = '186.219.82.1' |
| #!/usr/bin/python3 | |
| # | |
| # Antes de usar, execute o seguinte comando para evitar que o Linux feche | |
| # as conexões TCP abertas por este programa: | |
| # | |
| # sudo iptables -I OUTPUT -p tcp --tcp-flags RST RST -j DROP | |
| # | |
| import asyncio | |
| import socket |
| #!/usr/bin/python3 | |
| import sys | |
| import csv | |
| import requests | |
| username = '<redacted>' | |
| password = '<redacted>' | |
| inicio_validade = '2018-09-10T00:00:00.000Z' | |
| fim_validade = '2018-09-17T23:59:59.999Z' |
| #!/usr/bin/python3 | |
| # | |
| # Antes de usar, execute o seguinte comando para evitar que o Linux feche | |
| # as conexões TCP abertas por este programa: | |
| # | |
| # sudo iptables -I OUTPUT -p tcp --tcp-flags RST RST -j DROP | |
| # | |
| import asyncio | |
| import socket |
| #!/usr/bin/python3 | |
| # -*- encoding: utf-8 -*- | |
| import socket | |
| s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) | |
| s.connect(('endereco', 8000)) | |
| s.send(b'A'*50000 + b'F') | |
| s.close() |
I hereby claim:
To claim this, I am signing this object:
| #!/usr/bin/env python2 | |
| # -*- coding: utf8 -*- | |
| # SDAPS - Scripts for data acquisition with paper based surveys | |
| # Copyright (C) 2008, Christoph Simon <post@christoph-simon.eu> | |
| # Copyright (C) 2015, Benjamin Berg <benjamin@sipsolutions.net> | |
| # | |
| # This program is free software: you can redistribute it and/or modify | |
| # it under the terms of the GNU General Public License as published by | |
| # the Free Software Foundation, either version 3 of the License, or | |
| # (at your option) any later version. |
| diff --git a/./base/math/Makefile.kbuild.orig b/./base/math/Makefile.kbuild | |
| index d87d924..110a5b9 100644 | |
| --- a/./base/math/Makefile.kbuild.orig | |
| +++ b/./base/math/Makefile.kbuild | |
| @@ -7,8 +7,10 @@ EXTRA_CFLAGS += -I$(rtai_srctree)/base/include \ | |
| -D_IEEE_LIBM \ | |
| -D_ISOC99_SOURCE \ | |
| -D_SVID_SOURCE \ | |
| + -D__USE_SVID \ | |
| $(rtai_extraopt) \ |