├── LICENSE ├── README.md ├── bars ├── backup.sh ├── restore.sh └── update.sh └── snap.sh /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019 N17R0 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |

2 | 3 |

4 |

5 | 6 | 7 | 8 |

9 |

10 | 11 |

12 |

13 | 14 | 15 |

16 |

17 | 18 | 19 | 20 | 21 | 22 | 23 |

24 | 25 | ## ABOUT TOOL : 26 | 27 | Snap is a bash based script for zsh based termux and from this tool you can do many things like backup termux and restoring backups and etc.. this tool works on both rooted and non-rooted devices so you can use it wihtout any issues. 28 | 29 |

30 |

31 | 32 | ## AVAILABLE ON : 33 | 34 | * Termux 35 | 36 | ### TESTED ON : 37 | 38 | * Termux 39 | 40 | ### REQUIREMENTS : 41 | * internet 42 | * external storage permission 43 | * storage 400 MB 44 | * 1gb ram 45 | 46 | ## FEATURES : 47 | * [+] Backup any core tool ! 48 | * [+] Updated maintainence ! 49 | * [+] Easy for beginners ! 50 | * [+] Perfect tool for termux ! 51 | 52 | ## INSTALLATION [Termux] : 53 | 54 | * `apt-get update -y` 55 | * `apt-get upgrade -y` 56 | * `pkg install python -y` 57 | * `pkg install python2 -y` 58 | * `pkg install git -y` 59 | * `pip install lolcat` 60 | * `git clone https://github.com/noob-hackers/snap` 61 | * `cd $HOME` 62 | * `ls` 63 | * `cd snap` 64 | * `ls` 65 | * `bash snap.sh` 66 | ``` 67 | [+]-- Now you need internet connection to continue further process... 68 | [+]-- You can select any option by clicking on your keyboard 69 | [+]-- Note:- Don't delete any of the scripts included in bars directory (folder) 70 | ``` 71 | ## USAGE OPTIONS [Termux] : 72 | 73 | __TERMUX BACKUP__ : 74 | - From this option you can backup all the tools and default bash terminal script into your internal stoarge without any issue and you can restore it at any time. 75 | 76 | __TERMUX RESTORE__ : 77 | - From this option you can restore the backup tools of termux and default terminal as it was first. 78 | 79 | __UPDATE SCRIPT__ : 80 | - From this option you can update snap tool if updates are available for that. 81 | 82 | __EXIT__ : 83 | - From this option you can exit from snap tool. 84 | 85 | ## SCREEN SHOTS [Termux] 86 | 87 |
88 |

89 | 90 | 91 |

92 | 93 | ## WATCH VIDEO [Termux] 94 | 95 | [![des](https://user-images.githubusercontent.com/49580304/96466915-3c2ea080-11df-11eb-8328-100ca165c12c.jpg)](https://rebrand.ly/rcentvideo) 96 | 97 | ## CONNECT WITH US : 98 | 99 | [![Messenger](https://img.shields.io/badge/Chat-Messenger-blue?style=for-the-badge&logo=messenger)](https://rebrand.ly/fbmsnger) 100 | 101 | [![Instagram](https://img.shields.io/badge/INSTAGRAM-FOLLOW-red?style=for-the-badge&logo=instagram)](https://rebrand.ly/insgrm) 102 | [![Instagram](https://img.shields.io/badge/WEBSITE-VISIT-yellow?style=for-the-badge&logo=blogger)](https://rebrand.ly/noobwebs) 103 | [![Instagram](https://img.shields.io/badge/LINKEDIN-CONNECT-red?style=for-the-badge&logo=linkedin)](https://rebrand.ly/linkedinprof) 104 | [![Instagram](https://img.shields.io/badge/FACEBOOK-LIKE-red?style=for-the-badge&logo=facebook)](https://rebrand.ly/fsbpage) 105 | [![Instagram](https://img.shields.io/badge/TELEGRAM-CHANNEL-red?style=for-the-badge&logo=telegram)](https://rebrand.ly/telegramchnl) 106 | [![Instagram](https://img.shields.io/badge/WHATSAPP-JOINGROUP-red?style=for-the-badge&logo=whatsapp)](https://rebrand.ly/hckrgroups) 107 | [![Instagram](https://img.shields.io/badge/DISCUSSION-FORUM-blue?style=for-the-badge&logo=forum)](https://rebrand.ly/nhforums) 108 | 109 | 110 | ## BUY ME A COFFEE : 111 | 112 |

