Skip to content

Instantly share code, notes, and snippets.

@oscarsmx
oscarsmx / ifcfg-eth1
Created April 29, 2019 16:45
vrack virtual lan ovh centos7
DEVICE=eth1
BOOTPROTO=static
IPADDR=172.16.0.1
NETMASK=255.255.255.0
ONBOOT=yes
TYPE=Ethernet
@oscarsmx
oscarsmx / slowloris.py
Created January 4, 2017 07:36 — forked from gkbrk/slowloris.py
Slowloris implementation in Python.
import socket
import random
import time
import sys
log_level = 2
def log(text, level=1):
if log_level >= level:
print(text)
@oscarsmx
oscarsmx / lsyncd.conf
Created December 7, 2016 07:23
Multiple Server, Host Lsync Config 2016
settings {
logfile = "/var/log/lsyncd/lsyncd.log",
statusFile = "/var/log/lsyncd/lsyncd-status.log",
statusInterval = 10
}
-- Slaves
targetList = {
"127.0.0.1",