PDA

View Full Version : oscommerce catagory box hijacked


mleaver
12-1-05, 11:07 PM
I know I know, I got sloppy getting ready for schools semester finals and left my presmissions open. Anyways, I need to rewrite the catagories to remove the added script in there, can someone point me to the file location. I can't seem to find it. Thanx, Marlee. :eek:

stevel
12-4-05, 07:57 PM
Well, there are a couple of possibilities. The usual one is that you have enabled the "Cache" feature without changing the cache folder from the default of /tmp. Otherwise, the categories come from includes/boxes/categories.php.

mleaver
12-4-05, 10:20 PM
Thanx again Stevel , we are back in business. My Php class starts next semester, so with all this school of hard knocks stuff I hope to have a head start on them.

stevel
12-5-05, 02:56 PM
Did someone actually add code to the PHP file on the server? What kind of code?

zombbb
12-7-05, 10:15 AM
Try to hold your oscommerse up to date.

mleaver
12-18-05, 12:34 AM
I didn't copy the code, but I did find it and marked the date.It worked under the category/product links, the homepage looked normal but when a catagory or product was clicked, it forwarded to another website, one that was from powweb no less:( My ticket with a complaint to tech went nowhere, but now school is out and Christmas sales are good. Thanx again for your help Steve.

stevel
12-18-05, 10:01 AM
I think you got bit by the shared cache files, not a hack.

mleaver
12-18-05, 04:27 PM
Bite, hack . Neither leave a good taste in my mouth.I seemed to have fended them off for now. Will be back though with more questions for the deep. Thanx again for all your help Steve.