ipbfuck Posted October 2, 2015 Share Posted October 2, 2015 Yes, i know, maybe is a newbie question, but i've seen now hooks.txt in plugins directory, and inside this txt file is present a strangest code. Someone can explain the utility of this file and / or of this code? Can i remove? Link to comment Share on other sites More sharing options...
Kevin Carwile Posted October 2, 2015 Share Posted October 2, 2015 If you remove it, it will just be recreated automatically. It is an encrypted file that contains information on hooks that are needed by applications to work correctly. It is saved as an encrypted text file for performance reasons. Link to comment Share on other sites More sharing options...
ipbfuck Posted October 2, 2015 Author Share Posted October 2, 2015 ok, thanks Kevin! Link to comment Share on other sites More sharing options...
Daniel F Posted October 3, 2015 Share Posted October 3, 2015 It was encrypted because of security reasons. Since it is a txt file, everybody could access it via the web if you don't disallow the access via htaccess But this will be changed in IPS 4.1. The hooks.txt was renamed to hooks.php and it won't be encrypted anymore. Link to comment Share on other sites More sharing options...
ipbfuck Posted October 3, 2015 Author Share Posted October 3, 2015 ok, but i don't have plugin, and it contain encrypted data... this cause preoccupation yes, an htaccess for deny access, or (best) a php is a good idea thanks, and regards! Link to comment Share on other sites More sharing options...
Daniel F Posted October 3, 2015 Share Posted October 3, 2015 Pages and Commerce have also hooks, so if you use one of this app, the file would have some content. Link to comment Share on other sites More sharing options...
ipbfuck Posted October 3, 2015 Author Share Posted October 3, 2015 I've entire suite, except commerce (so yes, I've pages) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.