Vous n'êtes pas identifié(e).
Un simple script pour installer la dernière version de flash sous Kali Linux 1.0.5
#!/bin/bash
#
# KaliFlash.sh
#
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
# MA 02110-1301, USA.
#
#Source Alien And abortSecurit-E Modified by IceF0x
red='\e[0;31m'
NC='\e[0m'
if [ "$(whoami)" != root ]
then
echo -e "$red Error:$NC Vous devez être root pour pouvoir exécuter ce script !"
exit 1
fi
echo ''' _ __ _ _ ___ _____ _ _ ____ _ _
| |/ / / \ | | |_ _| ___| | / \ / ___|| | | |
| '' / / _ \ | | | || |_ | | / _ \ \___ \| |_| |
| . \ / ___ \| |___ | || _| | |___ / ___ \ ___) | _ |
|_|\_\/_/ \_\_____|___|_| |_____/_/ \_\____/|_| |_|
'''
echo -e "$red [+]$NC Valid on 32 & 64 bits Kali Linux 1.0.5"
echo -e "$red [+]$NC Clean Old Player"
apt-get purge flashplugin* gnash* mozilla-plugin-gnash swfdec*
rm -f /usr/lib/mozilla/plugins/*flash*
rm -f /usr/lib/mozilla/plugins/*flash*
rm -f ~/.mozilla/plugins/*flash*so
rm -rfd /usr/lib/nspluginwrapper
cd
echo -en "$red [+]$NC Press any key for continue >"
read opt
echo -e "$red [+]$NC Install Last Player"
mkdir -p ~/.mozilla/plugins
if [ -d "Flash" ]; then
cd Flash
else
mkdir Flash
cd Flash
fi
if [ arch != "i686" ]
then
wget -q http://fpdownload.macromedia.com/get/flashplayer/current/licensing/linux/install_flash_player_11_linux.x86_64.tar.gz
else
wget -q http://fpdownload.macromedia.com/get/flashplayer/current/licensing/linux/install_flash_player_11_linux.i386.tar.gz
fi
echo -e "$red [+]$NC Extracting files... "
tar xfz install_flash_player_11_linux*.tar.gz
echo -e "$red [+]$NC Files extracted !"
cp -f libflashplayer.so ~/.mozilla/plugins/
cp -f libflashplayer.so /usr/lib/mozilla/plugins
cd
rm -rf Flash
echo -e "$red [+]$NC Successfully !"
Utiliser des logiciels propriétaires, c'est comme les plats préparés, on est incapable de dire les conservateurs qu'ils contiennent, on dira toujours que c'est bon, mais ça ne remplacera jamais le repas fait maison par sa maman.
]:D #! Crunchbang & Archlinux GNU/Linux User ]:D
Hors ligne