-
DC-9 Vulnhub Walkthrough – OSCP way

-
Pwned Vulnhub Walkthrough

Pwned vulnhub challenge is an easy boot2root machine. One of the key take away from this machine is how you can escalate your privileges using Dockers. This blog post is about how I exploited this machine and what are the different tools I used to make that happen. Below are the requirements: You can get…
-
Program to Find Fibonacci Series using Shell Script

-
Program to Calculate Combination [nCr] in Bash: Shell Scripting
![Program to Calculate Combination [nCr] in Bash: Shell Scripting](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
The following shell scripting program is written in bash to calculate combination formula which is n! /(n-r)!r!. Code: #!/bin/bash clear echo “Program to find Combination in Probability” function fact { mul=1 i=$1 while [[ $i -gt 1 ]] do sub=`expr $i – 1` mul=`expr $mul \* $i` i=$sub done echo $mul } echo “Enter value…
-
Shell Scripting Program to check if a Number is Palindrome

Palindrome Numbers are the numbers whose reverse will also give you the same number. For Example, 567 is not a palindrome number because the reverse of 567 is 765 which is not same as the number, whereas 8778 is a palindrome which on reverse will also give the same number. Following is a shell scripting…
-
Bash Program to check if a number is Armstrong:Shell Scripting



