SMF Development > Fixed or Bogus Bugs

Trash files in Forum base directory

(1/3) > >>

jcollake:
For years now I've ran SMF on a Windows IIS 6 web server. For ALL of that time I've periodically seen trash files get created in the base directory of the Forum. These files are typically named using unicode characters that my FTP client and/or server have trouble handling. I am unable to download them and see what's inside, though sometimes they are named characters that I can access, so I'll be sure to stay on the lookout for one I can view in the future. I keep my forum isolated on a different server from my primary dedicated linux box, hence it's a mere shared server that leaves me with no other ways to access these files.

See screenshot.


What in the world are these files? Note that their filenames may actually contain characters other than what my FTP client shows, as I'm unable to delete or access them (no permission issues, is due to presumed unicode filenames).

Running SMF 2 RC5

SlammedDime:
Have you tried using any other FTP clients to download the files?  Can you ask the host to do a cat on the files to see the output?

jcollake:
On closer inspection it is the FTP server that is refusing to serve up the files, but I was able to access one of many using the host's web based file manager.

The contents are definitely related to SMF, no trojan or anything like that. Since they contain a large number of user variables for my Admin account, including a hashed password, I have truncated it:


--- Code: ---<?php if (!defined('SMF')) die; if (1303418599 < time()) $expired = true; else{$expired = false; $value = 'a:63:{s:9:"id_member"; ... CONTINUES WITH ALL? USER VARIABLES FOR MY ADMIN ACCOUNT

--- End code ---

Thanks ;).

SlammedDime:
Looks like files that should belong in the cache directory.  Can you check Settings.php and make sure the cache directory is set properly, and also that it exists?

jcollake:
It is set correctly, exists, and is populated with other cache files created today. I figured best to provide some evidence just for verification, so here's a screenshot ;).



Navigation

[0] Message Index

[#] Next page

Go to full version