GPS Secrets

There’s a lot of information to find — technical information, diagnostic information, and more. Let’s begin our tour of the secrets of GPS units. Hidden Secrets Most electronic devices contain hidden diagnostic screens or setup menus that are used by the manufacturer to diagnose faults and possibly remedy them. GPS receivers are no different, but … Read more

The First Windows Program in C

The First Windows Program in C

The First Windows Program in C To keep things simple we would begin with a program that merely displays a “Hello” message in a message box. Here is the program… #include <windows.h> int _stdcall WinMain ( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpszCmdline, int nCmdShow ) { MessageBox ( 0, “Hello!”, “Title”, 0 ) ; return … Read more

Hacking Gmail?

Of course, all that power just begs to be abused. Power corrupts, as they say, and hackers are nothing but a corrupt bunch: Almost as soon as Gmail was launched, hackers were looking at ways to use those capabilities for other purposes. They investigated the incredibly rich interface, and saw how much of the processing … Read more

What’s Gmail?

March 31, 2004. A watershed in human history. Google’s web-based e-mail service, still now at the time of this writing in Beta, and available only to people invited by other existing users, was launched. Offering a gigabyte of storage, an incredibly advanced JavaScript interface, and a series of user interface innovations, Gmail was an instant … Read more

C program to print pascal triangle

C program to print pascal triangle #include <stdio.h> long factorial(int); int main() { int i, n, c; printf(“Enter the number of rows you wish to see in pascal triangle\n”); scanf(“%d”,&n); for (i = 0; i < n; i++) { for (c = 0; c <= (n – i – 2); c++) printf(” “); for (c = 0 ; c <= i; c++) printf(“%ld “,factorial(i)/(factorial(c)*factorial(i-c))); printf(“\n”); } return 0; } long factorial(int n) { int c; long result = 1; for (c = 1; c <= n; c++) result = result*c; return result; }

Compare two integers in C

Selection-sort-step to compare

Compare two integers in C Algorithm Let’s first see what should be the step-by-step procedure to compare two integers− START Step 1 → Take two integer variables, say A & B Step 2 → Assign values to variables Step 3 → Compare variables if A is greater than B Step 4 → If true print … Read more

Types of penetration testing

Although there are different types of penetration testing, the two most general approaches that are widely accepted by the industry are the black box and white box. Black box testing While applying this approach, the security auditor will be assessing the network infrastructure and will not be aware of any internal technologies deployed by the … Read more

Installing the Cisco password cracker in kali Linux

For the second example, we will use a simple program called cisco_crack ( http://insecure.org/sploits/cisco.passwords.html ). This tool is used to crack the Cisco type 7 password. After downloading the source code, the next step is to compile it. Before you can compile the source code cleanly, you need to add the following include statements: #include … Read more