Recovering/Retriving Data From Deleted Partition Using TestDisk

In this post, I'll show you how to recover data from a deleted partition on the hard disk. Recently I was formatting my computer and accidently I cleaned the complete disk using Diskpart utility so my all partitions were deleted and the complete hard disk was made into 500GB single unallocated space. So to recover the data on the hard disk I used a free and open source(blog on OpenSource) data recovery utility named Testdisk. This is a small software which is easy to use and powerful to recover the data. Now let's see how to use it:
1.Download Testdisk from here.
2. Unzip it, open the terminal and cd to testdisk-7.0/ folder.
3. Now type the command
    > sudo ./testdisk on Mac OS (sudo is must because it requires root privileges)
    > sudo ./testdisk_static on Ubuntu.

after this tesdisk will start and show something like below. 4. Select create and press enter.(use up and down arrow key to move between options and enter key to select) Now I am selecting my 8GB U…

Download Youtube Playlist And Videos Using Python

In this post I'll show you how to download Youtube Playlist and Youtube Videos. You might be knowing there are various software's and tricks which allow us to download youtube videos and save them, one which I found was youtube-dl, you can download source code of it from But I have written a Python(learn Python basics) script to download youtube videos at our convenience without relying on the third party software.
Let's Start
You might be knowing one trick, if we want to download youtube video without using software is to append "ss" before the youtube video link like and then this will take you to and from there you can download the video easily. Now to download one video is an easy task, but suppose you want to download a complete playlist of say >50 videos is too much hectic. As you always have to open each video of that playlist and then edit the URL and download it using So to …

Why Open-Source? Power Of Open-Source

Open-source software (OSS) is computer software with its source code made available with a license in which the copyright holder provides the rights to study, change, and distribute the software to anyone and for any purpose. Open source developers choose to make the source code of their software publicly available for the good of the community and to publish their software with an open source license – meaning that other developers can see how it works and add to it. It is software developed by and for the user community. Open source projects provide tremendous opportunities for developers to share and learn through collaboration. Find colleagues for your project or join an existing effort. Contributions aren't limited to code, as projects need a diverse range of skills. Many of the world’s most successful open source projects have their roots in the academy. Participation extends beyond adoption and development, and now includes a wide variety of academic programs and researc…

Beginners Guide For Django(Web Framework)

Django is a free and open-source web framework, written in Python, which follows the model-view-template (MVT) architectural pattern. It is maintained by the Django Software Foundation (DSF). Django's primary goal is to ease the creation of complex, database-driven websites. Django emphasizes reusability and "pluggability" of components, rapid development, and the principle of Don't Repeat Yourself(DRY). Django is available under the ​BSD license. The source code repository is stored on ​GitHub.

Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design. Built by experienced developers, it takes care of much of the hassle of Web development, so you can focus on writing your app without needing to reinvent the wheel. It’s free and open source. Django was designed to help developers take applications from concept to completion as quickly as possible. Django takes security seriously and helps developers avoid many com…

Simple Python Script To Create A WebServer

In this post, you will learn to create a web server just by executing a simple python script which is below.

##################### START OF SCRIPT #########################
import sys
import getopt
import BaseHTTPServer
from SimpleHTTPServer import SimpleHTTPRequestHandler

def start(argv):
    HandlerClass = SimpleHTTPRequestHandler
    ServerClass = BaseHTTPServer.HTTPServer
    Protocol = "HTTP/1.0"

    if sys.argv[1:]:
            opts, args = getopt.getopt(argv, "hp:", ["port="])
        except getopt.GetoptError:
            print "Error Try Again"

        for opt, arg in opts:
            if opt in ("-p", "--port"):
                port = int(arg)

        server_addr = ("", port)
        HandlerClass.protocol_version = Protocol
        httpd = ServerClass(server_addr, HandlerClass)

        socket = httpd.socket.getsockname()
        print "HTTP Server r…

Learn How To Decompile an APK File And Add Some Of Our Own Code To That APK. A Demo Of Decompiling Twitter APK To Get Twitter Username & Passwoed

In this post you will learn how to decompile an apk file and understand its code and add some of your code to that apk. In this post i am sharing a link of youtube playlist which will demonstrate how to decompile a Twitter apk and understand its code, to inject our own code and get the username and password of the user.
For this you will require Apktool jar, Procyon decompiler.
After downloading it follow below steps
1. Download Linux wrapper.
2. Rename downloaded jar to apktool.jar
5. Move both files (apktool.jar & apktool wrapper) to /usr/local/bin (root needed)
6. Make sure both files are executable (chmod +x)

After this just goto the youtube playlist link

The most Important part of this post is how to understand the decompiled code of apk and adding our own code to that apk file and compile it again.

BurpSuite.... A Powerful Framework, Widely Used In Penetration Testing

We are going to see another powerful framework that is used widely in Penetration testing. Burp suite is an integration of various tools put together to work in an effective manner to help the pen-tester in the entire testing process, from the mapping phase to identifying vulnerabilities and exploiting the same. Burp Suite is a Java application that can be used to secure or penetrate web applications. The suite consists of different tools, such as a proxy server, a web spider, intruder, sequencer, comparator, repeater, decoder,etc....

        Suite is an integrated platform for performing security testing of web applications. Its various tools work seamlessly together to support the entire testing process, from initial mapping and analysis of an application's attack surface, through to finding and exploiting security vulnerabilities.

        Burp is easy to use and intuitive, allowing new users to begin working right away. Burp is also highly configurable, and contains…