Showing posts with label debian. Show all posts
Showing posts with label debian. Show all posts

Play swf file(Macromedia Flash) on Ubuntu / Debian Linux






swfdec-gnome is a very good Tool to play SWF files (Macromedia Flash) on GNOME. This package contains programs to integrate Flash functionality into the GNOME desktop. It's main application is swfdec-player, a stand-alone viewer for Flash files. It also contains swfdec-thumbnailer, a program that provides screenshots for files to display in the Nautilus file manager.

How to Install in Ubuntu
Open a Terminal
$ sudo apt-get install swfdec-gnome
or use Synaptic package manager

Install PHP GD (PHP Graphics) support in Ubuntu / Debian

PHP is not limited to creating just HTML output. It can also be used to create and manipulate image files in a variety of different image formats, including GIF, PNG, JPEG, WBMP, and XPM. Even more convenient, PHP can output image streams directly to a browser. You need to install GD Library for this purpose. Simply you can do this.
If you have a LAMP (PHP. APACHE and Mysql) Installation in your System , you can install GD library using the following .

in Ubuntu /Debian Install the package


$ sudo apt-get install php5-gd ( or use synaptic for installing this package )

Now Restart Your apache

$sudo /etc/init.d/apache2 restart

Fix for weak OpenSSL/OpenSSH keys in Debian

A recent vulnerability was found in the OpenSSL package as provided by Debian and Debian-based Linux distributions, such as Ubuntu, that broke the effectiveness of the OpenSSL PRNG (Predictable Random Number Generator). This vulnerability caused OpenSSL to generate weak keys for anything relying on OpenSSL, including SSL certificates, OpenSSH keys, and OpenVPN keys.



Debian and Ubuntu have already issued updates that correct the flaw and provide a blacklist of keys known to be weak. Unfortunately, exploits to take advantage of this flaw exist as well. Likewise, while the affected OpenSSL packages are only on Debian and Debian-derived distributions, it could affect other operating systems as well if those keys were generated on a Debian system. For instance, if your system provides SSH access to external users, and one of them created an SSH keypair using Debian or Ubuntu, then your system, or more particularly those user accounts, should be considered compromised, whether it is running Mandriva, Fedora, or even a BSD variant.

The Debian team has provided a tool that can be used to determine if any such weak keys exist on the system, and it can be run by anyone, regardless of whether they use Debian or not. To begin, download the dowkd.pl perl script and use it to test SSH keys of the host system:

$ cd ~/tmp


$ wget http://security.debian.org/project/extra/dowkd/dowkd.pl.gz


$ wget http://security.debian.org/project/extra/dowkd/dowkd.pl.gz.asc


$ gpg --keyserver subkeys.pgp.net --recv-keys 02D524BE


$ gpg --verify dowkd.pl.gz.asc


$ gunzip dowkd.pl.gz


$ perl dowkd.pl host localhost

This will download the dowkd.pl perl script and also import a Debian security team member’s key from subkeys.pgp.net. If the archive verifies okay with gpg, unarchive it, and then run the script in host-checking mode against the localhost.

If the script detects that the host key is weak, it will indicate such. Next, run the script against user keys on the system:

# perl dowkd.pl user

This check should be run as root in order to obtain access to every user’s keys. The script will check the keys and also the authorized_keys file and will alert you if the fingerprint to a remote host indicates a vulnerable key as well. If you wish to check a specific user, append the user name to the command:

# perl dowkd.pl user ruchi

If the script indicates that any keys are weak, they should be removed and regenerated immediately