Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> Was My Site Data Copied By Someone?, Same index page
Quatrux
post Feb 13 2008, 07:01 PM
Post #1


the Q
Group Icon

Group: [HOSTED]
Posts: 1,053
Joined: 13-July 05
From: Lithuania, Vilnius
Member No.: 7,059



I just found this site: asta-killer dot com

and as you can see, it's a copy of mine index on astahost: http://qzone.astahost.com

the strange thing is that when you enter something like: asta-killer dot .com/list/
a directory or file which doesn't exist, you get an error, but the error is from my php script on astahost..

So that means that that index file isn't only copied html, but also somehow they got my php source? what a hell is that? then OK I thought it is a remote thing, but it's impossible on my account to get such an error at all, because the file exists and it is including on any error..

So somebody hacked my account on Astahost in a quite easy way? got the php source and the .htaccess file, due to that error could only evaluate through a my .htaccess file: ErrorDocument 404 /e.do?error=404

but the file which can't be found is not in the public_html dir, so what a hell is that? I just found it through google.. ohmy.gif

Any ideas? it also can't include the file through php, because I think it has my absolute path..

Notice from OpaQue: Adminstrator:
Please choose Title and Description carefully.

Title: The Title should be descriptive and
should summarize your entire post.

Description: The description should be used
to add further details/information about your post.

Thank you.
Go to the top of the page
 
+Quote Post
toby
post Feb 13 2008, 10:02 PM
Post #2


Super Member
Group Icon

Group: Members
Posts: 510
Joined: 29-September 06
Member No.: 16,228



If the php daemon can read it, other people on the server can read it. It's more likely to be a htaccess on their website, copying each request to your website.
Go to the top of the page
 
+Quote Post
Quatrux
post Feb 13 2008, 10:22 PM
Post #3


the Q
Group Icon

Group: [HOSTED]
Posts: 1,053
Joined: 13-July 05
From: Lithuania, Vilnius
Member No.: 7,059



so what can I do about it to prevent this kind of stuff???
Go to the top of the page
 
+Quote Post
yordan
post Feb 14 2008, 10:53 AM
Post #4


Way Out Of Control - You need a life :)
Group Icon

Group: [MODERATOR]
Posts: 2,042
Joined: 16-August 05
Member No.: 7,896



Just a funny suggestion : if you could suffer a downtime for your official site, I woul try temporary renaming your main folders (for instance rename "forum" to "rename_to_forum") and see what would happen to the pirated site.
Another thing would be chown and chmod the php files (chmod go-r) in order to prevent others from reading.
The last thing woud be to password the folders (that's done in .htaccess as far as I remember). ohmy.gif
Good luck
Yordan
Go to the top of the page
 
+Quote Post
Quatrux
post Feb 14 2008, 11:37 AM
Post #5


the Q
Group Icon

Group: [HOSTED]
Posts: 1,053
Joined: 13-July 05
From: Lithuania, Vilnius
Member No.: 7,059



To tell the truth, I've done much of those things, my main PHP files are stored not in the public_html folder, I usually password protect my data directories with a .htaccess file, but I do it from the CPanel which is the same if they are in the public_html.. and I never put my passwords in a php file without some encryption which I write myself and I store the passwords with a very good hash in a mysql database if needed, I even only give permission for a mysql user only to SELECT if I am not logged in as an Admin which has a different user with UPDATE and etc. rights.. smile.gif But I still hate if some sites somehow use the content and put their ads and link to my sites biggrin.gif and the strangest thing is that somehow they even could get the file with the php source.. :|

The chmod thing would really be great, but what I always hate! is that the FTP user and PHP user on the same account are different users and I usually use FTP to chmod and upload my files or if I need to edit a file, I do it through FTP, so on different users chmod needs to be different, if only I could use FTP with the user of PHP that it wouldn't need to be 666 or 777 to write to and etc. You know what I mean..

I just think about all those sites by newbies which aren't protected and how easy it can be to hack them.. sad.gif
Go to the top of the page
 
+Quote Post
yordan
post Feb 14 2008, 01:45 PM
Post #6


Way Out Of Control - You need a life :)
Group Icon

Group: [MODERATOR]
Posts: 2,042
Joined: 16-August 05
Member No.: 7,896



QUOTE(Quatrux @ Feb 14 2008, 12:37 PM) *
The chmod thing would really be great, but what I always hate! is that the FTP user and PHP user on the same account are different users and I usually use FTP to chmod and upload my files or if I need to edit a file, I do it through FTP, so on different users chmod needs to be different, if only I could use FTP with the user of PHP that it wouldn't need to be 666 or 777 to write to and etc. You know what I mean..

Sorry, I was thinking about the Unix command line, which is governed by the ssh access here at astahost. I can guess that you have no ssh access, so let's forget about the chmod thing.
Go to the top of the page
 
+Quote Post
ethergeek
post Feb 14 2008, 02:59 PM
Post #7


Premium Member
Group Icon

Group: [HOSTED]
Posts: 393
Joined: 9-March 07
From: Tucson, AZ
Member No.: 20,794



QUOTE(yordan @ Feb 14 2008, 06:45 AM) *
Sorry, I was thinking about the Unix command line, which is governed by the ssh access here at astahost. I can guess that you have no ssh access, so let's forget about the chmod thing.


You can still use the file manager to chmod files if I remember correctly.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Good Places To Advertise Your Site(20)
  2. Flash Site Software(12)
  3. A Solution For Disabled Right Click On Web Page(20)
  4. Convert Fat32 To Ntfs Without Data Loss (dos-mode)(7)
  5. Www.modthesims2.com - Sims 2 Mods Site(8)
  6. Disable /change The Find In Page Sound In Firefox(1)
  7. [PHP + MySQL] Encrypting Data(11)
  8. How To Increase Your Google Page Rating ?(14)
  9. Add A Forum To Your Site(23)
  10. Choosing A Different Joomla Start Page(5)
  11. Games For Samsung D900(3)
  12. Data Recovery(15)
  13. What Is The Best Photo Sharing Site?(17)
  14. Skemb -- Site Preview(1)
  15. How To Create Your Own Proxy Site (free And Easy)(13)
  1. How To Create A "user Profile" Page.(14)
  2. Does This Site Mean Anything To Us…i Don’t Know U Tell Me?(4)
  3. My Site Got Hacked!(10)
  4. Free Site(5)
  5. Hacked By Dumansal(2)
  6. A Site I Put Together Over The Last 3 Days(5)
  7. Hard Drive Data Recovery Review(7)
  8. Help Me Host My Site On My Pc(4)
  9. Center Update(5)
  10. Nice Models And Free Models, New Site!(5)
  11. Free Fast Web Submission(1)
  12. Need To Copy An Entire Site..(7)
  13. Site Language(9)


 



- Lo-Fi Version Time is now: 12th October 2008 - 09:31 AM