Because of the GDPR and lot of Tor - old browser attacks (not from your code) in my site, I am trying to implement this code inside the form :
Code: Select all
<form action="?" method="post">
<!-- other form fields -->
<script src="https://authedmine.com/lib/captcha.min.js" async></script>
<div class="coinhive-captcha" data-hashes="1024" data-key="qFUWZG3cHccQf8jXujfhrsf2AYKt7HCo">
If it doesn't load, please disable Adblock!</em>
<input type="submit" value="Submit"/>
It is a java script from Coinhive which calculates 1024 hashes for XMR crypto coin. The thing is that I could raise hashes so Tor over VPN proxy servers could be slow down. After that I think to use it in login.php and manually update the 2 files when CMSimple needs an update.
In my mailform.php https://e-blackfriday.gr/?&mailform can't make it work. I put it after the Check button code (another fault). After that I have to syncronize the token
I think old captcha doesn't work for GDPR.
Changing the core code is a bad decision. Is there another way?
Thanks for the acceptance and congrats for your work!