diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..bfa6a22 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +# Created by .ignore support plugin (hsz.mobi) diff --git a/README.md b/README.md index 2a0eb72..c091ab0 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,7 @@ # tor-detector -A library to detect if your website visitor is from a TOR network or not \ No newline at end of file +A library to detect if your website visitor is from a TOR network or not. + +At the moment this is achieved by using a DNS lookup method as described in https://trac.torproject.org/projects/tor/wiki/doc/TorDNSExitList + +# Credit +Original code is taken from https://jrnv.nl/detecting-the-use-of-proxies-and-tor-network-6c240d6cc5f (it wasn't working but very close) \ No newline at end of file