Modifying mainfile.php

Chapter 16. Modifying mainfile.php

The mainfile.php file in the root directory of PHP-Nuke contains all commonly used functions and plays a crucial role in PHP-Nuke. We devote this chapter to a closer investigation of this central file. We show:

Warning Warning
 

Most of the changes discussed in this chapter have direct or indirect security implications (see Chapter 23). No line in mainfile.php was put there without some reason, the reason being often security-related. Whenever you comment a line that seems to do a too restrictive check on user input, for example, bear in mind that in the worst of all cases you may run the risk of being hacked because of the absence of exactly a check like that.

 

Site Info v2.2.2

Last SeenLast Seen
Server TrafficServer Traffic
  • Total: 338,817,336
  • Today: 66,567
Server InfoServer Info
  • Oct 16, 2017
  • 07:27 pm PDT
 
 

Daily Inspiration