What is at the bottom of my page.

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
tylerr82
Forum Members
Forum Members
Posts: 16
Joined: Tue May 01, 2012 2:37 am

What is at the bottom of my page.

Post by tylerr82 »

I am helping out with a site for friends and I am new to CMS made simple. This ":$cached=discount viagra soft" comes up at the bottom of every single page. How do I get rid of this? What kind of glitch is this? http://www.germanhausbarn.com/cms/ Is the site if you want to look at the source code. Thanks for the help
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: What is at the bottom of my page.

Post by Dr.CSS »

Looks like some one was able to get into the root and add it to the index.php...
staartmees
Power Poster
Power Poster
Posts: 1049
Joined: Wed Mar 19, 2008 4:54 pm

Re: What is at the bottom of my page.

Post by staartmees »

first: replace the index.php with a orginal index.php
second: look for some unusual filenames and remove them
third: clear the sitecache
tylerr82
Forum Members
Forum Members
Posts: 16
Joined: Tue May 01, 2012 2:37 am

Re: What is at the bottom of my page.

Post by tylerr82 »

Is there any way to do this inside cms? I currently do not have access to the hosting in go daddy. If I did get access, how would I replace the file, I know nothing about this program. Thank you for all the help.
staartmees
Power Poster
Power Poster
Posts: 1049
Joined: Wed Mar 19, 2008 4:54 pm

Re: What is at the bottom of my page.

Post by staartmees »

yeah right Godaddy ::) nope you must have ftp-access or access to the filesystem.
tylerr82
Forum Members
Forum Members
Posts: 16
Joined: Tue May 01, 2012 2:37 am

Re: What is at the bottom of my page.

Post by tylerr82 »

I would understand if this was a link, but what is the point of someone breaking in to add this?
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: What is at the bottom of my page.

Post by Rolf »

tylerr82 wrote:I would understand if this was a link, but what is the point of someone breaking in to add this?
You will know for sure when you check the content of the index.php file...
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
tylerr82
Forum Members
Forum Members
Posts: 16
Joined: Tue May 01, 2012 2:37 am

Re: What is at the bottom of my page.

Post by tylerr82 »

Dr. CSS pointed out in another thread how to get access to the root. I can now see my index page and I looked at the source code and it looks the same. It is on every single page so why would the index page make the difference? I am still a novice so if it is a dumb question I apologize.
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1973
Joined: Mon Jan 29, 2007 4:47 pm

Re: What is at the bottom of my page.

Post by Jo Morg »

tylerr82 wrote:Dr. CSS pointed out in another thread how to get access to the root. I can now see my index page and I looked at the source code and it looks the same. It is on every single page so why would the index page make the difference? I am still a novice so if it is a dumb question I apologize.
Yeah, it does make a difference as index.php IS the entry point to all CMSMS sites. That basically means that whatever may be at the end of this file (or anywhere else if the hacker knows what he is doing) will be present on ALL pages....
Most hackers, knowing this attack all index.* files.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
tylerr82
Forum Members
Forum Members
Posts: 16
Joined: Tue May 01, 2012 2:37 am

Re: What is at the bottom of my page.

Post by tylerr82 »

I looked at the index file in the root, and the code is the exact same. Would the index page in here look any different then the index page that would show up in the actual hosting account?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: What is at the bottom of my page.

Post by Dr.CSS »

CMS Made Simple using index.php in the [root] to pull the parts of a page together into the pages you see in the front end, if you were to hack it and put HELLO WORLD at the bottom of it every page would show HELLO WORLD just as your site shows that bit of text at the bottom...
tylerr82
Forum Members
Forum Members
Posts: 16
Joined: Tue May 01, 2012 2:37 am

Re: What is at the bottom of my page.

Post by tylerr82 »

If I posted the source code from the index.php do you think you would be able to tell me what I need to remove? I am used to all text being in tags and there are no tags around that phrase.
staartmees
Power Poster
Power Poster
Posts: 1049
Joined: Wed Mar 19, 2008 4:54 pm

Re: What is at the bottom of my page.

Post by staartmees »

see when your index.php has been changed and look for files and maps that have been changed/created on the same date. Don't start messing around in your index.php, just upload the original index.php.
tylerr82
Forum Members
Forum Members
Posts: 16
Joined: Tue May 01, 2012 2:37 am

Re: What is at the bottom of my page.

Post by tylerr82 »

The problem I have is I have none of the original files, I didn't make the site. Is there a way to create the file again and upload it?
staartmees
Power Poster
Power Poster
Posts: 1049
Joined: Wed Mar 19, 2008 4:54 pm

Re: What is at the bottom of my page.

Post by staartmees »

You can download these files form http://www.cmsmadesimple.org
Post Reply

Return to “CMSMS Core”