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/
solve:
sudo rm /var/lib/apt/lists/lock
sudo rm /var/cache/apt/archives/lock
 install


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
https://www.dropbox.com/s/db5w53e8f1j27wo/google-chrome-stable_41.0.2272.118-1_i386.deb

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

and

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
[keyfile]
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 -  https://forums.kali.org/showthread.php?27091-Solve-arimon-ng-issues-by-a-simple-modfication-of-NetworkManager-conf

save

 

 

Enable monitor mode:

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

 

Install Ufonet:

 

first download it & save it in desktop  :  http://sourceforge.net/projects/ufonet/

 

 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
        inurl:url.php?redir=
        inurl:open.php?url=

./ufonet -i http://winanand.in

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

 

Install Etherape:


apt-get update
apt-get install etherape

 

Install Veil-Framework:

git clone https://github.com/Veil-Framework/Veil-Evasion.git
ls
cd Veil-Evasion/
ls

/root/Veil-Evasion/setup/setup.sh -s

and wait

 

 

Install dhcp Server:

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

 

 

                                                                  Scripts Collection: Kali 2.0


                                                                     2015                                                                     

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


                                                                  Scripts Collection:
                                                                      20/12/2014

1-Facebook:
fb-hfc-master , facebook

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

3-database:
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:
 admin.pl  , admin.py

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

6-Discovery:
arp-scan-1.9 , dpscan , discover , enum , find-host , fingerprint

7-network(Wifi)
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:


Thu,11,12,2014

Scripts Name:

ezkali.sh , helper.sh , kali-bluetooth.sh ,kali-dev.sh , kali-embedded.sh
kali-gsm.sh , kali-mitm.sh , kali-mobile.sh , kali-openwrt.sh ,kali-pentest.sh
kali-ssh.sh , kali-tor.sh , kali-windows.sh , kali-wipe.sh ..............

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

#msfconsole

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 http://ftp.us.debian.org/debian/pool/main/c/compizconfig-python/python-compizconfig_0.8.4-2_i386.deb

# wget http://ftp.us.debian.org/debian/pool/main/c/compiz/compiz-gtk_0.8.4-4_i386.deb


# wget mirror.pnl.gov/ubuntu//pool/main/g/gnome-desktop/libgnome-desktop-2-17_2.30.2-0ubuntu1_i386.deb

# wget mirror.pnl.gov/ubuntu//pool/main/g/gnome-control-center/libgnome-window-settings1_2.30.0-0ubuntu4_i386.deb

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:


pyversions=2.5,2.6,2.7

/usr/lib/pyshared/python2.5/compizconfig.so
/usr/lib/pyshared/python2.6/compizconfig.so
/usr/lib/pyshared/python2.7/compizconfig.so

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 compizconfig.so 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/compizconfig.so /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 http://http.kali.org/ /kali main contrib non-free
deb http://http.kali.org/ /wheezy main contrib non-free
deb http://http.kali.org/kali kali-dev main contrib non-free
deb http://http.kali.org/kali kali-dev main/debian-installer
deb-src http://http.kali.org/kali kali-dev main contrib non-free
deb http://http.kali.org/kali kali main contrib non-free
deb http://http.kali.org/kali kali main/debian-installer
deb-src http://http.kali.org/kali kali main contrib non-free
deb http://security.kali.org/kali-security kali/updates main contrib non-free
deb-src http://security.kali.org/kali-security kali/updates main contrib non-free
deb http://ftp.us.debian.org/debian 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 http://ftp.it.debian.org/debian 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 http://www.skype.com/go/getskype-linux-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

 

Change PULSEAUDIO_SYSTEM_START=0 to PULSEAUDIO_SYSTEM_START=1

Enable sound on Boot:

 

# apt-get install alsa-utils -y

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

 

 

Wifi - Fixed-channel:-1

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

2-
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