Pages

Saturday, 28 March 2015

Fixing NoDistroTemplateException in Kali Linux!! Easy Way!

Hey Guys, today i'm gonna show you how to fix NoDistroTemplateException in Kali Linux :)
Suppose i want to add some repository through command line in Kali linux! Then Kali's terminal throws exception i.e. NoDistroTemplateException and i am unable to add repository! :(  here is the pic =>



but today i'm with a hardcore solution to this problem

create a file named add-apt-repository.sh.txt and add the following lines of code!

#!/bin/bash
if [ $# -eq 1 ]
NM=`uname -a && date`
NAME=`echo $NM | md5sum | cut -f1 -d" "`
then
    ppa_name=`echo "$1" | cut -d":" -f2 -s`
    if [ -z "$ppa_name" ]
    then
        echo "PPA name not found"
        echo "Utility to add PPA repositories in your debian machine"
        echo "$0 ppa:user/ppa-name"
    else
        echo "$ppa_name"
        echo "deb http://ppa.launchpad.net/$ppa_name/ubuntu lucid main" >> /etc/apt/sources.list
        apt-get update >> /dev/null 2> /tmp/${NAME}_apt_add_key.txt
        key=`cat /tmp/${NAME}_apt_add_key.txt | cut -d":" -f6 | cut -d" " -f3`
        apt-key adv --keyserver keyserver.ubuntu.com --recv-keys $key
        rm -rf /tmp/${NAME}_apt_add_key.txt
    fi
else
    echo "Utility to add PPA repositories in your debian machine"
    echo "$0 ppa:user/ppa-name"
fi

Save it! and now open the terminal and use the following commands

that's it reboot your system and the fuckin NoDistroTemplateException is gone! :) enjoy adding new repositories! :)

Friday, 27 March 2015

Installing Synapse in Kali Linux!! Easy Way!!

In Fedora, Linux Mint and Ubuntu developers provided search tab in menus which is very useful but thats not present in Kali linux! So in this post i'm gonna introduce you to a gui utility i.e. Synapse , that works awesome for search purpose in Kali Linux!


Installation of synapse is very easy in kali linux !

first of all open your kali terminal and type the following command


That's it synapse is installed in your kali linux, and now open your synapse
you can use keyboard shortcut ctrl+space to open synapse whenever you want.



Now i will open synaptic package manager using synapse


And it's becomes so easy to open any application using synapse! Synapse rocks!

Bug:- It doesnt work with rhythmbox music player so, i will advice you to install banshee media player as there is no such problem with plugins in banshee!

p.s.:- apt-get install banshee for banshee installation in kali linux!

Thursday, 26 March 2015

Installing Rhythmbox player in Kali Linux!! Easy Way!!

The problem with kali linux is that it comes with a single media player and that is VLC media player! There must be a audio player like RhythmBox(comes by default in Ubuntu) or Banshee(comes by default in Linux mint) !!

In this post i'm gonna show you how to install Rhythm box in kali linux !

1.) First of all open the terminal of kali linux and type the following command in kali linux


Now rhythm box will be automatically downloaded from kali repositories and installed in the system!

Now to open RhythmBox in Kali Linux
go to Application => Sound & Video => Rhythmbox Music Player

Your Rhythmbox must look like this 

 
That's it! Enjoy your new audio player in kali linux!

Installing themes, icons & mouse cursors in Kali Linux!! Easy Way!!

The default themes, icons and mouse cursors are quite ugly in kali linux!!
So, friends in this post i'm gonna show you how to install themes, icons and mouse cursors in kali linux!

1.)Firstly you need to install gnome-tweak-tool in kali linux, so type the following command in terminal !!



2.) Go to Gnome-Look and download the  desktop theme, icons and mouse cursors for your kali linux!!

3.) Then after downloading themes, icons and mouse cursors in you need to extract it, you can use command line or simply use the gui tool aka archive manager provided in kali linux to extract the tar balls!

4.) now you need to copy the themes and mouse cursor folders in /usr/share/themes and icons folder in  /usr/share/icons

for example:-  in case of mouse pointer


That's it now you need to open the gnome-tweak-tool that you just installed
 which is located in =>
application => system tools => prefrences => advanced settings
in advanced setting open theme tab, it will somewhat like this


now you just need to play with options like Cursor theme, icon theme, GTK+ theme and window theme!!

thats it ! Enjoy!!

Saturday, 21 March 2015

Fixing Sound Distortion in Kali Linux 1.1.0!! Easy Way!!

So guys, in this post i'm gonna show you how to fix sound distortion in Kali Linux 1.1.0 & previous versions ! 

First Method:- 

Okay so, first of all open the terminal and type the following command

leafpad /etc/pulse/default.pa

If you have installed sublime  text editor in your kali linux then use this command in terminal

subl /etc/pulse/default.pa

Don't panic if your terminal doesnt look like mine .. it's because i have installed hackstation theme in kali linux :) 

Now when you have entered above command shown in terminal a window will open in my case thats sublime text editor!

search and replace "load-module module-udev-detect" with "load-module module-udev-detect tsched=0"

save it!!

Second Method:-

In this method you have to change the vlc media player settings

1.) Go to tools in vlc media player
2.) In tools open prefrences and following window will pop-up


3.) Go to Audio section and try to change various output module .. Audio memory output worked for me :)

that's it!!

P.S :- for better results apply both the methods mentioned above! and don't forget to reboot your system after applying 1st method!!
 

Monday, 9 March 2015

Recover/Repair/Install GRUB Bootloader!! Boot-Repair!! Easy Way!!

Hey friends! Today i'm gonna show you how to repair your grub bootloader which is installed with linux operating system! And due to some reasons it's damaged for example you tried to dual boot linux and windows and firstly you have installed linux which comes with GRUB bootloader which gets erased or it's over-wrighted due to installation of windows boot loader! In such case you can't open your linux operating system and only windows gets opened ! In this post i will be showing you how you can again Recover/Repair/Install grub bootloader so that you can boot into both the operating system !

So the current condition is that you directly boot into windows and don't have option to boot into your linux so do the following steps
1.) Make a bootable usb of ubuntu or linux mint
2.) Make it run live into your system
3.) Open your terminal and enter the following commands

sudo add-apt-repository ppa:yannubuntu/boot-repair

The above command will be used to add the repository of Boot-repair
Boot-Repair is basically a gui utility to recover/repair GRUB bootloader in Linux

Now open your synaptic package manager and reload it
After reloading open your software manager and search for Boot-Repair and install it

and then start Boot repair! Your gui will look somewhat like this


Click on Recommended repair option and that's it! Thanks for reading this article :) 

Friday, 27 February 2015

Metasploit Installation in Ubuntu & Linux Mint!! EASY WAY!!

What the heck is metasploit project ??
>>> The Metasploit Project is a computer security project that provides information about security vulnerabilities and aids in penetration testing and IDS signature development.
Basically metasploit is a framework packed with exploits of various vulnerabilities !



Using unstable linux like kali and backtrack(so called the most advanced penetration testing distribution) is pain in ass !
so guys in this post i'm gonna show you how to install metasploit framework(quite popular in pentesters, hackers, crackers, n00bs ) in Ubuntu and Linux mint .. so let's get started!!

First of all i need you to go to this link http://www.metasploit.com/
Your window must look like this

now you are on the official website of metasploit
next you have to do is to click on the blue button that says free metasploit download !!
after clicking on the button you will be redirected to rapid7 website now you have two options
1.) Metasploit Pro Version
2.) Metasploit Community Version

Pro version is not the free one but community version is free.. So just click on the box that says download community version of metasploit on rapid7 website!
Now you have to provide some personal information like email id and all such things and you will get the metasploit-latest-linux-x64-installer.run installer which is for the 64-bit version of linux ..

Now after downloading the installer go and right click on the installer and make it executable
By checking the options in permission tab that says allow executing file as program like in the picture below

I have already checked the option in the picture above ! Now double click the installer and run it .. and then it will be installed in your system!
You will get a web interface on your localhost where you will make a account and from next time you will need id-password to login :)

The web interface will look somewhat like the pic below

And to start metasploit console i.e. msfconsole in linux mint type the following command in terminal


BTW now i'm going to show you my favorate banner in metasploit 


Also i'm going to embbed a youtube video for you guys 





Thanks for visiting my blog and reading this article :)