Errors Fix (32 bit)  07/01/2016



E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/cache/apt/archives/
sudo rm /var/lib/apt/lists/lock
sudo rm /var/cache/apt/archives/lock

Fix Sound:
apt-get install alsa-utils -y

Fix VLC:

cp /usr/bin/vlc /usr/bin/vlc-backup

needle=$(objdump -d /usr/bin/vlc | grep euid | tail -1 | awk '{print "\x"$2"\x"$3"\x"$4"\x"$5"\x"$6;}')

sed -ir "s/$needle/\xb8\x01\x00\x00\x00/" /usr/bin/vlc


Run Google Chrome:

first download google chrome this tutorial work for google-chrome version 41first
download google chrome this tutorial work for google-chrome version 41

than go to : gedit /opt/google/chrome/google-chrome


find this line exec -a "$0" "$HERE/chrome" "$@"

and change to exec -a "$0" "$HERE/chrome" "$@" --user-data-dir



Solve airmon-ng issues by a simple modfication of NetworkManager.conf :

sudo leafpad /etc/NetworkManager/NetworkManager.conf

 Add the following lines to your file
unmanaged-devices=interface-name:wlan0mon;interface-name:wlan1mon;interface-name:wlan2mon;interface-name:wlan3mon;interface-name:wlan4mon;interface-name:wlan5mon;interface-name:wlan6mon;interface-name:wlan7mon;interface-name:wlan8mon;interface-name:wlan9mon;interface-name:wlan10mon;interface-name:wlan11mon;interface-name:wlan12mon                               # 30/08/2015: avoid conflicts with airmon-ng -




Enable monitor mode:

airmon-ng check kill
airmon-ng start wlan0
airodump-ng wlan0mon


Install Ufonet:


first download it & save it in desktop  :


 Open Terminal:

cd Desktop
cd ufonet-master
cd ufonet

./ufonet --help
./ufonet --version
./ufonet --download-zombies

./ufonet --gui

for zombies search in gui page :
Dork:   inurl:redirect.php?url

./ufonet -i

./ufonet -a http://........ -r put big number


Install Etherape:

apt-get update
apt-get install etherape


Install Veil-Framework:

git clone
cd Veil-Evasion/

/root/Veil-Evasion/setup/ -s

and wait



Install dhcp Server:

