TheFatRat icon indicating copy to clipboard operation
TheFatRat copied to clipboard

Mingw Compiler(Incorrect 64Bit Version for Fudwin in Fatrat)

Open gorkembutev opened this issue 1 year ago • 20 comments

I've been trying to solve this problem for days. I've tried everything but unsuccessful. Please help. VirtualBox_Kali-Linux-2022 2-virtualbox-amd64_25_07_2022_15_01_20

gorkembutev avatar Jul 28 '22 08:07 gorkembutev

Try this script that I made to solve the problem, always seems to work for me, even on newer versions of Kali

https://GitHub.com/Morsmalleo/TheFatRat-MinGW-fix

Morsmalleo avatar Jul 28 '22 08:07 Morsmalleo

Sorunu çözmek için yaptığım bu komut dosyasını deneyin, Kali'nin daha yeni sürümlerinde bile her zaman benim için çalışıyor gibi görünüyor

https://GitHub.com/Morsmalleo/TheFatRat-MinGW-fix

"chmod: cannot access 'MinGW.sh': No such file or directory " error pops up

gorkembutev avatar Jul 28 '22 11:07 gorkembutev

Sorunu çözmek için yaptığım bu komut dosyasını deneyin, Kali'nin daha yeni sürümlerinde bile her zaman benim için çalışıyor gibi görünüyor https://GitHub.com/Morsmalleo/TheFatRat-MinGW-fix

"chmod: cannot access 'MinGW.sh': No such file or directory " error pops up

Print screen please of when you ran the chmod command

Morsmalleo avatar Jul 28 '22 11:07 Morsmalleo

okey , ı trying

gorkembutev avatar Jul 28 '22 11:07 gorkembutev

The chmod command worked. and commands worked. but still have the same problem.

gorkembutev avatar Jul 28 '22 12:07 gorkembutev

Where do you think is the problem? Should I install the MinGW.sh package in the Thefatrat folder?

gorkembutev avatar Jul 28 '22 12:07 gorkembutev

Where do you think is the problem? Should I install the MinGW.sh package in the Thefatrat folder?

You'll need to fully uninstall TheFatRat

rm -rf TheFatRat

And then locate the symlinks for TheFatRat with command below

cd /usr/local/sbin && ls

Show print screen after running second command

Morsmalleo avatar Jul 28 '22 13:07 Morsmalleo

Where do you think is the problem? Should I install the MinGW.sh package in the Thefatrat folder?

No it doesn't matter where you run it, it will install the correct version for you, it always works for me when it comes to MinGW issues with TheFatRat.

Morsmalleo avatar Jul 28 '22 13:07 Morsmalleo

okey, thank you. I waiting.

gorkembutev avatar Jul 28 '22 13:07 gorkembutev

Where do you think is the problem? Should I install the MinGW.sh package in the Thefatrat folder?

You'll need to fully uninstall TheFatRat

rm -rf TheFatRat

And then locate the symlinks for TheFatRat with command below

cd /usr/local/sbin && ls

Show print screen after running second command

okey, thank you. I waiting.

Just edited the comment with new information

Morsmalleo avatar Jul 28 '22 13:07 Morsmalleo

okey, thank you. I waiting.

You'll need to fully uninstall TheFatRat

rm -rf TheFatRat

And then locate the symlinks for TheFatRat with command below

cd /usr/local/sbin && ls

Show print screen after running second command

Morsmalleo avatar Jul 28 '22 13:07 Morsmalleo

I did. After the second command, there was fatrat in it and I deleted it. And current situation .. Ekran Alıntısı

gorkembutev avatar Jul 29 '22 07:07 gorkembutev

Obtain TheFatRat again

git clone https://GitHub.com/Screetsec/TheFatRat

Delete my MinGW.sh file and obtain the updated one

wget https://raw.githubusercontent.com/Morsmalleo/TheFatRat-MinGW-fix/main/MinGW.sh

Run the MinGW file

./MinGW.sh

After it finishes run TheFatRat setup

cd TheFatRat && ./setup.sh

Morsmalleo avatar Jul 29 '22 08:07 Morsmalleo

Don't install in usr/local/sbin directory we only needed to delete symlinks from there.

Morsmalleo avatar Jul 29 '22 08:07 Morsmalleo

I changed the data in the sourceslist file, which codes should I write in it?

gorkembutev avatar Jul 29 '22 13:07 gorkembutev

Obtain TheFatRat again

git clone https://GitHub.com/Screetsec/TheFatRat

Delete my MinGW.sh file and obtain the updated one

wget https://raw.githubusercontent.com/Morsmalleo/TheFatRat-MinGW-fix/main/MinGW.sh

Run the MinGW file

./MinGW.sh

After it finishes run TheFatRat setup

cd TheFatRat && ./setup.sh

Okey, I trying

gorkembutev avatar Jul 29 '22 13:07 gorkembutev

I changed the data in the sourceslist file, which codes should I write in it?

Bro I never told you to touch your sources.list! Don't touch things if you don't how what you are doing! The script takes of everything for you

Morsmalleo avatar Jul 29 '22 22:07 Morsmalleo

One of the issues that everyone have with mingw in fatrat is that fatrat installs the correct version that it needs and then fatrat will work properly , but after user updates their system then that version of mingw is automatically upgraded to a new version when someone writes in a terminal "apt upgrade" , to not upgrade mingw to not damage fatrat then mingw packages must be put on "hold" , this means that apt-upgrade will not change its current version , apt-mark hold "package name" will prevent that package to be upgraded .

peterpt avatar Aug 28 '22 09:08 peterpt

The script is not working. image

naveedahmedindustryis avatar Dec 19 '22 02:12 naveedahmedindustryis

kanka çözebildin mi sorunu

fmunsal avatar Jun 22 '23 22:06 fmunsal