TonyPartyNose Posted August 13, 2015 Share Posted August 13, 2015 So I have tried the following: - online encoder - default duckyencode - duckyencoder from midnitesnake All with this payload to begin with: https://github.com/hak5darren/USB-Rubber-Ducky/wiki/Payload---osx-youtube-blaster Sometimes the spotlight is not opened correctly, but always ENTER presses are not set right. If it opens terminal, string for volume is put in, but no enter pressed. Then string open youtube is put in, and then ENTER is pressed but of course it can't open it since the command is wrong (two commands in one line). Who can help me get over this noobishness? Quote Link to comment Share on other sites More sharing options...
V3sth4cks153 Posted August 13, 2015 Share Posted August 13, 2015 (edited) So I have tried the following: - online encoder - default duckyencode - duckyencoder from midnitesnake All with this payload to begin with: https://github.com/hak5darren/USB-Rubber-Ducky/wiki/Payload---osx-youtube-blaster Sometimes the spotlight is not opened correctly, but always ENTER presses are not set right. If it opens terminal, string for volume is put in, but no enter pressed. Then string open youtube is put in, and then ENTER is pressed but of course it can't open it since the command is wrong (two commands in one line). Who can help me get over this noobishness? I think this might be a delay issue... Try adding more delay at the beginning of the script (something like "DELAY 5000" should be fine), and also increasing the delays between each command. I hope this helps you ! V3sth4cks153. Edited August 13, 2015 by V3sth4cks153 Quote Link to comment Share on other sites More sharing options...
TonyPartyNose Posted August 31, 2015 Author Share Posted August 31, 2015 I've managed to solve this by adding a few delays, but the main fix was adding a space after setting the volume since in some languages or settings, the apostrof isn't automatically set, only when a character or space is followed by it. So here is my adaptation, probably smaller delays would still work: DELAY 1000 GUI SPACE DELAY 2000 STRING terminal DELAY 500 ENTER DELAY 1000 STRING osascript -e 'set volume 7' DELAY 500 SPACE DELAY 500 ENTER DELAY 500 STRING open DELAY 500 ENTER Quote Link to comment Share on other sites More sharing options...
TonyPartyNose Posted August 31, 2015 Author Share Posted August 31, 2015 I've managed to solve this by adding a few delays, but the main fix was adding a space after setting the volume since in some languages or settings, the apostrof isn't automatically set, only when a character or space is followed by it. So here is my adaptation, probably smaller delays would still work: DELAY 1000 GUI SPACE DELAY 2000 STRING terminal DELAY 500 ENTER DELAY 1000 STRING osascript -e 'set volume 7' DELAY 500 SPACE DELAY 500 ENTER DELAY 500 STRING open DELAY 500 ENTER Quote Link to comment Share on other sites More sharing options...
V3sth4cks153 Posted August 31, 2015 Share Posted August 31, 2015 I've managed to solve this by adding a few delays, but the main fix was adding a space after setting the volume since in some languages or settings, the apostrof isn't automatically set, only when a character or space is followed by it. So here is my adaptation, probably smaller delays would still work: DELAY 1000 GUI SPACE DELAY 2000 STRING terminal DELAY 500 ENTER DELAY 1000 STRING osascript -e 'set volume 7' DELAY 500 SPACE DELAY 500 ENTER DELAY 500 STRING open DELAY 500 ENTER Great ! I'm glad you found a solution to your problem ! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.