Skip to content

Instantly share code, notes, and snippets.

View deftonesclimb's full-sized avatar

Serhat Esmer deftonesclimb

View GitHub Profile
@deftonesclimb
deftonesclimb / sysctl.conf
Created April 28, 2022 17:33 — forked from hiqsociety/sysctl.conf
ubuntu sysctl performance tuning
# Kernel sysctl configuration file for Linux
#
# Version 1.12 - 2015-09-30
# Michiel Klaver - IT Professional
# http://klaver.it/linux/ for the latest version - http://klaver.it/bsd/ for a BSD variant
#
# This file should be saved as /etc/sysctl.conf and can be activated using the command:
# sysctl -e -p /etc/sysctl.conf
#
# For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and sysctl.conf(5) for more details.
@deftonesclimb
deftonesclimb / checkip.sh
Created April 8, 2021 12:51
ips.txt dosyasına tek satır halinde yazılmış ipleri whois çeker
#!/bin/bash
file="ips.txt"
if [ ! -f "$file" ]; then
echo "$file .txt dosyasi bulunamadi!."
exit
fi
lines=`cat $file`
echo "# Query,Subnet,Registrant,AS Number,Country,Issuer"
for IP in $lines; do