-
OVERTHEWIRE:BANDIT WALKTHROUGH SERIES 23-25 LEVELS

This is overthewire series with bandit walkthrough from level 23 – 26. If you haven’t gone through the previous articles on OVERTHEWIRE Bandit then follow the links below! https://anonhack.in/2018/04/overthewire-bandit-walkthrough-series/ https://anonhack.in/2018/04/overthewirebandit-walkthrough-series-6-10-levels/ https://anonhack.in/2018/04/overthewirebandit-walkthrough-series-12-15-levels/ https://anonhack.in/2018/04/overthewirebandit-walkthrough-series-15-18-levels/ Level 22 – 23 Login into bandit22 with the password we obtained in the article above. The hint for this level says: A…
-
Program to print Transpose of a matrix in C language
-
Program to display sum of series 1+1/2+1/3+…+1/n in C language

The following C program is to find the sum of the series 1+1/2+1/3+…+1/n. The following code have been compiled and executed in Dev C++. Information about the code: > The variable is taken as double here. Int datatype will not be used here or else the generated output will be wrong. > %.3lf prints 3…
-
Program to Reverse a number in C language

The following program will show how you can reverse a particular number in C language. The code has been written and compiled in Dev C++. code: #include void main(){ int n,a,r=0; printf(“Enter any number: “); scanf(“%d”,&n); while(n>=1) { a=n%10; r=r*10+a; n=n/10; } printf(“Reverse = %d”,r); } OUTPUT:
-
Program to Calculate Simple Interest in C language

This is the C program to calculate Simple Interest. We calculate simple interest to calculate interest charge on the loan. The following C program has been written and compiled on Dev C++. Code: #include<stdio.h> void main(){ int t; float p,r,si; printf(“Enter the Principle:”); scanf(“%f”,&p); printf(“Enter the Rate Of Interest:”); scanf(“%f”,&r); printf(“Enter the Time:”); scanf(“%d”,&t); si=(p*r*t)/100;…
-
Finding Area and Circumference of Circle in C Language
-
What to do after SQL injection: Finding Admin Panel

We have already talked about Error Based SQL Injection. If you missed my article on that here is the link: https://anonhack.in/2018/04/sql-injection-part-4getting-admin-password/ The question that arises after getting the username and MD5 hash as password is “where do you use those credentials?” The answer to this is simple if there is a user table with password, there…
-
C Program to Compare two Strings

-
Program to reverse a string in C Language
-
C Program to Swap two numbers with and without third variable

There are two ways to swap numbers using C language, one is with the help of temporary third variable and other is without the third variable. In this article, we will be looking at both of those approaches. Program to swap two number in C using Third/Temporary variable: #include<stdio.h> void main(){ int a,b,temp; printf(“Enter Two…




