Hax4us / Metasploit_termux

765 stars 181 forks source link

Metasploit #91

Open Soriful732 opened 2 years ago

darkangel-00 commented 2 years ago

~ $ chmod +x metasploit.sh && ./metasploit.sh chmod: cannot access 'metasploit.sh': No such file or directory ~ $ wget https://raw.githubusercontent.com/Hax4us/Metasploit_termux/master/metasploit.sh --2022-04-20 01:11:12-- https://raw.githubusercontent.com/Hax4us/Metasploit_termux/master/metasploit.sh Resolving raw.githubusercontent.com... 185.199.108.133 Connecting to raw.githubusercontent.com|185.199.108.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 2596 (2.5K) [text/plain] Saving to: ‘metasploit.sh’

metasploit.sh 100%[==================>] 2.54K --.-KB/s in 0.04s

2022-04-20 01:11:14 (58.4 KB/s) - ‘metasploit.sh’ saved [2596/2596]

~ $ chmod +x metasploit.sh && ./metasploit.sh Hit:2 https://packages-cf.termux.org/apt/termux-main stable InRelease Get:1 https://raw.githubusercontent.com/gushmazuko/metasploit_in_termux/master gushmazuko InRelease [7397 B] Fetched 7397 B in 5s (1414 B/s) Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date. Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Reading package lists... Done Building dependency tree... Done Reading state information... Done apr is already the newest version (1.7.0-7). apr-util is already the newest version (1.6.1-5). autoconf is already the newest version (2.71-2). binutils is already the newest version (2.38). bison is already the newest version (3.8.2-2). clang is already the newest version (14.0.0). coreutils is already the newest version (9.1). curl is already the newest version (7.82.0-1). findutils is already the newest version (4.9.0-1). git is already the newest version (2.35.3). libffi is already the newest version (3.4.2). libgmp is already the newest version (6.2.1-1). libgrpc is already the newest version (1.44.0-2). libiconv is already the newest version (1.16-3). libpcap is already the newest version (1.10.1-1). libsqlite is already the newest version (3.38.2). libtool is already the newest version (2.4.6-8). libxml2 is already the newest version (2.9.13). libxslt is already the newest version (1.1.35). make is already the newest version (4.3-2). ncurses is already the newest version (6.3). ncurses-utils is already the newest version (6.3). openssl is already the newest version (3.0.2). pkg-config is already the newest version (0.29.2-1). postgresql is already the newest version (14.2-3). readline is already the newest version (8.1.1). tar is already the newest version (1.34). termux-elf-cleaner is already the newest version (1.10). termux-tools is already the newest version (0.174). unzip is already the newest version (6.0-7). wget is already the newest version (1.21.3-2). zip is already the newest version (3.0-5). zlib is already the newest version (1.2.12). ruby is already the newest version (2.7.2-3). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 145 100 145 0 0 46 0 0:00:03 0:00:03 --:--:-- 46 100 65.1M 0 65.1M 0 0 104k 0 --:--:-- 0:10:36 --:--:-- 190k ERROR: Loading command: install (LoadError) dlopen failed: library "libssl.so.1.1" not found - /data/data/com.termux/files/usr/lib/ruby/2.7.0/arm-linux-androideabi/openssl.so ERROR: While executing gem ... (NoMethodError) undefined method invoke_with_build_args' for nil:NilClass ERROR: Loading command: install (LoadError) dlopen failed: library "libssl.so.1.1" not found - /data/data/com.termux/files/usr/lib/ruby/2.7.0/arm-linux-androideabi/openssl.so ERROR: While executing gem ... (NoMethodError) undefined methodinvoke_with_build_args' for nil:NilClass

Could not load OpenSSL. You must recompile Ruby with OpenSSL support or change the sources in your Gemfile from 'https' to 'http'. Instructions for compiling with OpenSSL using RVM are available at https://rvm.io/packages/openssl. Gems installed Creating database % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 162 100 162 0 0 131 0 0:00:01 0:00:01 --:--:-- 131 2022-04-20 01:23:38.454 CDT [2853] LOG: starting PostgreSQL 14.2 on arm-unknown-linux-androideabi, compiled by Android (7714059, based on r416183c1) clang version 12.0.8 (https://android.googlesource.com/toolchain/llvm-project c935d99d7cf2016289302412d708641d52d2f7ee), 32-bit 2022-04-20 01:23:38.455 CDT [2853] LOG: listening on IPv4 address "127.0.0.1", port 5432 2022-04-20 01:23:38.457 CDT [2853] LOG: listening on Unix socket "/data/data/com.termux/files/usr/tmp/.s.PGSQL.5432" 2022-04-20 01:23:38.470 CDT [2857] LOG: database system was shut down at 2022-04-20 01:23:38 CDT 2022-04-20 01:23:38.495 CDT [2853] LOG: database system is ready to accept connections % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 296 100 296 0 0 145 0 0:00:02 0:00:02 --:--:-- 146 you can directly use msfvenom or msfconsole rather than ./msfvenom or ./msfconsole. ~ $ df -h Filesystem Size Used Avail Use% Mounted on tmpfs 996M 800K 996M 1% /dev /dev/block/mmcblk0p23 1.0G 536M 541M 50% /system /dev/block/mmcblk0p15 387M 130M 250M 35% /vendor tmpfs 996M 0 996M 0% /mnt /dev/block/mmcblk0p24 341M 600K 333M 1% /cache /dev/block/dm-0 5.0G 4.6G 177M 97% /data /data/media 5.0G 4.6G 177M 97% /storage/emulated /mnt/media_rw/1CFC-0BF3 22G 18G 4.1G 82% /storage/1CFC-0BF3 ~ $ msfconsole Traceback (most recent call last): ruby: no Ruby script found in input (LoadError) ~ $)