Lord777
Professional
- Messages
- 2,577
- Reaction score
- 1,561
- Points
- 113
This tutorial is based on the Offensive Security WiFu course which is avaiable only in ".swf" slackwave files (the videos).
Read Also : Offensive Security OSWP WiFu Course
So let's start (debian tested
)
Make A Files With Mime Type
Setup Firefox & Change XML File
In firefox headover to "about:config" and disable "plugins.http_https_only", just do a double click so that the value is false.
Then open /usr/share/mime/packages/freedesktop.org.xml
Find following text:
<mime-type type="application\/vnd.adobe.flash.movie">
And replace it with :
<mime-type type="application\/x-shockwave-flash">
Note: You need superuser permission so use sudo
Update mime database:
Install Flashplayer
Before we begin, make sure you create the directory flashplayer so that you don't face any error.
Download Flashplayer from here :
Make flashplayer directory & copy file to it:
Untar the file:
For the following command make sure you don't change directory and you must be in the "flashplayer" directory which you have created type "ls" to see files. there must be a folder called "usr" that's perfect so let's start:
And please make sure you have installed the firefox browser otherwise it won't work.
Read Also : Offensive Security OSWP WiFu Course
So let's start (debian tested
Code:
touch ~/.mime.types
echo "application/x-shockwave-flash swf swfl" > ~/.mime.types
In firefox headover to "about:config" and disable "plugins.http_https_only", just do a double click so that the value is false.
Then open /usr/share/mime/packages/freedesktop.org.xml
Find following text:
<mime-type type="application\/vnd.adobe.flash.movie">
And replace it with :
<mime-type type="application\/x-shockwave-flash">
Update mime database:
Code:
sudo update-mime-database /usr/share/mime
Before we begin, make sure you create the directory flashplayer so that you don't face any error.
Download Flashplayer from here :
Make flashplayer directory & copy file to it:
Code:
mkdir flashplayer
mv flash_player_npapi_linux.x86_64.tar.gz flashplayer/; cd flashplayer
Untar the file:
Code:
tar xfv flash_player_npapi_linux.x86_64.tar.gz
For the following command make sure you don't change directory and you must be in the "flashplayer" directory which you have created type "ls" to see files. there must be a folder called "usr" that's perfect so let's start:
Code:
sudo cp -R usr/bin/flash-player-properties /usr/bin/flash-player-properties
sudo cp -R usr/lib/kde4/kcm_adobe_flash_player.so /usr/lib/kd4/kcm_adob_flash_player.so
sudo cp -R usr/lib64/kde4/kcm_adob_flash_player.so /usr/lib64/kde4/kcm_adob_flash_player.so
sudo cp -R usr/share/applications/flash-player-properties.desktop /usr/share/applications/flash-player-properties.desktop
sudo cp -R usr/share/icons/hicolor/16x16/apps/flash-player-properties.png /usr/share/icons/hicolor/16x16/apps/flash-player-properties.png
sudo cp -R usr/share/icons/hicolor/22x22/apps/flash-player-properties.png /usr/share/icons/hicolor/22x22/apps/flash-player-properties.png
sudo cp -R usr/share/icons/hicolor/24x24/apps/flash-player-properties.png /usr/share/icons/hicolor/24x24/apps/flash-player-properties.png
sudo cp -R usr/share/icons/hicolor/32x32/apps/flash-player-properties.png /usr/share/icons/hicolor/32x32/apps/flash-player-properties.png
sudo cp -R usr/share/icons/hicolor/48x48/apps/flash-player-properties.png /usr/share/icons/hicolor/48x48/apps/flash-player-properties.png
sudo cp -R usr/share/kde4/services/kcm_adobe_flash_player.desktop /usr/share/kde4/services/kcm_adobe_flash_player.desktop
sudo cp -R usr/share/pixmaps/flash-player-properties.png /usr/share/pixmaps/flash-player-properties.png
sudo cp -R libflashplayer.so /usr/lib/mozilla/plugins/libflashplayer.so
And please make sure you have installed the firefox browser otherwise it won't work.