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
# See /usr/share/postfix/main.cf.dist for a commented, more complete version | |
# Debian specific: Specifying a file name will cause the first | |
# line of that file to be used as the name. The Debian default | |
# is /etc/mailname. | |
#myorigin = /etc/mailname | |
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU) | |
biff = no |
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
# | |
# Postfix master process configuration file. For details on the format | |
# of the file, see the master(5) manual page (command: "man 5 master"). | |
# | |
# Do not forget to execute "postfix reload" after editing this file. | |
# | |
# ========================================================================== | |
# service type private unpriv chroot wakeup maxproc command + args | |
# (yes) (yes) (yes) (never) (100) | |
# ========================================================================== |
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/sh | |
IPT="/sbin/iptables" | |
# Flush old rules, old custom tables | |
$IPT --flush | |
$IPT --delete-chain |
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 | |
IPT=”/bin/iptables” | |
FILE=”/tmp/drop.lasso” | |
URL=”http://www.spamhaus.org/drop/drop.lasso” | |
echo “” | |
echo -n “Deleting DROP list from existing firewall…” | |
#This will delete all dropped ips from firewall |
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 | |
SERVER="http://127.0.0.1/script.php" | |
for (( c=1; c<=150; c++ )) | |
do | |
curl -s $SERVER"?[1-1000]" & | |
pidlist="$pidlist $!" | |
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 | |
export PS1="\[\e[00;32m\]\u\[\e[0m\]\[\e[00;37m\]@\h \[\e[0m\]\[\e[00;33m\]\@\[\e[0m\]\[\e[00;36m\][\w]\[\e[0m\]\n" | |
export PROMPT_COMMAND='printf "\033]0;Arena playansurf.com Muhafiz Server Management - Aysad Kozanoglu - Uptime: %s\007" "`uptime`"' |
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
$(document).ready(function() { | |
//do jQuery stuff when DOM is ready | |
}); | |
<!-- methode 2 --> | |
$(function(){ | |
//jQuery code here | |
}); | |
<!-- methode 3 --> |
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
<? | |
#//////////////////////////////////////////////////////////////////// | |
# | |
# PHP Token based user authentication | |
# Token and tokenServerService Class | |
# based on factory design patterns | |
# | |
# written by: Aysad Kozanoglu | |
# email: k.a@tuta.io | |
# website: http://onweb.pe.hu |
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
<?php | |
#//////////////////////////////////////////////////////////////////// | |
# | |
# | |
# written by: Aysad Kozanoglu | |
# email: k.a@tuta.io | |
# website: http://onweb.pe.hu | |
# | |
# MIT licence |
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
# Designed to be included in any server {} block. | |
location = /favicon.ico { | |
log_not_found off; | |
access_log off; | |
} | |
location = /robots.txt { | |
allow all; | |
log_not_found off; | |
access_log off; |