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
net.ipv4.ip_forward = 1 | |
net.ipv4.ip_nonlocal_bind = 1 | |
net.ipv6.conf.all.forwarding = 1 | |
net.ipv6.ip_nonlocal_bind = 1 | |
fs.file-max = 500000 | |
net.ipv4.tcp_max_syn_backlog = 3240000 | |
net.core.rmem_default = 31457280 | |
net.core.rmem_max = 12582912 | |
net.core.wmem_default = 31457280 | |
net.core.wmem_max = 12582912 |
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
$ curl -I http://some.local.app.dev/?return=402 | |
HTTP/1.1 402 Payment Required | |
Server: nginx/1.2.2 | |
Date: Fri, 27 Jul 2012 19:08:19 GMT | |
Content-Type: text/html | |
Content-Length: 182 | |
Connection: keep-alive | |
Keep-Alive: timeout=10 |
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
https://techlog360.com/how-to-dual-boot-kali-linux-v2-0-with-windows-10/ | |
1. Unable to mount ... (somethings like cdrom or ...) | |
https://superuser.com/questions/962926/cant-install-kali-linux-from-usb-fails-to-find-cd-rom-drive | |
If step "select and install software" failed, just jump to next step. | |
2. You must have network connection to install cuz some package is missing. If Kali instalation can not detect driver for wifi then plug a ethernet cable | |
Ref: https://forums.kali.org/showthread.php?46793-Error-with-installing-Kali-Linux-2020-1-on-VMware | |
3. If no desktop after install: |
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 | |
LOG_FILE=$1 | |
#for hour in 00 01 02 03 | |
#do | |
# pattern=" $hour" | |
# rph=`egrep " $hour:" $LOG_FILE | wc -l` | |
# echo $hour : $rph | |
#done |
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 | |
cd /tmp | |
ip_list="$@" | |
while true | |
clear | |
tput cup 0 0 | |
do | |
for ip in $ip_list |
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 | |
export JAVA_HOME="/usr/lib/jvm/java-8-openjdk-amd64" | |
DELAY_FOLDER="/delay" | |
JMETER_BIN_DIR="$DELAY_FOLDER/jmeter/bin" | |
current=`date "+%s"` | |
# measure origin test | |
$JMETER_BIN_DIR/jmeter --nongui --testfile $DELAY_FOLDER/test-plans/origin/test.jmx --logfile $DELAY_FOLDER/test-results/origin/$current-sample.csv > /dev/null & |
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 | |
for ip in {5..12} | |
do | |
ping 12.12.12.$ip| while read line; do echo `date` - $line; done >> node.$ip & | |
done |
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
<VirtualHost *:80> | |
ServerAdmin webmaster@localhost | |
ServerName mvpdns.domain01.tk | |
ServerAlias www.mvpdns.domain01.tk | |
ServerAlias *.mvpdns.domain01.tk | |
DocumentRoot /var/www/jorimy/ | |
<Directory /> | |
Options FollowSymLinks | |
AllowOverride None |
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
######## KEENG.VN ########## | |
125.212.138.11 keeng.vn vip.keeng.vn app.keeng.vn kpop.keeng.vn m.keeng.vn usuk.keeng.vn nhachoa.keeng.vn service.keeng.vn files.keeng.vn m.phim.keeng.vn phim.keeng.vn mobile.keeng.vn api.keeng.vn search.keeng.vn rec.keeng.vn truyenthong.keeng.vn tt.keeng.vn vip.service.keeng.vn vip.search.keeng.vn vip.rec.keeng.vn | |
############################ | |
# https://www.researchgate.net/publication/324600275_SDN-Assisted_Network-Based_Mitigation_of_Slow_DDoS_Attacks |
NewerOlder