gushmazuko / metasploit_in_termux

Install Metasploit Framework 6 in Termux
MIT License
1.6k stars 266 forks source link

[BUG] PLEASE HELP ME #237

Closed Ghost2101-droid closed 1 year ago

Ghost2101-droid commented 1 year ago

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

Ghost2101-droid commented 1 year ago

@dedshit @gushmazuko

dedshit commented 1 year ago

wait for it

dedshit commented 1 year ago

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

Ghost2101-droid commented 1 year ago

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

Ghost2101-droid commented 1 year ago

Screenshot_2023-03-30-12-27-18-326_com.termux.jpg

Ghost2101-droid commented 1 year ago

Screenshot_2023-03-30-13-08-33-739_com.termux.jpg

dedshit commented 1 year ago

nio4r and puma gem is problem

dedshit commented 1 year ago

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

dedshit commented 1 year ago

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

Ghost2101-droid commented 1 year ago

Screenshot_2023-03-30-14-00-45-202_com.termux.jpg

Ghost2101-droid commented 1 year ago

it doesn't work

dedshit commented 1 year ago

remove rake and re install it

for removing gem: gem uninstall rake

for installing gem: gem install rake

Ghost2101-droid commented 1 year ago

Screenshot_2023-03-30-14-18-00-224_com.termux.jpg

Ghost2101-droid commented 1 year ago

Screenshot_2023-03-30-14-18-11-007_com.termux.jpg

Ghost2101-droid commented 1 year ago

Screenshot_2023-03-30-14-21-18-741_com.termux.jpg

dedshit commented 1 year ago

did you see error incompatible function pointer type ?

Ghost2101-droid commented 1 year ago

I don't think so

Ghost2101-droid commented 1 year ago

IMG_20230330_142825.jpg

that's just

dedshit commented 1 year ago

yes thats the error

Ghost2101-droid commented 1 year ago

how do I fix this?

dedshit commented 1 year ago

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

Ghost2101-droid commented 1 year ago

it doesn't work

dedshit commented 1 year ago

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

Ghost2101-droid commented 1 year ago

Yes, it doesn't work

dedshit commented 1 year ago

send a screenshot

Ghost2101-droid commented 1 year ago

Screenshot_2023-03-30-14-46-19-396_com.alphainventor.filemanager.jpg

dedshit commented 1 year ago

?

Ghost2101-droid commented 1 year ago

I don't have any folders

dedshit commented 1 year ago

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

Ghost2101-droid commented 1 year ago

Oh, I'm sorry

Ghost2101-droid commented 1 year ago

Screenshot_2023-03-30-14-49-50-230_com.termux.jpg

Ghost2101-droid commented 1 year ago

Screenshot_2023-03-30-14-53-44-300_com.termux.jpg

dedshit commented 1 year ago

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

Ghost2101-droid commented 1 year ago

Screenshot_2023-03-30-14-58-34-595_com.termux.jpg

dedshit commented 1 year ago

exit from that vim

dedshit commented 1 year ago

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

just run this

dedshit commented 1 year ago

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

Ghost2101-droid commented 1 year ago

Screenshot_2023-03-30-15-04-42-544_com.termux.jpg

dedshit commented 1 year ago

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

Ghost2101-droid commented 1 year ago

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

dedshit commented 1 year ago

i told you to paste the command

dedshit commented 1 year ago

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

just run this

?

Ghost2101-droid commented 1 year ago

Yes

dedshit commented 1 year ago

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

do this and send screenshot

Ghost2101-droid commented 1 year ago

Screenshot_2023-03-30-15-12-56-144_com.termux.jpg

Ghost2101-droid commented 1 year ago

Screenshot_2023-03-30-15-13-21-729_com.termux.jpg

dedshit commented 1 year ago

thats it

dedshit commented 1 year ago

now run rake release it will create gem in pkg dir

Ghost2101-droid commented 1 year ago

Screenshot_2023-03-30-15-16-46-738_com.termux.jpg

dedshit commented 1 year ago

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