OVERTHEWIRE NATAS SERIES: 16 – 17 LEVEL Walkthrough

The walkthrough for the last level is available on this link: http://www.anonhack.in/2018/09/overthewire-natas-series-15-16-level-walkthrough/ This level is little bit similar to the last level. Here we have to perform a command injection. Let’s have a look at the source code of this level: See the highlighted text in the code above. $key variable […]

OVERTHEWIRE NATAS SERIES: 15 – 16 LEVEL Walkthrough

If you want to see the level 14- 15, follow this link: http://www.anonhack.in/2018/09/overthewire-natas-series-14-15-levels/ Level 15-16 is also based on SQL injection but here we have to work on boolean based SQL injection technique. Let me how you how: This is what the screen looks like: I put “natas16” as the user […]

Java Program to left rotate the Array

The following Java program rotates the array to d rotational integer. A left rotation operation on an array shifts each of the array’s elements  unit to the left. For example, if left rotations are performed on array [1,2,3,4,5], then the array would become [3,4,5,1,2]. The Code makes use of swapping using temp variable for circular […]

Finding Kth Maximum Number from an Array in Java

The following program is used to find the Kth Maximum number from a given unsorted array. The approach on which this code is written uses sorting and then gives out the Kth  maximum number. This can be done without sorting too. At the end of the code, you will get a […]

Swapping every two bits in byte Java Solution

In the Swapping of two bits in byte in java, the output should look like something below: Swap all the pair of bits in a byte. Before swapping: 11-10-11-01 After swapping: 11-01-11-10 The code is written and tested in Netbeans. Code: import java.util.Arrays; import java.util.Scanner; public class bitbyte { public […]

Converting Decimal to Binary in Java

The below code will convert decimal number in binary format [bits] in java. I have taken a byte as an array, i.e. 8. You can take more depending on your needs. The input for the current program is a with the value 48. You can take the input through scanner […]

OVERTHEWIRE Natas: Walkthrough series Level 7 – 9

This article is a walkthrough for level 7 – 9 of overthewire Natas Web Attack Series. Visit the links below for the levels before these. Overthewire Natas: Walkthrough Series Levels 1 – 4   Overthewire Natas: Walkthrough Series Levels 4 -7   Let’s get on with it: Level 7 – […]

Program to find number of words,vowels,spaces,special chars and consonants in sentence using C

C language provides many libraries to handle strings. The libraries that we are going to be using are ctype and string. If you are working in C and you require to manipulate a string, ctype and string header files are your friends! Make use of them. Explanation The functions of […]

Creating Your Own hacking Lab: The Beginner’s guide

This article is a beginner’s level guide to create your own hacking lab so you can practice in a safe environment. With your own hacking lab set up, you can work without boundaries and explore more. I will be telling you about the software tools and their configuration and how […]

VirtualBox NAT settings: How to configure so they don’t have same IPs?

I am writing this article because I have been through a configuration problem while setting up NAT network in VirtualBox. The problem: Both my machines getting the same IP addresses after selecting NAT as the network for both. I just start using VirtualBox, I used to use VMware. To solve […]