|
| 1 | +# *************************************************************************************** # |
| 2 | +# ---------------------------------- EULA NOTICE ---------------------------------------- # |
| 3 | +# Agreement between "Haroon Awan" and "You"(user). # |
| 4 | +# ---------------------------------- EULA NOTICE ---------------------------------------- # |
| 5 | +# 1. By using this piece of software your bound to these point. # |
| 6 | +# 2. This an End User License Agreement (EULA) is a legal between a software application # |
| 7 | +# author "Haroon Awan" and (YOU) user of this software. # |
| 8 | +# 3. This software application grants users rights to use for any purpose or modify and # |
| 9 | +# redistribute creative works. # |
| 10 | +# 4. This software comes in "is-as" warranty, author "Haroon Awan" take no responsbility # |
| 11 | +# what you do with by/this software as your free to use this software. # |
| 12 | +# 5. Any other purpose(s) that it suites as long as it is not related to any kind of # |
| 13 | +# crime or using it in un-authorized environment. # |
| 14 | +# 6. You can use this software to protect and secure your data information in any # |
| 15 | +# environment. # |
| 16 | +# 7. It can also be used in state of being protection against the unauthorized use of # |
| 17 | +# information. # |
| 18 | +# 8. It can be used to take measures achieve protection. # |
| 19 | +# *************************************************************************************** # |
| 20 | + |
| 21 | +#!/bin/bash |
| 22 | + |
| 23 | +red="\e[0;31m" |
| 24 | +green="\e[0;32m" |
| 25 | +off="\e[0m" |
| 26 | + |
| 27 | +function banner() { |
| 28 | +clear |
| 29 | +echo " "; |
| 30 | +echo " "; |
| 31 | +echo " "; |
| 32 | +echo " .########...########..######.....#######...##....##.....######.....#######....######....########......########.. "; |
| 33 | +echo " .##.....##..##.......##....##..##.....##..###...##....##....##...##.....##...##...##...##.....##....##.....##. "; |
| 34 | +echo " .##.....##..##.......##........##.....##..####..##....##.........##.....##...##..##....##......##...##.....##. "; |
| 35 | +echo " .########...######...##........##.....##..##.##.##....##.........##.....##...##..##....#########....#########. "; |
| 36 | +echo " .##...##....##.......##........##.....##..##..####....##.........##.....##...##...##...##....##.....##.....##. "; |
| 37 | +echo " .##....##...##.......##....##..##.....##..##...###....##....##...##.....##...##...###..##.....##....##.....##. "; |
| 38 | +echo " .##.....##..########..######....#######...##....##.....######.....#######....#######...##......##...##.....##. "; |
| 39 | +echo " Ultimate Recon and Foot Printing Software Version 1.0a "; |
| 40 | +echo " [Coded By: Haroon Awan] "; |
| 41 | +echo " [Contact: mrharoonawan@gmail.com] "; |
| 42 | +echo " "; |
| 43 | +echo " "; |
| 44 | +echo " "; |
| 45 | +} |
| 46 | + |
| 47 | +function linux() { |
| 48 | +echo -e "$red [$green+$red]$off Installing Perl ..."; |
| 49 | +sudo apt-get install -y perl |
| 50 | +echo -e "$red [$green+$red]$off Installing JSON Module ..."; |
| 51 | +cpan install JSON |
| 52 | +echo -e "$red [$green+$red]$off Installing Extra Perl Modules ..."; |
| 53 | +echo "y" | cpan install WWW::Mechanize |
| 54 | +echo "y" | cpan install use HTML::TokeParser |
| 55 | +echo "y" | cpan install Term::ANSIColor |
| 56 | +echo "y" | cpan install Mojo::DOM |
| 57 | +echo "y" | cpan install Data::Dumper |
| 58 | +echo "y" | cpan install Win32::Console::ANSI |
| 59 | +echo "y" | cpan install HTML::TableExtract |
| 60 | +echo "y" | cpan install Data::Validate::Domain |
| 61 | +echo "y" | cpan install LWP::Protocol::https |
| 62 | +echo "y" | cpan install Mozilla::CA |
| 63 | +echo "y" | cpan install Bundle::LWP |
| 64 | + |
| 65 | + |
| 66 | +echo -e "$red [$green+$red]$off Checking directories..." |
| 67 | +if [ -d "/usr/share/ReconCobra" ]; then |
| 68 | + echo -e "$red [$green+$red]$off A Directory ReconCobra Was Found! Do You Want To Replace It? [Y/n]:" ; |
| 69 | + read replace |
| 70 | + if [ "$replace" = "Y" ]; then |
| 71 | + sudo rm -r "/usr/share/ReconCobra" |
| 72 | + sudo rm "/usr/share/icons/ReconCobra.png" |
| 73 | + sudo rm "/usr/share/applications/ReconCobra.desktop" |
| 74 | + sudo rm "/usr/local/bin/ReconCobra" |
| 75 | + |
| 76 | +else |
| 77 | +echo -e "$red [$green+$red]$off If You Want To Install You Must Remove Previous Installations"; |
| 78 | + exit |
| 79 | + fi |
| 80 | +fi |
| 81 | + |
| 82 | +echo -e "$red [$green+$red]$off Installing ..."; |
| 83 | +echo -e "$red [$green+$red]$off Creating Symbolic Link ..."; |
| 84 | +echo -e "#!/bin/bash |
| 85 | +perl /usr/share/ReconCobra/ReconCobra.pl" '${1+"$@"}' > "ReconCobra"; |
| 86 | + chmod +x "ReconCobra"; |
| 87 | + sudo mkdir "/usr/share/ReconCobra" |
| 88 | + sudo cp "installer.sh" "/usr/share/ReconCobra" |
| 89 | + sudo cp "ReconCobra.pl" "/usr/share/ReconCobra" |
| 90 | + sudo cp "config/ReconCobra.jpeg" "/usr/share/icons" |
| 91 | + sudo cp "config/ReconCobra.desktop" "/usr/share/applications" |
| 92 | + sudo cp "ReconCobra" "/usr/local/bin/" |
| 93 | + rm "ReconCobra"; |
| 94 | + |
| 95 | +echo -e "$red [$green+$red]$off Installing dependencies..." |
| 96 | +echo "y" | apt-get install xdg-utils |
| 97 | +echo "y" | apt-get install cargo |
| 98 | +echo "y" | apt-get install python-yaml |
| 99 | +echo "y" | apt-get install hping3 |
| 100 | +echo "y" | apt-get install python2.7 |
| 101 | +echo "y" | apt-get install python3 |
| 102 | +echo "y" | apt-get install x11-utils xutils-dev imagemagick libxext-dev xspy |
| 103 | +echo "y" | apt-get install golang |
| 104 | +echo "y" | apt-get install curl |
| 105 | +echo "y" | apt-get install nfs-common |
| 106 | +echo "y" | apt-get install smbclient |
| 107 | +echo "y" | apt-get install gem |
| 108 | +gem install whois |
| 109 | +gem install wayback_machine_downloader |
| 110 | +echo "y" | apt-get install perl-LWP-Protocol-https |
| 111 | +echo "y" | git clone https://github.com/xroche/httrack.git --recurse |
| 112 | +cd httrack |
| 113 | +./configure --prefix=$HOME/usr && make -j8 && make install |
| 114 | +cd .. |
| 115 | +echo "y" | git clone https://github.com/haroonawanofficial/cobra.git |
| 116 | +echo "y" | git clone https://github.com/haroonawanofficial/maahro.git |
| 117 | +echo "y" | git clone https://github.com/haroonawanofficial/ShaheenX.git |
| 118 | +echo "y" | git clone https://github.com/chenjj/CORScanner.git |
| 119 | +cd CORScanner |
| 120 | +echo "y" | apt-get install python-pip |
| 121 | +echo "y" | apt-get install python3-pip |
| 122 | +pip install -r requirements.txt |
| 123 | +cd .. |
| 124 | +echo "y" | git clone https://github.com/stormshadow07/HackTheWorld.git |
| 125 | +cd HackTheWorld |
| 126 | +chmod +x install.sh && ./install.sh |
| 127 | +cd .. |
| 128 | +echo "y" | git clone https://github.com/threat9/routersploit |
| 129 | +cd routersploit |
| 130 | +sudo apt-get install python-setuptools |
| 131 | +pip install setuptools |
| 132 | +python setup.py install |
| 133 | +sudo pip install -r requirements.txt |
| 134 | +cd .. |
| 135 | +echo "y" | git clone https://github.com/yassineaboukir/Asnlookup.git |
| 136 | +echo "y" | git clone https://github.com/m4ll0k/Infoga.git |
| 137 | +cd infoga |
| 138 | +python2 setup.py install |
| 139 | +echo "y" | git clone https://github.com/exiftool/exiftool.git |
| 140 | +echo "y" | git clone https://github.com/GerbenJavado/LinkFinder.git |
| 141 | +echo "y" | git clone https://github.com/sensepost/BiLE-suite.git |
| 142 | +echo "y" | git clone https://github.com/haroonawanofficial/vasl.git |
| 143 | +echo "y" | git clone https://github.com/haroonawanofficial/panthera.git |
| 144 | +echo "y" | git clone https://github.com/naqushab/SearchEngineScrapy.git |
| 145 | +echo "y" | git clone https://github.com/heycam/json-describe |
| 146 | +cd json-describe |
| 147 | +cargo build |
| 148 | +cd .. |
| 149 | +echo "y" | apt-get install nmap |
| 150 | +echo "y" | apt-get install xrdp |
| 151 | +pip install jsbeautifier |
| 152 | +pip install argparse |
| 153 | +pip install requests |
| 154 | +pip install request |
| 155 | +cd SearchEngineScrapy |
| 156 | +pip install -r requirements.txt |
| 157 | +sudo virtualenv --python="2" env |
| 158 | +sudo env/bin/activate |
| 159 | +cd .. |
| 160 | +echo "y" | git clone https://github.com/FortyNorthSecurity/EyeWitness.git |
| 161 | +cd EyeWitness/setup |
| 162 | +chmod u+x setup.sh |
| 163 | +./setup.sh |
| 164 | +cd .. |
| 165 | +cd .. |
| 166 | +chmod u+x *.sh |
| 167 | +cp * -r /usr/share/ReconCobra |
| 168 | +cp *.sh /usr/share/ReconCobra |
| 169 | +chmod -R 777 /usr/share/ReconCobra |
| 170 | +chmod -R 777 ./ |
| 171 | +cat traceroute-function >> ~/.bashrc |
| 172 | +source ~/.bashrc |
| 173 | + |
| 174 | +if [ -d "/usr/share/ReconCobra" ] ; |
| 175 | +then |
| 176 | +echo -e "$red [$green+$red]$off ReconCobra Successfully Installed, Starting"; |
| 177 | +sleep 2; |
| 178 | +ReconCobra |
| 179 | +else |
| 180 | +echo -e "$red [$green+$red]$off ReconCobra Cannot Be Installed. Trying using Portable Edition !"; |
| 181 | + exit |
| 182 | +fi |
| 183 | +} |
| 184 | + |
| 185 | +if [ -d "/usr/bin/" ];then |
| 186 | +banner |
| 187 | +echo -e "$red [$green+$red]$off ReconCobra Will Be Installed In Your System"; |
| 188 | +linux |
| 189 | +else |
| 190 | +echo -e "$red [$green+$red]$off ReconCobra Cannot Be Installed. Trying using Portable Edition !"; |
| 191 | + exit |
| 192 | +fi |
0 commit comments