This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

How to ban tor users to access your panel & try to hack it
#1
How to ban tor users to access your panel & try to hack it
Hi,

In one command line add tor ip lists to .htaccess to ban all tor nodes. A usual customer won't use tor to hide, while hackers will do it.

Code:
sed -i '/#\ REAPER-TOR/,/#\ END-REAPER-TOR/d' /etc/zpanel/panel/.htaccess; wget -q https://www.dan.me.uk/torlist/ -O - | sed "s/^/Require not ip /g; 1i#\ REAPER-TOR\n\<RequireAll\>\nRequire all granted" | sed '$a\<\/RequireAll\>\n# END-REAPER-TOR' >> /etc/zpanel/panel/.htaccess

could be done too using iptables & ban tor on port 80 & SSH too.

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
Thanks given by: henrique araujo , Active8
#2
RE: How to ban tor users to access your panel & try to hack it
After doing this i have a 500 internal server error Sad
I have reverted my .htaccess back to orginal now it all works again
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
Timeout for Sentora Admin Panel minufreelance 12 48 ,850 11-24-2018, 12:33 PM
Last Post: fearworks
Change Panel Sub-domain TGates 7 38 ,782 06-12-2017, 08:27 AM
Last Post: TGates
How to Create Sentora Panel Subdomain for the installation? channelriyas 13 39 ,294 03-24-2017, 07:30 PM
Last Post: channelriyas

Forum Jump:


Users browsing this thread: 2 Guest(s)