Skip to content

Commit acb283a

Browse files
committed
Tor node detection on sandbox/playground.
1 parent 2e2e4da commit acb283a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

sandbox.php

+7
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
<?php
2+
include_once("controller/tor_detection.php");
3+
4+
if(TorDetection::isExitNode()) {
5+
http_response_code(403);
6+
return;
7+
}
8+
29
$appId = "";
310
$apiKey = "";
411

0 commit comments

Comments
 (0)