Mar 21

There is a built-in bug connected to the DiskUsage function of cPanel. It allows you to list folders which should not be seen by unauthorized users.
It simply needs you to submit the Url in browser:

http://www.example.com:2082/frontend/x/diskusage/index.html?showtree=/etc

Now you will see the folders only which is inside /etc

exapmle :

Directory Space Used:
etc/Pegasus 0.00 Meg
etc/X11 0.07 Meg
etc/X11/applnk 0.00 Meg
etc/X11/fs 0.00 Meg
etc/X11/serverconfig 0.00 Meg
etc/X11/starthere 0.03 Meg
etc/X11/sysconfig 0.00 Meg

other example to see the folders in /var :

http://www.example.com:2082/frontend/x/diskusage/index.html?showtree=/var

that will shows you folders inside /var , like :

var/www/cgi-bin 0.00 Meg
var/www/error 0.19 Meg
var/www/error/include 0.01 Meg
var/www/html 0.00 Meg
var/www/icons 0.89 Meg
var/www/icons/small 0.25 Meg
var/yp 0.02 Meg
var/yp/binding 0.00 Meg

…etc

another example, you can see the folders which is been protected by a deny rule or authentication for password protected folders,
for example if you type :

http://www.example.com:2082/frontend/x/diskusage/index.html?showtree=/home/user/.htpasswds

You will see all the folders inside although you are not supposed to.

example:

home/user/.htpasswds/public_html 0.01 Meg
home/user/.htpasswds/public_html/admin 0.00 Meg
home/user/.htpasswds/public_html/admin/login 0.00 Meg


tested on / cPanel version 11.18.3

Solution:
/var/cpanel/features/default is the file that handles the features of the cpanel.

Add to it:
diskusageviewer="0"

Then restart the cPanel:
/etc/init.d/cpanel restart

This way you will disable the option since it is not THAT important but is a huge security hole.

Mar 21

Many Ubuntu users have problems with their wireless adapter.

Here is the ultimate solution for the problem:

The key application is called wicd.

Before you install it, make sure you have no automated settings for your network interfaces:

sudo vi /etc/network/interfaces

Make sure the only entries are:

auto lo
iface lo inet loopback

After you have set them - you are ready to start!

First you need to add the repository of the wicd to the sources list of the apt-get.

There are two ways to do it:

1. sudo vi /etc/apt/sources.list

Enter inside:

deb http://apt.wicd.net gutsy extras

Save it and type:

sudo apt-get update

Afterwards:

sudo apt-get install wicd

It will completed the installation for you and you can find the wicd application under the Applications - Internet.

Just start it and you will find a very easy to use wireless manager.

2. Select: Settings > Repositories > Third Party Software > Add

Add to it:

deb http://apt.wicd.net gutsy extras

Then, click Reload. After the packages are updated, select wicd and right click on it - Install. Then click Apply and you are ready.

It will completed the installation for you and you can find the wicd application under the Applications - Internet.

Just start it and you will find a very easy to use wireless manager.

Mar 20

As you might already know, there is a testing version of K Desktop Environment 4 released.

It is as expected full with bugs and problems to solve. Here is one:

After you install the KDE4, try to change the wallpaper by selecting a new desktop from the ones available with the installation. For some reason it will show them properly and will allow you to save them even though they do not exist.

When you logout and restart the KDE session, you will see the Plasma Workspace application segmentation fault. It will not allow you to even view anything.

Here is a fast solution. Use the default X Desktop Environment (KDE or GNOME) or simply console to navigate to:

/home/username/.kde4/share/config

Edit or remove the file plasma-appletsrc. This is the file that is responsible for the KDE variables like wallpaper and many other. If you are not sure what to change, you can delete it - the KDE will create a new one shortly after you change any other option.

Hosted by TMDHosting.com
linux top solutions : programming top solutions