Friday, June 7

How to crack root password in linux?



Simple steps to crack root password in a Linux system are:


  • Reboot the system. Reboot and not restart.
  • Select the OS kernel from the GRUB screen.
  • Press 'e' to edit the configuration.
  • Select the 'kernel' configuration.
  • Press 'e' to edit the entry.
  • Append 'S' or 'Single' at the end. (or append "init 1")
  • Press 'Enter'
  • Press 'b' to boot the system with the same OS kernel.
    Now, the root prompt will be provided without asking root password while the system is in single user node. Root password can now be changed using "passwd" command as used in general.

Friday, December 16

Top Five Android Malware Families


Android’s first botnet, which sends a victim's geographic location and controls his/her phone remotely. For example, Geinimi can force the infected phone call a given phone number.



A Trojan live wallpaper that steals private information such as the victim's subscriber number (IMSI) and automatically visits websites that the malware directs it to.


 Another botnet that has multiple capabilities such as remotely installing other malware, remotely starting specific applications and adding bookmarks.


A fake instant messenger application that sends SMS messages to premium phone numbers.

 A Trojan that sends SMS messages to premium numbers.

Monday, July 25

How to get started with Android

Java

When you write Android applications, you typically write them in Java source code.
That Java source code is then turned into the stuff that Android actually runs (Dalvik bytecode in an APK file).
Hence, the first thing you need to do is get set up with a Java development
environment and be ready to start writing Java classes.

Step #1: Install the JDK
You need to obtain and install the official Sun/Oracle Java SE SDK (JDK).

Step #2: Learn Java
You should consider spending a bit of time on Java fundamentals, before you dive into Android. Otherwise, you may find the experience to be frustrating.
The Java concepts that you would require in android are :
  • Language fundamentals
  • Classes and objects
  • Methods and data members
  • Public, private, and protected
  • Static and instance scope
  • Exceptions
  • Threads and concurrency control
  • Collections
  • Generics
  • File I/O
  • Reflection
  • Interfaces

Install the Android SDK

The Android SDK gives you all the tools you need to create and test
Android applications.
The two parts of SDK are:
  1. the base tools
  2. version specific SDKs and related add-ons.
