BIG QUERY: Analytics goooooooooogles way

I’ve been wondering how i forgot to write an article on Big Query. An year back when i heard the word “Big Query” from Google i felt these guys are planning to conquer the BIG DATA world as well. Its obvious because google showed the world GFS(google file system) and Mapreduce concepts,which gave birth to hadoop. HAIL GOOGLE.!!! for your innovation.
Coming back to GOOGLE BIG QUERY,it is a full fledge big data tool stored on the cloud.Google created this tool online where you can analyze your bigdata for a per use fee, similar to other cloud offerings.

Wanna practially see the Advantage of BIG Query ???
Yes ,you can see the demo based on 2 contexts WIKIPEDIA & Data from WEATHER STATIONS.
Try the Demo here

https://demobigquery.appspot.com

bigquerydemo

Continue reading

HACKING- Tabnabbing: A New Type of Phishing Attack

Hey guys,this time i came up with concept of Hacking.I have been into Ethical Hacking since a long time and i love it(FYI : i dont do illegal hacking).And this tutorial is for educational purposes only,to bring awareness,and not intended to encourage hacking.

OK ,Before going deep into the experiment ,first i will tell you what actually phishing is.

What is Phishing?

Phishing is one of the ways of Hacking. Phishing is the act of attempting to acquire information such as usernames, passwords, and credit card details from the users through a Fake Webpage(Facebook,gmail,bank etc).

Earlier Hackers used to send links of fake pages which are hosted in their web servers accounts.When users click that link,fake page opens ,it looks exaclty like the Orginal Login Pages, When they enter the login credentials in that fake page,hackers used to get those details.

But due to some awareness about hacking in the recent days,people are suspecting the links which are not familiar.So phishing became very difficult for hackers.
So came up with the latest technique of Phishing also know as TAB NABBING(coined by Aza Raskin).

What is TAB NABBING?

To describe it,i will take example of GMAIL Login Page.

-A user navigates to your normal looking site.

-You detect when the page has lost its focus and hasn’t been interacted with for a while.

-Replace the favicon with the Gmail favicon, the title with “Gmail: Email from Google”, and the page with a Gmail login look-a-like.

This can all be done with just a little bit of Javascript that takes place instantly.
As the user scans their many open tabs, the favicon and title act as a strong visual cue—memory is malleable and moldable and the user will most likely simply think they left a Gmail tab open.
When they click back to the fake Gmail tab, they’ll see the standard Gmail login page, assume they’ve been logged out, and provide their credentials to log in.
After the user has entered their login information and you’ve sent it back to your server, you redirect them to Gmail.
Because they were never logged out in the first place, it will appear as if the login was successful.

So the Fake Page looks like this .

gmail

For Experimenting I am providing the Code for this .All you have to do is ,copy the code in nodepad,save it with some name like Demo.html,open the page in a browser(best is google chrome),then click new tab, wait for 5 or more seconds,come back to the same page,
Magic.!!!!!
it will be loaded with GMAIL Page(Actually an image)

Code:

Continue reading

Microsoft Certification for Programming in HTML5 with JavaScript and CSS3

Completed the Microsoft  Certification for Programming in HTML5 with JavaScript and CSS3(EXAM: 70-480).

The Exam is for 1000 and pass mark is 700,and i managed to score 920/1000.

Following are the Topics we need to prepare for the exam.

Implement and Manipulate Document Structures and Objects (24%)
  • Create the document structure.
    • This objective may include but is not limited to: structure the UI by using semantic markup, including for search engines and screen readers (Section, Article, Nav, Header, Footer, and Aside); create a layout container in HTML
  • Write code that interacts with UI controls.
    • This objective may include but is not limited to: programmatically add and modify HTML elements; implement media controls; implement HTML5 canvas and SVG graphics
  • Apply styling to HTML elements programmatically.
    • This objective may include but is not limited to: change the location of an element; apply a transform; show and hide elements
  • Implement HTML5 APIs.
    • This objective may include but is not limited to: implement storage APIs, AppCache API, and Geolocation API
  • Establish the scope of objects and variables.
    • This objective may include but is not limited to: define the lifetime of variables; keep objects out of the global namespace; use the “this” keyword to reference an object that fired an event; scope variables locally and globally
  • Create and implement objects and methods.
    • This objective may include but is not limited to: implement native objects; create custom objects and custom properties for native objects using prototypes and functions; inherit from an object; implement native methods and create custom methods
Implement Program Flow (25%)
  • Implement program flow.
    • This objective may include but is not limited to: iterate across collections and array items; manage program decisions by using switch statements, if/then, and operators; evaluate expressions
  • Raise and handle an event.
    • This objective may include but is not limited to: handle common events exposed by DOM (OnBlur, OnFocus, OnClick); declare and handle bubbled events; handle an event by using an anonymous function Continue reading

Augmented Reality with JavaScript

Yes what u heard is true.Augmented reality is the Buzz word i heard mostly in the recent times.But i never thought JavaScript has got the capability to implement AR(Augmented Reality) . I found it astonishing and with my usual curiosity i tried to experiment with that.
First we will see the experiment then u will get an interest to know the technical Stuff behind that.
Now the experiment is for motion detection
Requirements :
1. Google Chrome Canary Browser( https://tools.google.com/dlpage/chromesxs )

2.Web cam
3.Tablet or Phone

4.Below Pic

Lets Start,

Copy the above image into your mobile or Tablet,or u can even make a print of it on a paper.

Now open the below link in the Chrome Canary Browser

http://www.html5rocks.com/en/tutorials/webgl/jsartoolkit_webrtc/AR_mediaStream.html

Allow access for the webcam.

Now show the image which i told to copy in your phone/print out to the webcam .

Make some motion like tilting it. Now you will see a lot of new images of animals.

The Final Result will be like this,

Sounds cool right?

The JavaScript which is there in that URL uses motion detection technology to show those images.

Try this out.

GMAIL’s URL Parameter – shva

Today while logging into Gmail , i observed the URL and it is like this :t

https://mail.google.com/mail/?shva=1

the parameter shva interested me. I know about the SHA-1 Algorithm for Encrypting the data,so i thought it might be related to that.

But after some googling i found that,this paramter shva is an acronym for  -“SHOULD HAVE VALID AUTHENTICATION

This comes only after the authentication is successful.