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
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=windows-utf-8"> | |
<title>utf</title> | |
</head> | |
<body> | |
<?php | |
print "<h1>#p@$c@#</h1>\n"; | |
echo "Your IP: "; | |
echo $_SERVER['REMOTE_ADDR']; |
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
import os | |
import BaseHTTPServer, SimpleHTTPServer | |
import ssl, socket | |
CERTIFICATE_PATH = os.getcwd() + '/server.crt' | |
KEY_PATH = os.getcwd() + '/server.key' | |
def verify_tls(socket, hostname, context, as_callback=True): | |
print "SNI hostname: ", hostname |
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
# Purpose : System backup | |
# Modified 14 Feb 2011 | |
echo "Initializing backup process - " `date` | |
logger -t backup "System Backup started" | |
backvol=/bkpv | |
# | |
# Sanity Check | |
# |
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
# Kernel sysctl configuration file for Red Hat Linux | |
# | |
# For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and | |
# sysctl.conf(5) for more details. | |
# Controls source route verification | |
net.ipv4.conf.default.rp_filter = 1 | |
# Do not accept source routing | |
net.ipv4.conf.default.accept_source_route = 0 |
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
#palemoon | |
prompts.tab_modal.focusSwitch;false | |
gfx.downloadable_fonts.enabled;false |
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://non7top.tk/notary/ | |
-----BEGIN PUBLIC KEY----- | |
MIHKMA0GCSqGSIb3DQEBAQUAA4G4ADCBtAKBrAHNEJQiiQdn5xTMJ3201H9wbR+Y | |
3VCFGGtrxmGQw5Os7zz+fpmtNxmVr68Yz7s3LfNgWiJDpTiCt+buFwcSY8RuUp7p | |
1Cv3RSHsivh7VJO+m2Wm/wfl7rXJELAyoP36WcK9SK/RLJqFxTYcTJPs+bSknot9 | |
cP7MHZmsBJ8090Yy5WJqLnPTekhEIFbtIElbW6aHaXN6Obk9wtqDR69d3ztBLTsj | |
YmTxy9V/g2MCAwEAAQ== | |
-----END PUBLIC KEY----- | |
http://ec2-52-213-71-206.eu-west-1.compute.amazonaws.com:8080/ |
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 | |
set -e | |
source $HOME/local.env | |
PKGS_FILE=$LOCAL_PATH/.packages | |
install_openssl() { | |
VERSION="${1:-1.0.2d}" | |
cd $TMP |
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
wget -O- http://cpanmin.us | perl - -l ~/perl5 App::cpanminus local::lib | |
eval `perl -I ~/perl5/lib/perl5 -Mlocal::lib` | |
echo 'eval `perl -I ~/perl5/lib/perl5 -Mlocal::lib`' >> ~/.bash_profile | |
echo 'export MANPATH=$HOME/perl5/man:$MANPATH' >> ~/.bash_profile | |
cpanm |
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 | |
# IMPORTANT: | |
# by default outputs physical memory | |
# - Linux only | |
# - User which is running the script should have | |
# same primary group as the one running oracle, | |
# otherwise ipcs will report 0 instead of | |
# actual shared memory. Being in the same | |
# groups may be not be enough |
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 | |
# by non7top | |
LC_ALL=C | |
LANG=C | |
EMAIL="" | |
RETENTION=10 | |
SOURCE=/backups/fusion | |
DEST=/mnt/backups | |
USB_LABEL="backups" |