├── README.md ├── exploitbuffer └── source_code.c /README.md: -------------------------------------------------------------------------------- 1 |

Buffer Overflow Vulnerability Exploiter 💀

2 |
Build
3 |

4 | Follow on Social Media Platforms 5 |

6 |

7 | 8 |

9 | 10 | # ScreenShots👨🏼‍💻 11 | ![Screenshot from 2020-11-07 14-34-40](https://user-images.githubusercontent.com/57313495/98437160-1c1b3e80-2106-11eb-88bb-af8dd73476ee.png) 12 | 13 | 14 | # INSTALLATION [ TERMUX APP --ANDROID ]🔥 15 | * git clone https://github.com/Predator0x300/exploitbuffer 16 | * ./exploitbuffer 17 | 18 | # INSTALLATION [ KALI ]🔥🔥🔥 19 | * git clone https://github.com/Predator0x300/exploitbuffer 20 | * ./exploitbuffer 21 | 22 | # Usage 🙋🏻‍♀️ 23 | * Commands for Execution: 24 | * /etc/rc, /etc/profile.d/, ~/.bash_login, /etc/resolv.conf, ETC... 25 | 26 | # TESTED ON FOLLOWING:👌🏻- 27 | * Kali Linux - 2020.1a (version)👍🏻 28 | * Parrot OS - Rolling Edition (version) 29 | * Ubuntu 30 | * Arch Linux 31 | * Termux App 32 | # LANGUAGE 33 | * C 34 | 35 | 36 | # Contact For Contribute & Issues 📲 37 | 38 | EMAIL FOR ISSUES AND CONTRIBUTE : predator0x300@gmail.com 39 | 40 | # DISCLAIMER 💡💡💡 41 | TO BE USED FOR EDUCATIONAL PURPOSES ONLY 42 | 43 | The use of the ExploitBuffer is COMPLETE RESPONSIBILITY of the END-USER. Developers assume NO liability and are NOT responsible for any misuse or damage caused by this program. 44 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /exploitbuffer: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/M4xSec/exploitbuffer/ba50f967e7e257028fc7195a30b2d2c7ef281f85/exploitbuffer -------------------------------------------------------------------------------- /source_code.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | void main() { 6 | system("clear"); 7 | printf(" \033[0;31m /$$$$$$$$ /$$ /$$ /$$ /$$$$$$$ /$$$$$$ /$$$$$$ \033[0m \n" 8 | " \033[0;31m | $$_____/ | $$ |__/ | $$ | $$__ $$ /$$__ $$ /$$__ $$ \033[0m \n" 9 | " \033[0;31m | $$ /$$ /$$ /$$$$$$ | $$ /$$$$$$ /$$ /$$$$$$ | $$ $$ /$$ /$$| $$ __/| $$ __//$$$$$$ /$$$$$$\033[0m \n" 10 | " \033[0;31m| $$$$$ | $$ /$$/ /$$__ $$| $$ /$$__ $$| $$|_ $$_/ | $$$$$$$ | $$ | $$| $$$$ | $$$$ /$$__ $$ /$$__ $$\033[0m \n" 11 | " \033[0;31m | $$__/ $$$$/ | $$ $$| $$| $$ $$| $$ | $$ | $$__ $$| $$ | $$| $$_/ | $$_/ | $$$$$$$$| $$ \\__/\033[0m \n" 12 | " \033[0;31m | $$ >$$ $$ | $$ | $$| $$| $$ | $$| $$ | $$ /$$ | $$ $$| $$ | $$| $$ | $$ | $$_____/| $$ \033[0m \n" 13 | " \033[0;31m | $$$$$$$$ /$$/ $$| $$$$$$$/| $$| $$$$$$/| $$ | $$$$/ | $$$$$$$/| $$$$$$/| $$ | $$ | $$$$$$$| $$ \033[0m \n" 14 | " \033[0;31m |________/|__/ __/| $$____/ |__/ ______/ |__/ ___/ |_______/ ______/ |__/ |__/ _______/|__/ \033[0m \n" 15 | " \033[0;31m | $$ \033[0m \n" 16 | " \033[0;31m | $$ \033[0m \n" 17 | " \033[0;31m |__/ \033[0m \n"); 18 | printf("\t\t\t\t\t\t\t\t\033[0;32m--------------------> Coded By:\033[0m "); 19 | int length; 20 | char words[] = "\033[1;32mPredator0x300 <--------------------\033[0m\n"; 21 | for (length = 0; length < strlen(words); length++) { 22 | sleep(0.9); 23 | putchar(words[length]); 24 | fflush(stdout); 25 | } 26 | printf("{+} Pls Wait!\n"); 27 | int length1; 28 | 29 | char words1[] = "\033[1;31mLoading....\033[0m\n"; 30 | for (length1 = 0; length1 < strlen(words1); length1++) { 31 | sleep(1); 32 | putchar(words1[length1]); 33 | fflush(stdout); 34 | } 35 | 36 | char *initial_memory; 37 | initial_memory = malloc(10); 38 | char *execution; 39 | execution = malloc(128); 40 | printf("\033[1;32m{+} Initial Memory address: %d\n", initial_memory); 41 | sleep(0.9); 42 | printf("\033[1;32m{+} Final Memory address: %d\n", execution); 43 | sleep(0.9); 44 | int roll = printf("\033[1;32m{+} Allocated space between %d & % is: %d\n",initial_memory,execution, execution-initial_memory); 45 | sleep(0.9); 46 | if(roll == 16){ 47 | char character_y[40]; 48 | char character_z[40]; 49 | strcpy(character_y,"nnnnnnnnnnnnnnnn"); 50 | printf("*Enter the command for execution: \n"); 51 | fgets(character_z, sizeof(character_z), stdin); 52 | printf("\033[0;31m{+} Data Fetched: \033[0m \n"); 53 | strcat(character_y, character_z); 54 | printf("\033[0;31mExecuted: %s\033[0m", character_z); 55 | strcpy(initial_memory, character_y); 56 | 57 | system(execution); 58 | } 59 | else{ 60 | char character_y[40]; 61 | char character_z[40]; 62 | strcpy(character_y,"nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn"); 63 | printf("\033[0;31mEnter the command for execution: \033[0m\n"); 64 | fgets(character_z, sizeof(character_z), stdin); 65 | printf("\033[0;31m{+} Data Fetched: \033[0m \n"); 66 | strcat(character_y, character_z); 67 | printf("Executed: %s", character_z); 68 | strcpy(initial_memory, character_y); 69 | 70 | system(execution); 71 | } 72 | 73 | } --------------------------------------------------------------------------------