Server protection

Those errors are caused by the JS challenge protection, is it possible to disable it & how to directly upload files to the server without a browser (in c++)

LogTemp: Warning: Upload success: <html><body><script type="text/javascript" src="/aes.js" ></script><script>function toNumbers(d){var e=[];d.replace(/(..)/g,function(d){e.push(parseInt(d,16))});return e}function toHex(){for(var d=[],d=1==arguments.length&&arguments[0].constructor==Array?arguments[0]:arguments,e="",f=0;f<d.length;f++)e+=(16>d[f]?"0":"")+d[f].toString(16);return e.toLowerCase()}var a=toNumbers("f655ba9d09a112d4968c63579db590b4"),b=toNumbers("98344c2eee86c3994890592585b49f80"),c=toNumbers("0fe457c57ff5cfa6b744c41582edd1f4");document.cookie="__test="+toHex(slowAES.decrypt(c,2,a,b
))+"; max-age=21600; expires=Thu, 31-Dec-37 23:55:55 GMT; path=/"; location.href="https://sometricks.rf.gd/upload.php?i=2";</script><noscript>This site requires Javascript to work, please enable Javascript in your browser or use a browser with Javascript support</noscript></body></html>


It’s not possible to disable this system.

Your use case is one of the cases the security wants to stop, so everything is working perfectly.

7 Likes

Nope it is. i can’t upload my files trough my software because there is a protection that make it required to have a working browser to transfer files trough.

The fact that you cannot interact with your website using something that is not a browser, means that it is working properly, because the hosting doesn’t allow APIs and blocks everything that is not a browser.

Is this hard to understand? Or you cannot comprehend why things might not work as you had expected?

7 Likes

I managed to achieve what i want using ftp but using it was pain & not reliable.
Is it possible to turn that protection with a paid plan ?

Yes. Premium hosting doesn’t block non-browser clients and protects your websites in less obstructive ways. However I’d still recommend checking iFastNet’s terms of service to make sure you’re allowed to do what you want.

8 Likes

Please note that both free and paid hosting are website hosting. That means the hosting is intended for hosting websites, and that means that the storage space we provided is intended to be used for regular website content only. Not for file hosting, file sharing, backup storage or automated uploading.

Similarly, our FTP server is intended for website administration only. There are limits in place to block automated uploads.

7 Likes