first we add kali source list repositories( way in
then after update and upgrade
we type in terminal :  apt-get install isc-dhcp-server -y



                                                                  Scripts Collection: Kali 2.0


 FrankenScript_Portable , , penetrator , pwmstar-mv , pyxiewps-master , reaver-wps-fork-t6x-master ,  SCANNER-INURLBR-master, wifite-mod-pixiewps-master

                                                                  Scripts Collection:

fb-hfc-master , facebook

 batchcrack_rmccurdy , bruteforcers: (facebook,FTP,Hi5,Hotmail,md5,Webmin15,netBrute,wordpress....)
Hash_ID_v1.1 , ipb_cracker ,Max , passdecrypter , rarcrack ....

bsqlbf-v2 , cpass , FG-injector , lafuz , MicroCMS , netrisk , Sparty , spider , sqid-o.3 , sql , sqldorking , sqlier , SQLinject , sqlkiller , tito , V3n0MScanner-master , vubb , xzero , adminfuzzer

4-admin-finders:  ,

Anonymous-DoS , pyloris-3 , Sabre-flood , Torshammer ,anoncannon.jar , JavaLoic.jar , slowloris

arp-scan-1.9 , dpscan , discover , enum , find-host , fingerprint

aircrack , apflood , autocrack , BashWeb , Brutus , crack-wifi ,
d0ctors , evil-twin , g0tbeef-master , Handshakerv1 , mac2wepkey , macchanger , nwrw , trickfire , wp4 , wpacrack , yawt , wifu , wpspin , .............

and more .................


Kali Scripts:


Scripts Name: , , , , , , , , , , , ..............

Start Metasploit Framework in Kali Linux

*Start the Kali PostgreSQL Service:

#service postgresql start

*Start the Kali Metasploit Service

#service metasploit start

*Launch msfconsole in Kali


msf> db_status

[*] postgresql connected to msf3

msf >

*Configure Metasploit to Launch on Startup

update-rc.d postgresql enable
update-rc.d metasploit enable

                                                  Install Compiz

1. Install gdebi

# apt-get install gdebi

2. Download the necessary packages:


# wget

# wget

# wget

# wget

3. Create the following directories:


# mkdir /root/rep/

# mkdir /root/rep/compiz-gtk_0.8.4-4_i386/

4. Extract the package compiz-gtk_0.8.4-4_i386 into the created directory

# dpkg-deb -x compiz-gtk_0.8.4-4_i386.deb /root/rep/compiz-gtk_0.8.4-4_i386/

# dpkg-deb -e compiz-gtk_0.8.4-4_i386.deb /root/rep/compiz-gtk_0.8.4-4_i386/DEBIAN/

Edit the control file:

# leafpad /root/rep/compiz-gtk_0.8.4-4_i386/DEBIAN/control

Find in text libmetacity-private0 (>= 1:2.26.0)
delete and replace with libmetacity-private0a
Save and exit

Edit pack:

# dpkg-deb -b /root/rep/compiz-gtk_0.8.4-4_i386 /root/rep/compiz-gtk_0.8.4-4_i386.deb

5. Create directory:

# mkdir /root/rep/python-compizconfig_0.8.4-2_i386/

6. Extract the package python-compizconfig_0.8.4-2_i386 into the created directory

# dpkg-deb -x python-compizconfig_0.8.4-2_i386.deb /root/rep/python-compizconfig_0.8.4-2_i386/

# dpkg-deb -e python-compizconfig_0.8.4-2_i386.deb /root/rep/python-compizconfig_0.8.4-2_i386//DEBIAN/

Edit the control file:

# leafpad /root/rep/python-compizconfig_0.8.4-2_i386//DEBIAN/control

Find in text python (<< 2.7) delete and replace with python (<< 3.0)
Save and exit
Modify python-compizconfig.public:

# leafpad /root/rep/python-compizconfig_0.8.4-2_i386/usr/share/python-support/python-compizconfig.public

Delete all copy and paste this text:



Create directory python2.7 in /root/rep/python-compizconfig_0.8.4-2_i386/usr/lib/pyshared

# mkdir /root/rep/python-compizconfig_0.8.4-2_i386/usr/lib/pyshared/python2.7

Copy python2.6 in /root/rep/python-compizconfig_0.8.4-2_i386/usr/lib/pyshared/python2.7

# cp /root/rep/python-compizconfig_0.8.4-2_i386/usr/lib/pyshared/python2.6/ /root/rep/python-compizconfig_0.8.4-2_i386/usr/lib/pyshared/python2.7

# dpkg-deb -b  /root/rep/python-compizconfig_0.8.4-2_i386 /root/rep/python-compizconfig_0.8.4-2_i386.deb

7. Install the dependencies

# gdebi /root/libgnome-desktop-2-17_2.30.2-0ubuntu1_i386.deb

# gdebi /root/libgnome-window-settings1_2.30.0-0ubuntu4_i386.deb

8. Edit your sources.list

# leafpad /etc/apt/sources.list

Delete Everything and Copy These To Your Sources File

deb /kali main contrib non-free
deb /wheezy main contrib non-free
deb kali-dev main contrib non-free
deb kali-dev main/debian-installer
deb-src kali-dev main contrib non-free
deb kali main contrib non-free
deb kali main/debian-installer
deb-src kali main contrib non-free
deb kali/updates main contrib non-free
deb-src kali/updates main contrib non-free
deb squeeze main

Save and exit

9. Update system:

# apt-get update

10. Install compiz

# apt-get install libdecoration0 libdecoration0-dev compiz-core libcompizconfig0 libcompizconfig-dev compizconfig-backend-gconf compiz-fusion-bcop compiz-fusion-plugins-extra compiz-fusion-plugins-main compiz-fusion-plugins-unsupported compiz-plugins

# gdebi /root/rep/compiz-gtk_0.8.4-4_i386.deb

# gdebi /root/rep/python-compizconfig_0.8.4-2_i386.deb

# apt-get install compiz-gnome compizconfig-settings-manager compiz-dev compiz

10. Edit your sources.list remove deb squeeze main

Go to your startup applications and add a new item
name : compiz
command : compiz --replace
description : compiz

# reboot


                                     Install Skype: Test on 32

 # dpkg --add-architecture i386

How do you know you managed to add i386 Architecture? See below:

# cat /var/lib/dpkg/arch

Now to update aptitude to get package list from Kali Repository.

# apt-get update

Download and install Skype in Kali Linux

# mkdir Skype
# cd Skype
# wget -O skype-install.deb

Now that we have downloaded Skype package, we can try to install it using dpkg command

# dpkg -i skype-install.deb



                                                           Install Synaptic kali

# sudo aptitude reinstall synaptic
# sudo apt-get update
# sudo apt-get install synaptic
# gksudo synaptic
# sudo /usr/sbin/synaptic or synaptic-pkexec





                                                  Install Transmission  kali

# apt-cache search bittorrent
# apt-get install transmission-gtk




                                            Install Recordmy Desktop


# apt-get install gtk-recordmydesktop recordmydesktop remmina -y




                                           Install Filezilla FTP Client

# apt-get install filezilla filezilla-common -y




                                          Install Tor Kali

# apt-get install tor

Enable tor service from command line:

# service tor start

Browse with confident by using proxychains and tor

# proxychains iceweasel




                                            Change default theme in Kali Linux

Install gnome-tweak-tool in Kali Linux:


# apt-get install gnome-tweak-tool


Applications > System Tools > Preferences > Advanced Settings and select Theme



                                       Fix PulseAudio warning and Enable sound


# leafpad /etc/default/pulseaudio



Enable sound on Boot:


# apt-get install alsa-utils -y

Applications > System Tools > Preferences  > System Settings > Sound  output on



Wifi - Fixed-channel:-1


# airmon-ng start [interface]

# airmon-ng start [interface] [target-AP-channel]

Example :#
airmon-ng start wlan0 6

# iwconfig [interface] channel [target-channel] # ifconfig [interface] down # iwconfig [interface] mode monitor
# ifconfig [interface] up

first check you kernel version:

uname -r
then install the relevant compat wireless package from the software center or using apt-get.



                                                        Install Flash


# apt-get install flashplugin-nonfree


# update-flashplugin-nonfree --install

Flag Counter