mvrozanti / RAT-via-Telegram

Windows Remote Administration Tool via Telegram
MIT License
646 stars 347 forks source link

Cant run the RATAttack.exe on Windows server 2012 #63

Closed insecureboy closed 5 years ago

insecureboy commented 5 years ago

just trying on my windows 2012 server and it cant run. do i need install the requirements on the client pc?

log on window: C:\Users\myself\AppData\Local\Temp2_MEI23882\VCRRUNTIME140.dll is either not designed to run on Windows or it contains an error. Try installing the program again using the original installation media or contact your system administrator or the software vendor for support. Error status 0x000007b.

log on cmd: C:\Users\myself\Desktop>C:\Users\myself\Desktop\RATAttack.exe Error loading Python DLL 'C:\Users\myself\AppData\Local\Temp\2_MEI23882\python 36.dll'. No error messages generated. FormatMessageW: The parameter is incorrect. LoadLibrary: PyInstaller: FormatMessageW failed.

mvrozanti commented 5 years ago

Does C:\Users\myself\AppData\Local\Temp2_MEI23882\VCRRUNTIME140.dll exist?

Looks like you're missing the right version for VCRRUNTIME. #59 and #42 might give some insight on what to do next.

DoggeXL commented 5 years ago

I have the exact same problem on windows 10. I've installed the Visual studio c++ 2015 package along with some other ones, got the same error on another distribution of windows 10.

mvrozanti commented 5 years ago

I don't have a Win10 copy at the moment so I'm not sure how to reproduce this. Have you checked if VCRRUNTIME140.dll exists?

DoggeXL commented 5 years ago

Yes i have

Den tor 14 feb. 2019 23:26 skrev Marcelo notifications@github.com:

I don't have a Win10 copy at the moment so I'm not sure how to reproduce this. Have you checked if VCRRUNTIME140.dll exists?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mvrozanti/RAT-via-Telegram/issues/63#issuecomment-463827048, or mute the thread https://github.com/notifications/unsubscribe-auth/AkMjtFFWKi70ZAjpcxlodmEZX127n1tdks5vNeKRgaJpZM4a1hbR .

normaliok commented 5 years ago

So, mvrozanti, how can we fix this problem? Is there a workaround?

mvrozanti commented 5 years ago

sadly, until someone with your OS specs shows up, no. I'm open to any contributions though.

apioff commented 5 years ago

Here is how i fixed mine

Turn windows features on or off
Skip the roles screen and directly go to Feature screen
Select "Desktop Experience" under "User Interfaces and Infrastructure"

After this all required dll of opencv would be available.

mvrozanti commented 5 years ago

@Trustdee thanks for the tip. Have you tested if this works for you @normaliok?

normaliok commented 5 years ago

@Trustdee thanks for the tip. Have you tested if this works for you @normaliok?

No, I've just installed everything about C language (SDK, Visual Studio building sets etc.) on my virtual machine with RAT server part and then edit some part of the python pyinstaller script (I found this solution somewhere on github) to exclude VCRRUNTIME140.dll from being compressed during compile. Now it works fine. I've cloned this prepared virtual machine especially for RAT )))))