Announcement

#1 2021-01-13 19:32:59

carrabta
Member
2020-11-28
5

Compromised index.php

Dear all,
I think I screwed up my index.php in 'galleries/'.
I was testing Piwigo recently installed with some test albums and photos, everything was working well. So I decided to remove all those tests and copy in all my photos (about 400Go) in galleries.
So prior to remove everything (rm -r *), I moved 'index.php' to the folder above 'galleries/'.
I copied all my photos in 'galleries/' then moved back index.php to 'galleries'....

So now, when accessing the gallery from Piwigo, I just have the listing of the folder above it !....
I guess that when I moved 'index.php', I scrapped the 'index.php' in the folder above it.

Would it be possible for someone to send me his 'index.php' (in the folder where 'galleries/' is) from a fresh install ?
Or any other solution I may try ?

Thanks for the assistance,
Tang'

====
Piwigo 2.10.2
Operating system: FreeBSD
PHP: 7.2.34 (Show info) [2021-01-13 18:32:23]
MySQL: 5.5.5-10.4.17-MariaDB [2021-01-13 18:32:23]
Graphics Library: ImageMagick 6.9.11-6

Offline

 

#2 2021-01-13 22:24:04

executive
Member
2017-08-16
1214

Re: Compromised index.php

just download piwigo, unzip, and replace index.php

https://piwigo.org/get-piwigo

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact