Jump to content

hooks.txt inside plugins directory: this file contain strange/encrypted code :/

Featured Replies

Posted

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?

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.

 

  • Author

ok, thanks Kevin!

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.

  • Author

ok, but i don't have plugin, and it contain encrypted data... this cause preoccupation :p

yes, an htaccess for deny access, or (best) a php is a good idea :)

thanks, and regards!

Pages and Commerce have also hooks, so if you use one of this app, the file would have some content.

  • Author

I've entire suite, except commerce (so yes, I've pages) :)

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.