Skip to content

Instantly share code, notes, and snippets.

💾
apply patch? [n]: yyyyyyyyyyyyyyy

Carles Tubio ctubio

💾
apply patch? [n]: yyyyyyyyyyyyyyy
Block or report user

Report or block ctubio

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View sqlyog-password-decode.php
<?php
foreach(str_split(base64_decode('YOUR_ENCODED_PASS_HERE')) as $chr)
echo chr(((($chr = ord($chr)) << 1) & 0xFF) | ($chr >> (8 - 1)));
@ctubio
ctubio / tor_curl.php
Last active Sep 5, 2015 — forked from zachflower/tor_curl.php
How To Anonymize PHP cURL Requests Using Tor
View tor_curl.php
<?php
$ip = '127.0.0.1';
$port = '9051';
$auth = 'PASSWORD';
$command = 'signal NEWNYM';
$fp = fsockopen($ip,$port,$error_number,$err_string,10);
if(!$fp) { echo "ERROR: $error_number : $err_string";
return false;
You can’t perform that action at this time.