Step #1: Install the Base Tools
The Android developer tools can be found on the Android Developers Web
site (http://developer.android.com/sdk/index.html).
Download the ZIP file appropriate for your platform and unZIP it in some likely spot – there is no specific path that is required.

Step #2: Install the SDKs and Add-Ons
Inside the tools/ directory of your Android SDK installation from the previous step, you will see an android batch file or shell script.
If you run that, you will be presented with the Android SDK and AVD Manager.
At this point, while you have some of the build tools, you lack the Java files necessary to compile an Android application.
You also lack a few additional build tools, plus the files necessary to run an Android emulator.
To address this, click on the Available Packages option on the left. This brings up a tree. Open the Android Repository branch of the tree.
You will check the following items:
  • "SDK Platform" for all Android SDK releases you want to test against
  • "Documentation for Android SDK" for the latest Android SDK release
  • "Samples for SDK" for the latest Android SDK release, and perhaps for older releases if you wish
Then, open the Third-Party Add-Ons branch of the tree.
Most likely, you will want to check the "Google APIs by Google Inc." items that match up with the SDK versions you selected in the Android Repository branch. The "Google APIs" include support for Google Maps, both from your code and in the Android emulator. When you have checked all of the items you want to download, click the Install Selected button, which brings up a license confirmation dialog box.
Review and accept all the licenses, then click the Install button. Downloading all of this data and unpacking it will take a fair bit of time.

Install the ADT for Eclipse
If you will not be using Eclipse for your Android development, you can skip to the next section.
If you have not yet installed Eclipse, you will need to do that first. Eclipse can be downloaded from the Eclipse Web site. The "Eclipse IDE for Java Developers" package will work fine.
Next, you need to install the Android Developer Tools (ADT) plug-in. To do this, go to Help -> Install New Software in the Eclipse main menu. Then, click the Add button to add a new source of plug-ins. Give it some name (e.g., Android) and supply the following URL: https://dlssl.
google.com/android/eclipse/. That should trigger Eclipse to download the roster of plug-ins available from that site.
Check the checkbox to the left of "Developer Tools" and click the Next button. Follow the rest of the wizard to review the tools to be downloaded and their respective license agreements. When the Finish button is enabled, click it, and Eclipse will download and install the plug-ins. When done, Eclipse will ask to restart – please let it. Then, you need to teach ADT where your Android SDK installation is from the preceding section. To do this, choose Window -> Preferences from the Eclipse main menu. Click on the Android entry in the list on the left.
Then, click the Browse button to find the directory where you installed the SDK. After choosing it, click Apply on the Preferences window, and you should see the Android SDK versions you installed previously. Then, click OK, and the ADT will be ready for use.

Set Up the Emulator
The Android tools include an emulator, a piece of software that pretends to be an Android device. This is very useful for development – not only does it mean you can get started on Android without a device, but the emulator can help test device configurations that you do not own. The Android emulator can emulate one or several Android devices. Each configuration you want is stored in an "Android Virtual Device". The SDK and AVD Manager, which you used to download the SDK components earlier is where you create these AVDs. If you do not have the SDK and AVD Manager running, you can run it via the android command from your SDK's tools -> directory or via Window -> SDK and AVD Manager from Eclipse. It starts up on a screen listing the AVDs you have available. Initially, the list will be empty.
Click the New button to create a new AVD file. This brings up a dialog where you can configure what this AVD should look and work like.
You need to provide the following:
  • A name for the AVD.
  • The Android version you want the emulator to run.
  • Details about the SD card the emulator should emulate.
  • The "skin" or resolution the emulator should run in.
Click the Create AVD button and your AVD stub will be created. To start the emulator, highlight it in the list and click Start. The first time you launch a new AVD, it will take a long time to start up. The second and subsequent times you start the AVD, it will come up a bit faster, and usually you only need to start it up once per day. You do not need to stop and restart the emulator every time you want to test your application.

Saturday, January 29

Top 10 Software Innovators of All Time

To be a “most important” innovation, an innovation has to be an idea that is very widely used and is critically important where it applies. – David A. Wheeler
It’s not easy choosing the best innovators in an industry defined by innovation. The nature of software is such that the technologies, systems and products completely refresh every decade or so. The triumphant invention of just 10 years ago is now considered “legacy” or even obsolete. So making a lasting impression in the software business is a tough task indeed.
Following is my list of the top 10 software innovators of all time. Inclusion on this list doesn’t mean the person came up with every idea or wrote every byte of code. Rather, these are the people whose leadership, ideas, designs and products propelled the software industry forward by leaps and bounds. Their innovations affect us greatly even today.

10. Dan Bricklin – VisiCalc

Dan Bricklin Dan Bricklin was co-creator of VisiCalc, the first spreadsheet software available for personal computers. He received the Grace Hopper Award in 1981 for VisiCalc. He also founded Trellix, a website software company now owned by Web.com, and is founder and president of Software Garden.
VisiCalc was the first serious, mainstream business program for the IBM personal computer. It signaled the coming shift from large mainframes to small PCs, proving these personal computers could indeed be used for business. Many of the first IBM PCs were purchased just to run VisiCalc. Eventually Lotus 1-2-3 and Microsoft Excel squashed VisiCalc, and unfortunately Bricklin never profited greatly from his invention.

9. Larry Ellison – Oracle

Larry Ellison Larry Ellison founded Oracle in 1977 with $2000 of his own money. Oracle published the first commercially-available relational database and essentially launched the database market. Today, Oracle is the world’s leading supplier of database software and the second largest independent software company with nearly $10 billion in annual revenue. Oracle recently acquired PeopleSoft, Siebel Systems and Hyperion.
Ellison is living proof that business sense is an innate gift, not something to be gleaned from academic textbooks. A college dropout, Ellison is now a multi-billionaire renowned for his business sense, drive and ambition.

8. Shawn Fanning – Napster

Shawn Fanning
In 1998, Shawn Fanning created Napster, the first massively popular peer-to-peer file sharing system. Fanning appeared on the cover of Wired magazine and quickly rose to fame. Napster peaked in 2001 with 26 million users worldwide. However, Napster also became the target of several music industry lawsuits, which ultimately killed the service. Since 2002, Roxio has owned the Napster name, which it used to rebrand its PressPlay music service.
Napster forever changed the entertainment business. By providing an enormous selection of free music to download, it enabled people to obtain just the music hits, effectively demoting the album. Napster also made it easy for music enthusiasts to download songs that were otherwise difficult to obtain, such as older music, unreleased recordings, and concert bootlegs. The music industry is still struggling to recover from the impact of Napster and peer-to-peer file sharing.

7. Chad Hurley and Steve Chen – YouTube

Steve Chen + Chad Hurley
Chad Hurley and Steve Chen founded YouTube, a video sharing website where users can upload, view and share video clips. Google purchased YouTube in 2006 for $1.65 billion in Google stock. In January 2008, nearly 79 million users watched over 3 billion videos on YouTube. Currently YouTube hosts about 83.4 million unique videos and 3.75 million user channels. YouTube consumes more Internet bandwidth today than was used by the entire Internet in 2000.
YouTube has become a global hub of self-expression. It was one of the main factors for Time magazine’s declaration of “you” as the “Person of the Year” in 2006. It allows you to “wrest power from the few and help one another for nothing.” This will “not only change the world, but also change the way the world changes.” You are no longer just receiving the news produced by media, but you are creating your own news and becoming the hero in your own movies.

6. Linus Torvalds – Linux

Linus TorvaldsLinus Torvalds is a Finnish software engineer who initiated development of the Linux kernel. At the time, the GNU Project had created many of the components necessary for a free software operating system but lacked a solid kernel. The result is Linux, the world’s most popular operating system that’s not Windows.
Torvalds wrote about 2% of the Linux kernel himself, which is significant, given there are thousands of contributors to the open source operating system. Today Torvalds is the ultimate authority on what new code is incorporated into the standard Linux kernel. Torvalds owns the “Linux” trademark and manages the non-profit organization Linux International.

5. Marc Andreessen – Netscape

Marc Andreessen Marc Andreessen was the co-author of Mosaic, the first widely-used web browser, and co-founder of Netscape Communications. AOL acquired Netscape in 1999 for $4.2 billion and made Andreessen its Chief Technology Officer. Andreessen was also the co-founder and chairman of software company Opsware (originally Loudcloud) when it was acquired by Hewlett-Packard. Currently he is co-founder of Ning, a company that provides a platform for social-networking websites.
Andreessen was 23 years old when he built the browser that launched the World Wide Web. The Netscape $2 billion IPO in 1995 propelled Andreessen into the spotlight and on the cover of Time magazine. Andreessen became the “poster-boy wunderkind of the Internet bubble generation: young, twenty-something, high-tech, ambitious, and worth millions (or billions) of dollars practically overnight.” (wiki)

4. Larry Page and Sergey Brin – Google

Larry Page and Sergey Brin Larry Page and Sergey Brin, Ph.D. students at Stanford, invented Google in 1996 as a research project. The Google website launched in 1997, and by the end of 1998 it had indexed about 60 million web pages. In 2000, Google began selling advertisements associated with search keywords and launched the pay-per-click model, until then a rarity in advertising. Google launched its IPO in 2004, raising $1.67 billion and giving it a market capitalization of $23 billion, making Page and Brin instant billionaires.
Today Google has a market cap of $180 billion and owns 70% of web searches. Google performs nearly 6 billion web searches each month. Google has also become a verb in popular lexicon. If there’s anything you need to know, you “Google it.”

3. Steve Jobs – Apple, Pixar

Steve JobsSteve Jobs is the CEO, chairman and co-founder of Apple Inc., and is the founder and former CEO of Pixar Animation Studios. In fiscal 2007, Apple had worldwide sales of $24 billion. Apple’s iPod and iTunes dominate the portable and online music markets with nearly 80% market share. The Apple Macintosh owns 8% of the personal computer market and provides an effective counter-weight to the dominance of Microsoft Windows. Pixar led the surge of software-animated feature films, including Toy Story and Finding Nemo, resulting in eight academy awards. The Walt Disney Company purchased Pixar from Jobs in 2006 for $7.4 billion.
Jobs “contributed greatly to the myths of the quirky, individualistic Silicon Valley entrepreneur, emphasizing the importance of design while understanding the crucial role aesthetics play in public appeal. His work driving forward the development of products that are both functional and elegant has earned him a devoted following.” (wiki)

2. Tim Berners-Lee – World Wide Web

Tim Berners Lee Sir Tim Berners-Lee is an English developer who invented the World Wide Web in March 1989. Berners-Lee published the first website on August 6, 1991. The site provided an explanation about what the World Wide Web was, how to use a web browser, and how to set up a web server. Berners-Lee made his idea freely available, with no patent or royalties due. In 1994, Berners-Lee founded the World Wide Web Consortium (W3C) at the Massachusetts Institute of Technology. The W3C declared their standards must be based on royalty-free technology so they can be easily adopted by anyone.
Berners-Lee once said: “I just had to take the hypertext idea and connect it to the Transmission Control Protocol and domain name system ideas and — ta-da! — the World Wide Web.” The World Wide Web is one of the most important communication inventions in history, providing a standard platform for global communications and commerce. Today there are over 100 million websites and 45 billion web pages.

1. Bill Gates – Microsoft

Bill Gates Bill Gates is co-founder and chairman of Microsoft, the world’s largest software company with 79,000 employees in 102 countries and $51 billion in annual sales. More than 90% of personal computers use the Microsoft Windows operating system, and nearly 50% of web servers run Microsoft software. Microsoft also dabbles in cable TV, Internet portals, computer hardware, and gaming with the XBox. Microsoft is currently in process to acquire Yahoo.
Gates, the world’s third richest man, is leaving Microsoft in July to become a full-time philanthropist. His Gates Foundation is the largest in the world with an endowment of $38 billion.
Say what you will about Microsoft, but kudos to the man whose company delivered a world-dominant computing platform, offering software entrepreneurs a market 600 million strong and expected to hit a billion by 2010. When there is that much attention and opportunity focused in one place, we will continue to see incredible advances in software and hardware that fuel Moore’s Law and drive our information society.