Cobra Forum

Linux => New to Ubuntu => Topic started by: mahesh on Oct 06, 2023, 07:42 AM

Title: set enviroment variable to metasploit
Post by: mahesh on Oct 06, 2023, 07:42 AM
hello i have the following question. i want to create a connection between metasploit and the tool TheFatRat. although i have both programs installed the program can't find the access to metasploit. i think i have to set an environment variable. but i don't know how



#daniel@da-m82:~/TheFatRat$ sudo ./chk_tools
--------- TheFatRat tools version check----------
---- ---------------------------------------------
* - Checking Netcat (Net Check)...............[✔]
* - Checking Xterm (Terminal).................[✔]
* - Checking Dig (Dns-Util)...................[✔]
* - Checking mono-mcs (compiler)..............[✔]
* - Checking Gcc (compiler)...................[✔]
* - Checking Apache2 (Web Server).............[✔]
* - Checking Gnome Terminal (Terminal)........[✔]
* - Checking Upx (File Compressor)............[✔]
* - Checking Ruby (Programming)...............[✔]
* - Checking Gem (Ruby modules installer).....[✔]
* - Checking nokogiri (Ruby module)...........Error loading RubyGems plugin "/var/lib/gems/2.7.0/plugins/yard_plugin.rb": cannot load such file -- /tmp/bundler20210924-25520-loag3tyard-0.9.26/gems/yard-0.9.26/lib/rubygems_plugin.rb (LoadError)
[✔]
* - Checking Openssl (Certificates)...........[✔]
* - Checking Python3 (Programming)............[✔]
* - Checking Python-pip3 (Module Installer)...[✔]
* - Checking names (python module)............[✔]
* - Checking Build-Essential (Cross Compiler).[✔]
* - Checking Python-Dev (Compiler)............[✔]
* - Checking lib32z1 (apk Req.)...............[✔]
* - Checking lib32ncurses5 (apk Req.).........[✔]
* - Checking lib32stdc++6 (apk Req.)..........[✔]
* - Checking Jarsigner (apk Req.).............[✔]
* - Checking Keytool (apk Req.)...............[✔]
* - Checking Unzip (Unpacker).................[✔]
* - Checking Zipalign (Apk Req.)..............[✔]
* - Checking Mingw 64 Bit (Compiler)..........
------------Solution -------------
Step 1 - Run Setup from fatrat

chmod +x setup.sh && ./setup.sh

----------------------------------
* - Checking Mingw 32 Bit (Compiler)..........
------------Solution -------------
Step 1 - Run setup from fatrat

chmod +x setup.sh && ./setup.sh
----------------------------------


* - Checking Dx (Apk Req.)....................[✔]
* - Checking Aapt (Apk Req.)..................[✔]
* - Checking Apktool (Apk Req.)...............[✔]
* - Checking Baksmali (Apk Req.)..............[✔]
* - Checking Metasploit-Framework (msfc)......Install using kali repository
* - Checking Metasploit-Framework (msfv)......Install using kali repository
* - Checking Backdoor Factory (exe backdoor)..[✔]
* - Checking Searchsploit (exploit db)........Install using kali repository/Ignore in case manually installed #