gushmazuko / metasploit_in_termux

Install Metasploit Framework 6 in Termux

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] PLEASE HELP ME

Ghost2101-droid opened this issue · comments

When i open 'msfconsole' after installing the proccess

This command out like this.

No command msfconsole found, did you mean:
Command bconsole in package bacula-fd
Command jconsole in package openjdk-17

Screenshot_2023-03-29-22-49-01-350_com.termux.jpg

wait for it

try to remove puma and nio4r gem from Gemfile.lock
Screenshot_20230330-085300_Termux

Hi, please show me how to do it, I do not know how to do it 🥺

nio4r and puma gem is problem

https://github.com/socketry/nio4r.git clone this and goto that dir then run rake compile after successful compilation run rake release

if you have done correctly you will be able to install puma gem then its simple
Screenshot_20230330-161552_Termux

it doesn't work

remove rake and re install it

for removing gem:
gem uninstall rake

for installing gem:
gem install rake

did you see error incompatible function pointer type ?

I don't think so

IMG_20230330_142825.jpg

that's just

yes thats the error

how do I fix this?

open any editor like vim or nano or micro which is located in ext dir

complete location : /data/data/com.termux/files/home/nio4r/ext/nio4r/selector.c

it doesn't work

what to you mean by that, did u try open that selector.c using text editor ?

Yes, it doesn't work

send a screenshot

?

I don't have any folders

text editor in termux itself!!!! not other apk

Oh, I'm sorry

if you uncomfortable at what you are doing then just run this

sed -i '301 s/func/\&func/' /data/data/com.termux/files/home/nio4r/ext/nio4r/selector.c

exit from that vim

sed -i '301 s/func/\&func/' /data/data/com.termux/files/home/nio4r/ext/nio4r/selector.c

just run this

after that goto nio4r dir and type rake clean and rake compile

what are you doing vim ? as i told early if you not familiar with those dont do anything wrong if you mess with code then you need to do it from the beginning

Everything's fine, there doesn't seem to be a single mistake, what's next?

i told you to paste the command

sed -i '301 s/func/\&func/' /data/data/com.termux/files/home/nio4r/ext/nio4r/selector.c

just run this

?

after that goto nio4r dir and type rake clean and rake compile

do this and send screenshot

thats it

now run rake release it will create gem in pkg dir

goto pkg dir and run gem i nio4r-2.5.8.gem

installed ?

No, error

i didnt see any error

just run this cd pkg && gem i nio4r-2.5.8.gem

Screenshot_2023-03-30-15-31-38-002_com.termux.jpg

it turned out, what's next?

goto metasploit-framework and type bundle install thats it

how do I log in to the directory metasploit?

cd $PREFIX/opt/metasploit-framework/ && bundle install

Thank you very much, thank you

Thank you very much, thank you

share the screenshot

Omg thanks

Bro I can't understand bro please help me step by step 🥺🥺🥺

Omg thanks

Bro I can't understand please describe step by step 🥺🥺🥺 please,

just run this cd pkg && gem i nio4r-2.5.8.gem

Bro please describe step by step 🥺🥺🥺 please

just run this cd pkg && gem i nio4r-2.5.8.gem

Bro please describe step by step pleading_facepleading_facepleading_face please

Did you ask your issue in metasploit-framework ?

Bro I can't understand please describe step by step pleading_facepleading_facepleading_face please,

sorry i wont repeat that again see the above chats and do it yourself

Just tell me where to paste this comand
sed -i '301 s/func/&func/' /data/data/com.termux/files/home/nio4r/ext/nio4r/selector.c

just run this cd pkg && gem i nio4r-2.5.8.gem

It's not run not showing any error and not done it !! Only show it's run how to solve this ??

just run this cd pkg && gem i nio4r-2.5.8.gem

It's not run not showing any error and not done it !! Only show it's run how to solve this ??

?

commented

After uninstalling rake and re install it still rake compile command doesn't work

commented

After uninstalling rake and re install it still rake compile command doesn't work

Uploading Screenshot_2023-04-07-10-28-22-77_84d3000e3f4017145260f7618db1d683.jpg…

sed -i '301 s/func/\&func/' /data/data/com.termux/files/home/nio4r/ext/nio4r/selector.c

juts run it

it doesn't work i have error

~/nio4r $
~/nio4r $ rake clean                                    
rake aborted!                                          
 LoadError: cannot load such file -- rake/extensiontask
<internal:/data/data/com.termux/files/usr/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:85:in require'
<internal:/data/data/com.termux/files/usr/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:85:in require'
/data/data/com.termux/files/home/nio4r/rakelib/extension.rake:10:in `<top (required)>'                          (See full trace by running task with --trace)

remove rake and re install it

for removing gem: gem uninstall rake

for installing gem: gem install rake

Screenshot_20230411_195359

Bro , Please help me

slove it
(#252 (comment))

Fixed in latest update 47ea57e
Just update your Termux and reinstall:

source <(curl -fsSL https://kutt.it/msf)