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
#******************************************************************** | |
# WARNING:: This whole exercise is performed while logged in as root. | |
# FOLLOW AT YOUR OWN RISK | |
#******************************************************************** | |
# Setup a working directory anywhere you like. I'm using /vb/snakex. | |
mkdir /vb/snakex | |
cd /vb/snakex | |
export MYTOP=`pwd` |
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
diff -rupN nginx-1.6.2/auto/modules nginx-1.6.2-socks-upstream/auto/modules | |
--- nginx-1.6.2/auto/modules 2014-09-16 09:23:19.000000000 -0300 | |
+++ nginx-1.6.2-socks-upstream/auto/modules 2014-10-29 19:28:26.451597644 -0200 | |
@@ -381,6 +381,11 @@ if [ $HTTP_UPSTREAM_LEAST_CONN = YES ]; | |
HTTP_SRCS="$HTTP_SRCS $HTTP_UPSTREAM_LEAST_CONN_SRCS" | |
fi | |
+if [ $HTTP_UPSTREAM_SOCKS = YES ]; then | |
+ have=NGX_HTTP_UPSTREAM_SOCKS . auto/have | |
+ HTTP_SRCS="$HTTP_SRCS src/http/modules/ngx_http_upstream_socks_module.c" |
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
package main | |
import ( | |
"fmt" | |
"runtime" | |
) | |
type CPF []int | |
func NewCPF(cpf int64) CPF { |
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
cache=/var/db/vwash.cache | |
touch $cache | |
while read line; do | |
mac=$(echo "$line" | cut -d: -f1-3) | |
if echo $mac | grep -i -e '[a-f0-9]\{2\}:' > /dev/null; then | |
lookup=$(grep "$mac=" $cache) | |
if [ $? -gt 0 ]; then |
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
<? | |
set_time_limit(120); | |
error_reporting(E_ALL ^ E_NOTICE); | |
$in = $_GET["in"]; | |
//$op = $_GET["op"] == 1 ? 1 : 0; | |
$in = $_GET["mode"] == "rnd()" ? rand(1, str_repeat("9", rand(2,9))) : $in; | |
$num = explode(" ", $in); |
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 | |
error_reporting(E_ALL); | |
function _new ($class_name, $constructor_parameters) { | |
$parameters = array(); | |
$values = array_values($constructor_parameters); |
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
### 4.4.9 to 5.2.17 ### | |
X-Powered-By: PHP/4.4.9 | |
Content-type: text/html | |
string(44) "compare_php_version() = From 4.4.9 to 5.2.17" | |
string(66) "Backend->backend_md5(The World) = cb4adbc5d0fca498acaa58729f40fff9" | |
string(76) "Backend2->backend_sha1(The World) = e0a97fc105f02a28430eb29fda4b37ade9bd43f4" | |
string(47) "Backend3::backend_version() = Backend is 5.2.17" | |
string(52) "Backend2(reused)->backend_raw(The World) = The World" | |
################################################################# |
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
A Closure object doesn't have a way to return its code as a string (i.e., like JavaScript has), so, it won't work. | |
@ front end (PHP >= 5.3): | |
$calls = new ClosureCall( | |
function ($a, $b) { return $a + $b; }, | |
array(1, 2), | |
"var_dump" | |
); |
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
hosts { | |
megaupload\.com | |
rapidshare\.com | |
filesonic\.com | |
4shared\.com | |
} | |
source www.bunalti.com/?feed=rss2 { | |
meta { |
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
javascript:document.body.innerHTML = '<table width="100%" height="100%" border=0 cellspacing=0 cellpadding=0 VALIGN=Middle ALIGN=CENTER><tr><td><center><br/><br/><br/><br/><br/><br/><br/><img src="http://www.pudim.com.br/SiteBuilder/UploadUsers/pudim.com.br/pudim.jpg"><br><font size="5">www.pudim.com.br</font><br><font size="3"><a href="mailto:pudim@pudim.com.br">pudim@pudim.com.br</a></font></center></td></tr></table>';document.head.innerHTML=document.head.innerHTML.replace(/<link.*>/, "");void(0); |
OlderNewer