Skip to content

Instantly share code, notes, and snippets.

View kyob's full-sized avatar

Łukasz Kopiszka kyob

View GitHub Profile
@kyob
kyob / ipoe-ne8k
Created December 19, 2024 08:30 — forked from marcossocram06/ipoe-ne8k
Configuração IPoE - Huawei Ne8k
#
dhcpv6 duid 00010001b6eb2b6c28a6dbeb0029
radius-server group isp
radius-server shared-key-cipher %^%#EGiA1wr#mTZwG!ZJAI`Tpk<jJ[%S+YAas!R_O-B=%^%#
radius-server authentication ip_radius_A 1812 weight 100
radius-server authentication ip_radius_B 1812 weight 0
radius-server accounting ip_radius_B 1813 weight 0
@kyob
kyob / ddos.txt
Created September 1, 2023 12:40 — forked from bom-d-van/ddos.txt
Detecting and Mitigating DDOS Attacks
Detecting and Mitigating DDOS Attacks
#List all Finish (FIN) packets
machine1 : sudo /usr/sbin/tcpdump -Nnn -i any -s0 'tcp[13] & 1 != 0'
#List all SYN and SYN-ACK packets
machine1 : sudo /usr/sbin/tcpdump -Nnn -i any -s0 'tcp[13] & 2 != 0'
@kyob
kyob / ddosDetection.sh
Created September 1, 2023 12:24 — forked from Masu-Baumgartner/ddosDetection.sh
DDoS Detection Script ready to use for a integration in third party software using the "DATA" output. Should work on every linux system
#! /bin/bash
echo "DDos Detect by masusniper#0666";
interface=$(ip -o -4 route show to default | awk '{print $5}')
dumpdir=/root/dumps
echo -e "Using interface ${interface}"
mkdir $dumpdir
@kyob
kyob / cto_line.pine
Created September 27, 2021 06:34
CTO Line indicator for TradingView
//@version=4
study(title="CTO Line", shorttitle="CTO", overlay=true, resolution="")
smma(src, length) =>
smma = 0.0
smma := na(smma[1]) ? sma(src, length) : (smma[1] * (length - 1) + src) / length
smma
v1 = smma(hl2, 15)
m1 = smma(hl2, 19)
m2 = smma(hl2, 25)
v2 = smma(hl2, 29)
@kyob
kyob / README-Template.md
Created December 5, 2019 13:06 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites