Archive for the ‘Operating System’ Category

Fixing permissions on your Joomla! site

Wednesday, June 30th, 2010 by Rafael Corral

I am writing this post as a tip, because I tend to use this more often than not. There is only one requirement – you must have shell access to your server.

These are the two commands to run:
find /path/to/joomla/root/ -type d -exec chmod 755 {} \;
find /path/to/joomla/root/ -type f -exec chmod 644 {} \;

Replace the path “/path/to/joomla/root/” with the path to your website’s Joomla! root. It is OK to simply use the relative path.

The first line will change the permissions for all folders to 755 and the second one will change the permissions of all files to 644.

One last thing to know about this – and this is just my experience from working with servers that are running cPanel/WHM – normally, these servers have the root of your Joomla site located under a folder called “public_html”. When you run the command for directories, you need to do something like this for the path: “public_html/*” (note the asterisk).

Anyway, enjoy!

Hardcore Javascript browser & computer fingerprinting

Thursday, February 18th, 2010 by Rafael Corral

This post contains a POC (Proof of concept) on how to detect if a user is using the same computer as they have previously used before. This can be useful if you want to register a user’s computer for a certain functionality that your website may have. It can also be used to only allow one computer to view private content of a site and has many other applications aside from being really cool!

The way the script works, it has functions to retrieve the following:

  • Browser type
  • Display width & height, color depth and available height
  • The plugins that are installed on the browser
  • The operating system the browser is running on

Read the rest of this entry »

Stop the OSX 10.4.7 Dashboard advisory from phoning home

Saturday, July 8th, 2006 by Jonathan Shroyer

I just saw this little script to stop the Dashboard Advisory feature in OSX 10.4.7, and thought I would share. If don’t know why someone would would want to do this, it’s because Apple decided to put in a little program to see if your widgets are up to date and automatically update them for you if needed. I personally like this feature as I usually have 25 open at once and it takes too long to do manually. Of course, many people feel this is an invasion of their privacy, so if you feel Apple is spying on you, read on.

First of all, make sure you know what you are doing with the Terminal or you could screw up your OS pretty badly. If you are fearless (but fearful of someone finding out what goods you have) then type the following command in Terminal.

sudo mv /System/Library/LaunchDaemons/com.apple.dashboard.advisory.fetch.plist /System/Library/

TAAAA-DAAAAA!!!! No more ’spyware’ on your mac. You may now go about your questionable downloading with a false sense of security. Enjoy!