├── main ├── .myip.sh ├── motd ├── parrot1 └── arrows ├── install.sh ├── README.md ├── LICENSE └── parrot.sh /main/.myip.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | echo 3 | ifconfig | grep broadcast | awk '{print " Here is your IP "$2}' 4 | echo 5 | -------------------------------------------------------------------------------- /install.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | sed -i -e 's/\r$//' parrot.sh 3 | chmod +x parrot.sh 4 | pkg update 5 | pkg upgrade 6 | pkg install figlet -y 7 | pkg install toilet -y 8 | pkg install pv -y 9 | clear 10 | ls 11 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Parrot-in-Termux2 2 | A new version of parrot in termux added new features such as extra arrows and shortcut keys and new font color. 3 | 4 | ## Update 5 | 1. You can now use custom name. 6 | 2. Some code changes 7 | ## Installation 8 | 1. `pkg install git -y` 9 | 2. `git clone https://github.com/7wp81x/Parrot-in-Termux2` 10 | 3. `cd Parrot-in-Termux2` 11 | 4. `sh install.sh` 12 | 5. `sh parrot.sh` 13 | -------------------------------------------------------------------------------- /main/motd: -------------------------------------------------------------------------------- 1 | 2 | Welcome to Termux! 3 | 4 | Community forum: https://termux.com/community 5 | Gitter chat: https://gitter.im/termux/termux 6 | IRC channel: #termux on freenode 7 | 8 | Working with packages: 9 | 10 | * Search packages: pkg search 11 | * Install a package: pkg install 12 | * Upgrade packages: pkg upgrade 13 | 14 | Subscribing to additional repositories: 15 | 16 | * Root: pkg install root-repo 17 | * Unstable: pkg install unstable-repo 18 | * X11: pkg install x11-repo 19 | 20 | Report issues at https://termux.com/issues 21 | 22 | The Google Play version of the Termux app no longer 23 | receives updates. For more information, visit: 24 | https://wiki.termux.com/wiki/Termux_Google_Play 25 | 26 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | This is free and unencumbered software released into the public domain. 2 | 3 | Anyone is free to copy, modify, publish, use, compile, sell, or 4 | distribute this software, either in source code form or as a compiled 5 | binary, for any purpose, commercial or non-commercial, and by any 6 | means. 7 | 8 | In jurisdictions that recognize copyright laws, the author or authors 9 | of this software dedicate any and all copyright interest in the 10 | software to the public domain. We make this dedication for the benefit 11 | of the public at large and to the detriment of our heirs and 12 | successors. We intend this dedication to be an overt act of 13 | relinquishment in perpetuity of all present and future rights to this 14 | software under copyright law. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 19 | IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR 20 | OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 21 | ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 22 | OTHER DEALINGS IN THE SOFTWARE. 23 | 24 | For more information, please refer to 25 | -------------------------------------------------------------------------------- /main/parrot1: -------------------------------------------------------------------------------- 1 | if [ -x /data/data/com.termux/files/usr/libexec/termux/command-not-found ]; then 2 | command_not_found_handle() { 3 | /data/data/com.termux/files/usr/libexec/termux/command-not-found "$1" 4 | } 5 | fi 6 | clear 7 | alias la='ls -la' 8 | alias cls='clear' 9 | alias quit='exit' 10 | alias myip="echo [*] IP: $(ifconfig | grep broadcast | awk {'print $2}')" 11 | c='\033[36;1m' #cyan 12 | b='\033[34;1m' #blue 13 | g='\033[32;1m' #g3en 14 | p='\033[35;1m' #purple 15 | r='\033[31;1m' #red 16 | w='\033[37;1m' #white 17 | y='\033[33;1m' #yellow 18 | o='\033[1;38;5;208m' #Orange 19 | printf $c 20 | echo " 21 | .'. 22 | xxxxxxodxxl; 23 | dkxkkxxkkkkkkkx' 24 | ,k'..cxkkkkkkkkkkl. 25 | , 'xkkkkkkkkkkc 26 | ckkkkOOOOOOk, 27 | 'kOkkkOOOOOOd. 28 | ;:::dOOOOOOOc 29 | Hack like a Pro. .OOOOOO00O; 30 | Think like a Kid. l00000O;d0x. 31 | Make it simple. .O00000. .,l: 32 | And you will dOO000c . 33 | SUCCEED. .O0O00O 34 | c00'O0. 35 | - Mr.P1r4t3 O0 .x; 36 | c0. , 37 | k' 38 | ,, 39 | " 40 | echo 41 | printf $g" You Are Not Alone." 42 | echo 43 | echo 44 | printf $c" ┍━━━━━━━━━━━━━━━━━━━━┑" 45 | echo 46 | printf $c" │"$g" Welcome "$r" Mr.H4ck3r "$c"│" 47 | echo 48 | printf $c" └────────────────────┘" 49 | echo 50 | echo 51 | PS1="\[\033[1;31m\]\342\224\214\342\224\200\$([[ \$? != 0 ]] && echo \"[\[\033[1;31m\]\342\234\227\[\033[1;91m\]]\342\224\200\")[$(if [[ ${EUID} == 0 ]]; then echo '\[\033[01;31m\]root\[\033[01;33m\]@\[\033[01;96m\]\h'; else echo '\[\033[1;39m\]USERNAME\[\033[01;33m\]@\[\033[01;96m\]Termux'; fi)\[\033[1;31m\]]\342\224\200[\[\033[1;32m\]\w\[\033[1;31m\]]\n\[\033[1;31m\]\342\224\224\342\224\200\342\224\200\342\225\274 \[\033[0m\]\[\e[01;33m\]\\$ \[\e[1;32m\]" 52 | 53 | #PS1='\$ ' 54 | 55 | -------------------------------------------------------------------------------- /main/arrows: -------------------------------------------------------------------------------- 1 | ### After making changes and saving you need to run `termux-reload-settings` 2 | ### to update the terminal. All information here can also be found on the 3 | ### wiki: https://wiki.termux.com/wiki/Terminal_Settings 4 | 5 | ############### 6 | # Extra keys 7 | ############### 8 | 9 | ### Settings for choosing which set of symbols to use for illustrating keys. 10 | ### Choose between default, arrows-only, arrows-all, all and none 11 | # extra-keys-style = default 12 | 13 | ### Default extra-key configuration 14 | # extra-keys = [[ESC, TAB, CTRL, ALT, {key: '-', popup: '|'}, DOWN, UP]] 15 | 16 | ### Two rows with more keys 17 | extra-keys = [['ESC','/','-','HOME','UP','END','PGUP'], \ 18 | ['TAB','CTRL','ALT','LEFT','DOWN','RIGHT','PGDN']] 19 | 20 | ### Configuration with additional popup keys (swipe up from an extra key) 21 | # extra-keys = [[ \ 22 | # {key: ESC, popup: {macro: "CTRL f d", display: "tmux exit"}}, \ 23 | # {key: CTRL, popup: {macro: "CTRL f BKSP", display: "tmux ←"}}, \ 24 | # {key: ALT, popup: {macro: "CTRL f TAB", display: "tmux →"}}, \ 25 | # {key: TAB, popup: {macro: "ALT a", display: A-a}}, \ 26 | # {key: LEFT, popup: HOME}, \ 27 | # {key: DOWN, popup: PGDN}, \ 28 | # {key: UP, popup: PGUP}, \ 29 | # {key: RIGHT, popup: END}, \ 30 | # {macro: "ALT j", display: A-j, popup: {macro: "ALT g", display: A-g}}, \ 31 | # {key: KEYBOARD, popup: {macro: "CTRL d", display: exit}} \ 32 | # ]] 33 | 34 | ############### 35 | # Colors/themes 36 | ############### 37 | 38 | ### Force black colors for drawer and dialogs 39 | # use-black-ui = true 40 | 41 | ############### 42 | # Keyboard shortcuts 43 | ############### 44 | 45 | ### Open a new terminal with ctrl + t (volume down + t) 46 | shortcut.create-session = ctrl + t 47 | 48 | ### Go one session down with (for example) ctrl + 2 49 | shortcut.next-session = ctrl + 2 50 | 51 | ### Go one session up with (for example) ctrl + 1 52 | shortcut.previous-session = ctrl + 1 53 | ### Rename a session with (for example) ctrl + n 54 | # shortcut.rename-session = ctrl + n 55 | 56 | ############### 57 | # Bell key 58 | ############### 59 | 60 | ### Vibrate device (default). 61 | # bell-character = vibrate 62 | 63 | ### Beep with a sound. 64 | # bell-character = beep 65 | 66 | ### Ignore bell character. 67 | # bell-character = ignore 68 | 69 | ############### 70 | # Back key 71 | ############### 72 | 73 | ### Send the Escape key. 74 | # back-key=escape 75 | 76 | ### Hide keyboard or leave app (default). 77 | # back-key=back 78 | 79 | ############### 80 | # Keyboard issue workarounds 81 | ############### 82 | 83 | ### Letters might not appear until enter is pressed on Samsung devices 84 | # enforce-char-based-input = true 85 | 86 | ### ctrl+space (for marking text in emacs) does not work on some devices 87 | # ctrl-space-workaround = true 88 | -------------------------------------------------------------------------------- /parrot.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | #Mar 27, 2021 22:02:23 GMT+08:00 3 | #author p1r4t3 4 | #don't copy my script make your own script kiddie 5 | clear 6 | sleep 1 7 | b='\033[34;1m' #blue 8 | g='\033[32;1m' #g3en 9 | p='\033[35;1m' #purple 10 | c='\033[36;1m' #cyan 11 | r='\033[31;1m' #red 12 | w='\033[37;1m' #white 13 | y='\033[33;1m' #yellow 14 | o='\033[1;38;5;208m' #Orange 15 | printf $g 16 | figlet -f slant " ParrotOS" 17 | echo $c" Coded by "":"$g" P1r4t3" 18 | echo $c" Version "":"$g" 3.0" 19 | echo $c" Youtube "":"$g" Mr.P1r4t3" 20 | echo $c " ___________________________________________" 21 | echo $p " 1."$g "[✓]"$c "Parrot os Theme + Extra keys." 22 | echo $p " 2."$g "[✓]"$c "Remove Theme." 23 | echo $p " 0."$g "[*]"$c "Exit." 24 | echo $c " ———————————————————————————————————————————" 25 | while true; do 26 | printf $g 27 | read -p " Select Option: " yn 28 | case $yn in 29 | 30 | 0) 31 | echo " Exiting..." 32 | sleep 3 33 | clear 34 | bash 35 | exit; 36 | break;; 37 | 38 | 1) clear 39 | printf $c 40 | figlet -f slant " Parrot" 41 | echo $g" Coded By Mr.P1r4t3" 42 | read -p " [?] Enter Username: " USERNAME 43 | cat $HOME/Parrot-in-Termux2/main/parrot1 | sed "s/USERNAME/$USERNAME/g" > $HOME/Parrot-in-Termux2/main/parrot 44 | read -p " [?] Are you sure about the username(Y/n)?: " userz 45 | case $userz in 46 | y) 47 | cd $PREFIX/etc 48 | mv motd $HOME/Parrot-in-Termux2/main 49 | cp $HOME/Parrot-in-Termux2/main/parrot $PREFIX/etc 50 | cd $PREFIX/etc 51 | echo $b" ["$g"*"$b"]"$c" Installing Parrot os theme."| pv -qL 20 52 | mv bash.bashrc bash.bashrc.bak 53 | mv parrot bash.bashrc 54 | sleep 4 55 | echo $b" ["$g"*"$b"]"$c" Parrot os theme Successfully installed.."| pv -qL 20 56 | sleep 2 57 | echo $b" ["$g"*"$b"]"$c" Installing Extra arrows and shortcut keys"| pv -qL 20 58 | sleep 5 59 | cd $HOME/Parrot-in-Termux2/main/ 60 | cp arrows termux.properties 61 | cd $HOME/.termux/ 62 | mv termux.properties termux.properties.bak 63 | cd $HOME/Parrot-in-Termux2/main/ 64 | mv termux.properties $HOME/.termux 65 | cp $HOME/Parrot-in-Termux2/main/.myip.sh $PREFIX/etc 66 | echo $b" ["$g"✓"$b"]"$c" Extra arrows and shortcuts Successfully installed."| pv -qL 20 67 | echo $b" [ List"$g"of"$b"Shortcuts KEYS ]"| pv -qL 20 68 | echo $g" ✓"$c" Ctrl + t "$g" - Create session."| pv -qL 20 69 | echo $g" ✓"$c" Ctrl + 1 "$g" - Previous session."| pv -qL 20 70 | echo $g" ✓"$c" Ctrl + 2 "$g" - Next session."| pv -qL 20 71 | echo $g" ✓"$c" Ctrl + n "$g" - Rename session."| pv -qL 20 72 | echo $g" ✓"$c" myip "$g" - Show your ip."| pv -qL 20 73 | echo $g" ✓"$c" la "$g" - just like ls but have more info."| pv -qL 20 74 | echo $g" ✓"$c" cls "$g" - clear screen"| pv -qL 20 75 | echo $g" ✓"$c" quit "$g" - exit"| pv -qL 20 76 | sleep 4 77 | echo $b" ["$g"✓"$b"]"$g" Just type 'bash' or restart your termux to check theme." | pv -qL 20 78 | ;; 79 | *) 80 | exit 1 81 | esac 82 | break;; 83 | 84 | 2) clear 85 | printf $c 86 | figlet -f slant "Parrot" 87 | echo $g" Created By Mr.P1r4t3" 88 | sleep 4 89 | echo $b"["$r"*"$b"]"$r" Warning!!!."| pv -qL 20 90 | echo $b"["$g"*"$b"]"$r" Do not leave or exit.."| pv -qL 20 91 | cd $PREFIX/etc 92 | mv $HOME/Parrot-in-Termux2/main/motd $PREFIX/etc 93 | cp $HOME/Parrot-in-Termux2/main/parrot $PREFIX/etc 94 | cd $PREFIX/etc 95 | echo $b"["$g"*"$b"]"$c" Removing Parrot os theme."| pv -qL 20 96 | sleep 3 97 | rm bash.bashrc 98 | mv bash.bashrc.bak bash.bashrc 99 | cd 100 | echo $b"["$g"*"$b"]"$c" Removing extra arrows."| pv -qL 20 101 | cd .termux 102 | rm -rf termux.properties 103 | mv termux.properies.bak termux.properties 104 | rm $PREFIX/etc/.myip.sh 105 | echo $b"["$g"✓"$b"]"$c" Parrot os theme Successfuly removed."| pv -qL 20 106 | sleep 4 107 | clear 108 | bash 109 | break;; 110 | 111 | *) 112 | echo $c" Please select option." 113 | esac 114 | done 115 | --------------------------------------------------------------------------------