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
#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


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

Forum Jump:


Users browsing this thread: 1 Guest(s)