113 | 114 |

115 | 116 | ## WARNING : 117 | ***This tool is only for educational purpose. If you use this tool for other purposes except education we will not be responsible in such cases.*** 118 | -------------------------------------------------------------------------------- /bars/backup.sh: -------------------------------------------------------------------------------- 1 | # A tool by nitrp from www.noob-hackers.com 2 | # Be a unique person not copy cat 3 | # Colours 4 | #----------------- 5 | red='\033[1;31m' 6 | rset='\033[0m' 7 | grn='\033[1;32m' 8 | ylo='\033[1;33m' 9 | blue='\033[1;34m' 10 | cyan='\033[1;36m' 11 | pink='\033[1;35m' 12 | #----------------- 13 | clear 14 | termux-setup-storage 15 | echo 16 | echo 17 | echo -e " $red Backup progress started please wait.$rset" 18 | sleep 1.0 19 | clear 20 | echo 21 | echo 22 | echo -e " $red Backup progress started please wait...$rset" 23 | sleep 1.0 24 | clear 25 | echo 26 | echo 27 | echo -e " $red Backup progress started please wait....$rset" 28 | sleep 2.0 29 | clear 30 | echo 31 | echo 32 | echo -e " $red Backup progress started please wait......$rset" 33 | sleep 2.0 34 | echo " " 35 | clear 36 | if [ -d $cd /sdcard/snapbackup ]; then 37 | clear 38 | echo 39 | echo 40 | echo -e " $grn Backup already exist please restore it or delete it$rset" 41 | sleep 8.0 42 | cd $HOME 43 | cd snap 44 | bash snap.sh 45 | else 46 | cd $HOME 47 | rm -rf storage 48 | cd .. 49 | cd usr 50 | cd etc 51 | cp bash.bashrc $HOME 52 | cd $HOME 53 | mkdir toss 54 | cd toss 55 | mkdir snapbackup 56 | cd $HOME 57 | cp -rf * $HOME/toss/snapbackup 58 | cd toss 59 | cd snapbackup 60 | rm -rf toss 61 | cd $HOME/toss 62 | mv snapbackup /sdcard 63 | cd $HOME 64 | rm bash.bashrc 65 | rm -rf toss 66 | cd /sdcard/snapbackup 67 | rm -rf snap 68 | fi 69 | echo 70 | echo 71 | echo -e " $grn Backup successfull....$rset" 72 | sleep 6.0 73 | cd $HOME/snap 74 | bash snap.sh 75 | -------------------------------------------------------------------------------- /bars/restore.sh: -------------------------------------------------------------------------------- 1 | # A tool by nitro from www.noob-hackers.com 2 | # Be a unique person not copy cat 3 | # Colours 4 | #----------------- 5 | red='\033[1;31m' 6 | rset='\033[0m' 7 | grn='\033[1;32m' 8 | ylo='\033[1;33m' 9 | blue='\033[1;34m' 10 | cyan='\033[1;36m' 11 | pink='\033[1;35m' 12 | #----------------- 13 | clear 14 | termux-setup-storage 15 | echo 16 | echo 17 | echo -e " $red Restoring progress started please wait.$rset" 18 | sleep 1.0 19 | clear 20 | echo 21 | echo 22 | echo -e " $red Restoring progress started please wait...$rset" 23 | sleep 1.0 24 | clear 25 | echo 26 | echo 27 | echo -e " $red Restoring progress started please wait....$rset" 28 | sleep 2.0 29 | clear 30 | echo 31 | echo 32 | echo -e " $red Restoring progress started please wait......$rset" 33 | sleep 2.0 34 | echo " " 35 | clear 36 | cd /sdcard 37 | mv snapbackup $HOME 38 | cd $HOME 39 | cd snapbackup 40 | mv * $HOME 41 | cd $HOME 42 | mv bash.bashrc /data/data/com.termux/files/usr/etc 43 | cd $HOME 44 | rm -rf snapbackup 45 | cd $HOME 46 | sleep 2.0 47 | echo 48 | echo 49 | echo -e " $grn Restoring Completed sir........$rset" 50 | echo 51 | echo 52 | sleep 8.0 53 | cd $HOME 54 | cd snap 55 | bash snap.sh 56 | -------------------------------------------------------------------------------- /bars/update.sh: -------------------------------------------------------------------------------- 1 | # A tool by nitrp from www.noob-hackers.com 2 | # Be a unique person not copy cat 3 | # Colours 4 | #----------------- 5 | red='\033[1;31m' 6 | rset='\033[0m' 7 | grn='\033[1;32m' 8 | ylo='\033[1;33m' 9 | blue='\033[1;34m' 10 | cyan='\033[1;36m' 11 | pink='\033[1;35m' 12 | #----------------- 13 | clear 14 | sleep 1.0 15 | echo 16 | echo 17 | echo -e " $grn Update is in progress............$rset" 18 | echo 19 | sleep 2.0 20 | clear 21 | echo 22 | echo 23 | echo -e " $grn Update is in progress............$rset" 24 | echo 25 | sleep 2.0 26 | clear 27 | echo 28 | echo 29 | echo -e " $grn Update is in progress............$rset" 30 | echo 31 | sleep 2.0 32 | clear 33 | echo 34 | echo 35 | cd $HOME 36 | rm -rf snap 37 | git clone https://github.com/noob-hackers/snap 38 | cd $HOME 39 | cd snap 40 | bash snap.sh 41 | exit 42 | 43 | -------------------------------------------------------------------------------- /snap.sh: -------------------------------------------------------------------------------- 1 | # A tool by nitrp from www.noob-hackers.com 2 | # Be a unique person not copy cat 3 | # Colours 4 | #----------------- 5 | red='\033[1;31m' 6 | rset='\033[0m' 7 | grn='\033[1;32m' 8 | ylo='\033[1;33m' 9 | blue='\033[1;34m' 10 | cyan='\033[1;36m' 11 | pink='\033[1;35m' 12 | #----------------- 13 | # Coding starts 14 | clear 15 | echo ' 16 | .--. .--, 17 | | | / / 18 | | | / / 19 | | | / / 20 | | |/ ;-._ 21 | } ` _/ / ; 22 | | /` ) / / 23 | | / /_/\_/\ 24 | |/ / | 25 | ( \ - | 26 | \ `. / 27 | | | 28 | | | 29 | _ 30 | _ __ _ |_) 31 | _> | |(_||v1.0 '|lolcat 32 | echo 33 | 34 | echo -e "$red ▶ Coded by$grn N17RO$red ◀$rset" 35 | echo -e "$red ⫸$ylo YOUTUBE- Noob Hackers$red ⫷$rset" 36 | echo 37 | # Functions 38 | echo -e "$red [NOTE:- NEED INTERNET CONNECTION]$rset" 39 | echo " " 40 | echo " " 41 | echo -e "$grn >>>>>>>>$ylo [Options]$grn <<<<<<<<$rset" 42 | echo " " 43 | echo " " 44 | echo -e "$red ➡$cyan [1️⃣] Termux backup" 45 | echo -e "$red ➡$cyan [2️⃣] Termux restore" 46 | echo -e "$red ➡$cyan [3️⃣] Update script" 47 | echo -e "$red ➡$cyan [4️⃣] Exit" 48 | echo " " 49 | echo " " 50 | echo -e "$grn >>>>>>$ylo [SELECT]$grn <<<<<<$rset" 51 | echo " " 52 | echo -e "$cyan [[[$ylo Select any option$cyan]]]$rset" 53 | echo " " 54 | read n 55 | case "$n" in 56 | 1)echo " " 57 | echo " " 58 | echo " " 59 | echo -e "$red You are going to$grn Backup$red Termux$rset" 60 | echo " " 61 | echo -e "$grn Press$ylo ENTER$red to continue$rset" 62 | echo " " 63 | read hulke 64 | cd $HOME/snap/bars 65 | echo " " 66 | echo -e "$ylo To terminate the process click$red 't'$ylo or to continue click on$grn ENTER$rset" 67 | read choice 68 | if [ $choice = 't' ] ; then 69 | echo -e "$red Are you sure? Press$grn ENTER$red to exit$rset" 70 | read hulkee 71 | cd $HOME/snap/ 72 | bash snap.sh 73 | else 74 | bash backup.sh 75 | echo " " 76 | echo " " 77 | echo -e "$grn >>>>>>>>>$ylo [EXIT]$grn <<<<<<<<<$rset" 78 | echo " " 79 | echo -e "$cyan click$grn ENTER$cyan to go back into snap menu$rset" 80 | echo " " 81 | read punch 82 | fi 83 | cd $HOME/snap 84 | bash snap.sh ;; 85 | 86 | 2)echo " " 87 | echo " " 88 | echo " " 89 | echo -e "$red You are going to$red Restore termux$rset " 90 | echo " " 91 | echo -e "$grn Press$ylo ENTER$grn to continue$rset" 92 | echo " " 93 | read nitro 94 | cd $HOME/snap/bars 95 | echo " " 96 | echo -e "$ylo To terminate the process click$red 't' $ylo or to continue click on$grn ENTER$rset" 97 | read choice 98 | if [ $choice = 't' ] ; then 99 | echo -e "$red Are you sure? Press$grn ENTER$red to exit$rset" 100 | read nitroo 101 | cd $HOME/snap 102 | bash snap.sh 103 | else 104 | bash restore.sh 105 | echo " " 106 | echo " " 107 | echo -e "$grn >>>>>>>$ylo [EXIT]$grn <<<<<<<<<$rset" 108 | echo " " 109 | echo -e "$cyan click$grn ENTER$cyan to go back into snap menu$rset" 110 | echo " " 111 | read punch 112 | fi 113 | cd $HOME/snap 114 | bash snap.sh ;; 115 | 3)echo " " 116 | echo " " 117 | echo " " 118 | echo -e "$red You are going to$grn Update the$red Script$rset " 119 | echo " " 120 | echo -e "$grn Press$ylo ENTER$grn to continue$rset" 121 | echo " " 122 | read mon 123 | cd $HOME/snap/bars 124 | echo " " 125 | echo -e "$ylo To terminate the process click$red 't' $ylo or to continue click on$grn ENTER$rset" 126 | read choice 127 | if [ $choice = 't' ] ; then 128 | echo -e "$red Are you sure? Press$grn ENTER$red to exit$rset" 129 | read monn 130 | cd $HOME/snap 131 | bash snap.sh 132 | else 133 | bash update.sh 134 | echo " " 135 | echo " " 136 | echo -e "$grn >>>>>>>>$ylo [EXIT]$grn <<<<<<<<<$rset" 137 | echo " " 138 | echo -e "$cyan click$grn ENTER$cyan to go back into snap menu$rset" 139 | echo " " 140 | read punch 141 | fi 142 | cd $HOME/snap 143 | bash snap.sh ;; 144 | 4) 145 | sleep 2.0 146 | clear 147 | echo " " 148 | echo -e "$grn 149 | ____ _ _ ____ ____ _ _ ___ 150 | ( _ \( \/ )( ___) ( _ \( \/ )( ___) 151 | ) _ < \ / )__) ) _ < \ / )__) 152 | (____/ (__) (____) (____/ (__) (____)...$cyan have a awesome day$rset" 153 | echo " " 154 | echo " " 155 | cd $HOME 156 | esac 157 | --------------------------------------------------------------------------------