# INSTALL SharpSocks under Wine ssh -X # allow x forwarding for wine install mkdir ~/SharpSocks cd ~/SharpSocks sudo dpkg --add-architecture i386 sudo apt-get update apt-get install wget software-properties-common python-software-properties cabextract -yy wget -nc https://repos.wine-staging.com/wine/Release.key sudo apt-key add Release.key rm Release.key sudo apt-add-repository 'https://dl.winehq.org/wine-builds/ubuntu/' sudo apt-get update sudo apt-get install --install-recommends winehq-stable -yy sudo apt-get install mono-complete mono-reference-assemblies-2.0 mono-reference-assemblies-3.5 mono-reference-assemblies-4.0 proxychains -yy export WINEDEBUG=-all winecfg # Wine will ask you to install a Wine Mono package # Wine will ask you to install a Gecko package # Wine will open config editor, click ok wget -O NDesk.Options.dll "https://github.com/nettitude/SharpSocks/blob/master/Binaries/SharpSocksServerTestApp/NDesk.Options.dll?raw=true" wget -O SharpSocksServer.dll "https://github.com/nettitude/SharpSocks/blob/master/Binaries/SharpSocksServerTestApp/SharpSocksServer.dll?raw=true" wget -O SharpSocksServerTestApp.exe "https://github.com/nettitude/SharpSocks/blob/master/Binaries/SharpSocksServerTestApp/SharpSocksServerTestApp.exe?raw=true" wget -O SharpSocksServerTestApp.exe.config "https://github.com/nettitude/SharpSocks/blob/master/Binaries/SharpSocksServerTestApp/SharpSocksServerTestApp.exe.config?raw=true" wget -O TunnelingSocksServer.dll "https://github.com/nettitude/SharpSocks/blob/master/Binaries/SharpSocksServerTestApp/TunnelingSocksServer.dll?raw=true" If there is no folder here: /root/.wine/drive_c/windows/Microsoft.NET/ Try this wget http://dl.winehq.org/wine/wine-mono/4.7.1/wine-mono-4.7.1.msi wine uninstaller # then point to the msi file and see if the folder is installed. # RUNNING SharpSocks under Wine cd ~/SharpSocks WINEDEBUG=-all wine SharpSocksServerTestApp.exe -c TUgugRaZZxvbeSrgCyTEzQvlV -k Gnx4iyV9bVPIO9ugLfZExlAJyG07Gmmu1PcmiFKEzpk= -l http://`hostname -I` # IMPLANT SIDE Sharpsocks -Client -Uri http:/// -Channel TUgugRaZZxvbeSrgCyTEzQvlV -Key Gnx4iyV9bVPIO9ugLfZExlAJyG07Gmmu1PcmiFKEzpk= -URLs "GoPro5/black/2018/","Philips/v902/" -Insecure -Beacon 2000