Created
May 20, 2016 18:07
-
-
Save intchloe/82c6de46cd1f878d0dc0a9597a5c90dd to your computer and use it in GitHub Desktop.
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 | |
$a = $_SERVER; | |
echo '<script type="text/javascript" src="/c.js"></script> | |
'; | |
echo "------------- Alarming detections -------------</br>"; | |
if (array_key_exists("HTTP_X_TOR2WEB",$a)) { | |
echo "The 'HTTP_X_TOR2WEB' key exist, so you are using Tor2Web!</br>"; | |
} | |
if (array_key_exists("HTTP_X_FORWARDED_PROTO",$a)) { | |
echo "The 'HTTP_X_FORWARDED_PROTO' key exist, so you are using Tor2Web!</br>"; | |
} | |
if (array_key_exists("HTTP_X_FORWARDED_HOST",$a)) { | |
echo "The 'HTTP_X_FORWARDED_HOST' key exist, so you are using Tor2Web!</br>"; | |
} | |
echo "</br></br>"; | |
echo "------------- Suspicious detections -------------</br>"; | |
if (in_array('Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Firefox/24.0', $a)) { | |
echo 'You have the same UA as onion.cab. Suspicious.'; | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment