Showing posts with label edu. Show all posts
Showing posts with label edu. Show all posts
How To Install Kali Linux On Android Smartphone

How To Install Kali Linux On Android Smartphone


Install Kali Linux on your Android device and develop a portable penetration testing environment

Kali Linux, a secure distribution of Linux, is one of the most widely used OS among ethical hackers  (and unethical hackers). The reason is that Kali Linux has almost every tool required for pentesting pre-installed. And a great back end support from Offensive Security make it a great platform for beginners as well as professionals. Kali Linux is a successor of BackTrack OS which was also developed by Offensive Security.
The developers at Offensive Security have been working extensively for developing a dedicated operating system for cyber-security researchers. Along with ARM devices, Kali Linux is available for Android too.
The installation process is very simple and straightforward. If you have a rooted Android phone having at least 5GB of free storage and a fast internet connection (to download repository files), then everything else is just a matter of few taps on your smartphone.
First of all install Linux Deploy app from Play Store.
Now make sure that your phone is in the required state for installation. That is, make sure that your phone is rooted, having 5GB of free space, an internet connection with decent speed (and you are patient enough to wait for Kali to bootstrap from the network).
Root privilege is required because Kali will install itself in chroot mode. Which means that allowed access will be restricted to specified directory (acting as root directory) and their children.
Step 2 is running the app, and selecting Kali Linux in the distribution tab. Optionally, you can choose your architecture, verify that the Kali mirror is correct, set your installation type and location on your Android device, etc. Generally speaking, the defaults provided by Linux Deploy are good to begin with.
Once all the settings are at place, hit the “install” button and app will start a Kali Linux bootstrap directly from repositories of Offensive Security. Depending on your Internet connection speed, this process could take a while. You’ll be downloading a base install of Kali Linux (with no tools) at minimum.
When the installation is complete, you can have Linux Deploy automatically mount and load up your Kali Linux chroot image. This also includes the starting of services such as SSH and VNC for easier remote access. All of this is automatically done by hitting the “start” button. You should see Linux Deploy setting up your image with output similar to the following:
At this stage, Linux Deploy has started a VNC and SSH server inside your chrooted Kali image. You can connect to the Kali session remotely using the IP address assigned to your Android device (in my case, 10.0.0.10).
Logging In:
You can now access your Kali Linux instance with either VNC or Secure Shell(SSH). The required credentials are-
For VNC password is “changeme”
For SSH username is “android” and password is again “changeme”
This is what it all looks like on your device:
LINUX LOCALHOST 3.4.5-447845 #1 SMP PREEMPT FRI APR 12 17:22:34 KST 2013 ARMV7L
KALI GNU/LINUX 1.0 [RUNNING ON ANDROID VIA LINUX DEPLOY]
ANDROID@LOCALHOST:~$ SUDO SU
ROOT@LOCALHOST:/HOME/ANDROID# DF
FILESYSTEM 1K-BLOCKS USED AVAILABLE USE% MOUNTED ON
/DEV/LOOP3 4180944 667268 3304012 17% /
TMPFS 952708 80 952628 1% /DEV
TMPFS 952708 0 952708 0% /DEV/SHM
ROOT@LOCALHOST:/HOME/ANDROID#
ROOT@LOCALHOST:/HOME/ANDROID# APT-GET UPDATE
HIT HTTPS://HTTP.KALI.ORG KALI RELEASE.GPG
HIT HTTPS://HTTP.KALI.ORG KALI RELEASE
HIT HTTPS://HTTP.KALI.ORG KALI/MAIN SOURCES
HIT HTTPS://HTTP.KALI.ORG KALI/CONTRIB SOURCES
HIT HTTPS://HTTP.KALI.ORG KALI/NON-FREE SOURCES
HIT HTTPS://HTTP.KALI.ORG KALI/MAIN ARMEL PACKAGES
HIT HTTPS://HTTP.KALI.ORG KALI/CONTRIB ARMEL PACKAGES
HIT HTTPS://HTTP.KALI.ORG KALI/NON-FREE ARMEL PACKAGES
IGN HTTPS://HTTP.KALI.ORG KALI/CONTRIB TRANSLATION-EN_US
IGN HTTPS://HTTP.KALI.ORG KALI/CONTRIB TRANSLATION-EN
IGN HTTPS://HTTP.KALI.ORG KALI/MAIN TRANSLATION-EN_US
IGN HTTPS://HTTP.KALI.ORG KALI/MAIN TRANSLATION-EN
IGN HTTPS://HTTP.KALI.ORG KALI/NON-FREE TRANSLATION-EN_US
IGN HTTPS://HTTP.KALI.ORG KALI/NON-FREE TRANSLATION-EN
READING PACKAGE LISTS… DONE
ROOT@LOCALHOST:/HOME/ANDROID#
Memory Considerations:
If left unchanged, Linux Deploy will automatically set an image size of around 4 GB, for a “naked” installation of Kali. If you would like to install additional Kali tools down the road, you might want to consider using a larger image size, which is configurable via the settings in Linux Deploy.
Quick Tip: Prefer SSH over VNC while logging into your OS. This will save you a lot of time.
Post your further queries in the comment box to get them resolved.

Two Great Methods to Play Facebook Games on Android


Your Android device is highly capable of playing a variety of games and with the Flash player it has become easier then ever to have instant access to web games. Learn how to access your Facebook games properly and explore a list of games converted straight into the Android Market.

  • From the Social Network Straight Into Your Phone

    Facebook games are hugely popular but are in principle not playable outside of Facebook’s web interface. Anyone looking to play their Farmville, Frontierville, Mafia Wars or Pet Society games on their Android device might, therefore, assume themselves out of luck. However, there are workarounds to playing Facebook games on Android.
  • Playing Facebook Games with Android Flash

    The Famous Farmville Facebook GameThose that are addicted to the games on their favorite social networking site will find that most of them would fit well on their Android phone, as they seem to be rather touch friendly. This can come in handy when you want to play those games on your mobile device. Luckily for Android users, all these Facebook games are presented in Flash. As such, they are playable through any of the system’s browsers. To get this to work, use the following steps as a guide:
    1.  Download and install Flash 10.3 through the Android Market. A simple ‘Flash’ search term will do the trick. The size of Flash on your device has in recent times been dramatically reduced and currently only amounts to 4.22 MB.
    2. Open your phone's browser and go to Facebook.com. By default you will be brought to the mobile site, which will not allow you to play your games. Log in to your account nevertheless.
    3.  Select ‘More’ in the top right corner and select ‘Desktop site’ all the way at the bottom of the menu that appears. You will now be brought to the Facebook full website as you know it from your desktop browser. Alternatively you can go to your browser settings on your phone and select a desktop browser as the default client. This will make Facebook think you are not browsing on a mobile device but using a proper desktop browser instead. This method will have an even higher rate of success.
    4. Select to play the game as you normally would at the left side of the screen. When the game comes up, you can long press it and select full screen to let it fill your Android panel like any app would.
    The above method should work in most cases, although it is possible for the Facebook game to still notice you being on a mobile device and as such block access. The alternative method of ‘tricking’ your browser into behaving like a desktop one will therefore have a much higher chance of allowing you to actually play Facebook games on Android. In any case, it will always remain a bit of a hit and miss process, as you will surely find out.
  • Games from Facebook that Made it Into Android Apps

    Mafia Wars on AndroidConsidering that you own a mobile phone with excellent touch screen capabilities, you would rather have your favorite online games right there as apps on your Android device. Although this may seem the most logical next step beyond offering games solely online, there has so far been little interest by developers in creating Android ports. Nevertheless, some did make it into the Android Market, making it the best solution to play Facebook games on the go. Here is a list of the most popular Facebook games currently available as Android apps:
    • Mafia Wars
    • Zynga Poker
    • Words With Friends
    • Cleopatra’s Pyramid
    • Pocket God
    • Paf Le Chien
    • Bubble Town
    • Live Blackjack and Live Blackjack 21 (both previously discussed)
    • Marble Lines
    • Bouncing Balls
    • Farkle
    • Gun Bros
    • Woof the Dog
    • Live Holdem Poker Pro
    • Sporcle
    Even for Facebook games that have not made it to the Market, there are tools available that may make your life easier within some of them. Examples of these apps are Farmville Crop Timer Freethat will assist you in never missing your Farmville harvests or Zynga Facebook Games Timer that offers a similar task for other popular Zynga games. Although not actual Facebook games, they can certainly be useful add-ons, bringing a bit of the experience to your phone.
    So there you have it. Playing Facebook games on Android certainly has its limitations but you will not find a better mobile operating system out there that has a greater capability of circumventing these issues. This is mainly thanks to the capability of using Flash in an Android browser. There are also many Facebook apps already available in the Android Market, making it attractive to switch between your browser and your mobile device. Whatever your preferred method is, Facebook games are never far away when you carry an Android phone.
    Note. The above-mentioned list of games is possibly (and probably!) not complete and we would very much appreciate your co-operation in helping us track down more Facebook games converted to Android apps. Feel free to post your suggestions in the comment box!
  • References