CodeA2 Posted December 21, 2013 Share Posted December 21, 2013 I have been trying to create a Hello world payload for MAC OSX Here is what I have DELAY 3000GUI RDELAY 500STRING texteditDELAY 500ENTERDELAY 750STRING Hello World!!!ENTER I can't get it to work. :( Quote Link to comment Share on other sites More sharing options...
no42 Posted December 21, 2013 Share Posted December 21, 2013 (edited) Try: DELAY 3000 COMMAND SPACE DELAY 500 STRING textedit DELAY 500 ENTER DELAY 750 STRING Hello World!!! ENTER Edited January 9, 2014 by midnitesnake Quote Link to comment Share on other sites More sharing options...
CodeA2 Posted December 22, 2013 Author Share Posted December 22, 2013 (edited) No luck. I even made a small change to it: DELAY 3000 COMMAND-SPACE DELAY 500 STRING textedit DELAY 500 ENTER DELAY 750 COMMAND-N // this is so that it will open a new document DELAY 750 STRING Hello World!!! ENTER Note: I am using Sublime Text editor to create the script and replace the .bin file. I don't think this effects anything does it? Edited December 22, 2013 by CodeA2 Quote Link to comment Share on other sites More sharing options...
Mit0s1s Posted December 22, 2013 Share Posted December 22, 2013 (edited) Here ya go. I just got the Duck a couple days ago and have been messing with OSX scripts DELAY 3000 GUI SPACE DELAY 500 STRING TextEdit ENTER DELAY 750 GUI N DELAY 750 STRING Hello World!!! ENTER by the way im using the Ducky Toolkit online to make the .bin files. http://ducktoolkit-411.rhcloud.com/Home.jsp Edited December 22, 2013 by Amylase Quote Link to comment Share on other sites More sharing options...
Mit0s1s Posted December 22, 2013 Share Posted December 22, 2013 Here is another Hello World, but this one writes a little Hello World bash script then removes after running. DELAY 2000 GUI SPACE DELAY 500 STRING Terminal ENTER DELAY 300 STRING nano helloWorld.sh ENTER DELAY 300 STRING #!/bin/bash ENTER STRING STR="Hello World!!" ENTER STRING echo $STR ENTER CONTROL X DELAY 300 ENTER STRING Y ENTER DELAY 300 STRING chmod +x helloWorld.sh ENTER DELAY 300 STRING ./helloWorld.sh ENTER DELAY 300 STRING rm helloWorld.sh ENTER Quote Link to comment Share on other sites More sharing options...
CodeA2 Posted December 22, 2013 Author Share Posted December 22, 2013 Worked like a charm! thank you. Quote Link to comment Share on other sites More sharing options...
Mit0s1s Posted December 22, 2013 Share Posted December 22, 2013 No problem. Quote Link to comment Share on other sites More sharing options...
CodeA2 Posted December 22, 2013 Author Share Posted December 22, 2013 (edited) Question: for some of the windows payloads do you need to keep the USB connected for it to work? for example: You can select screenshots and other info be sent to a gmail account. Does it work only if the USB is connected or will it continue to run that script after the usb is disconnected? Second question is how do you stop it? Edited December 22, 2013 by CodeA2 Quote Link to comment Share on other sites More sharing options...
no42 Posted December 22, 2013 Share Posted December 22, 2013 It will only run the script while connected. Unless your ducky script creates a batch file (*.bat), in which case you should be able to unplug the duck - once the batch-file is executed! Quote Link to comment Share on other sites More sharing options...
CodeA2 Posted December 23, 2013 Author Share Posted December 23, 2013 Thanks! Quote Link to comment Share on other sites More sharing options...
carmelo42 Posted January 8, 2014 Share Posted January 8, 2014 I have a little question : on some version of Mac OS X (Mavericks for example) there is no keyboard shortcut activated by default for Spotlight search ... so COMMAND + SPACE does not work. How can I do this on a computer with no keyboard shortcut for spotlight : I need to launch the terminal app Quote Link to comment Share on other sites More sharing options...
no42 Posted January 9, 2014 Share Posted January 9, 2014 "Command space" should work... strange, I just tried it on Mavericks? Quote Link to comment Share on other sites More sharing options...
Mit0s1s Posted January 9, 2014 Share Posted January 9, 2014 it works on mine also Quote Link to comment Share on other sites More sharing options...
cursedsnake12 Posted March 6, 2014 Share Posted March 6, 2014 Command Space does not work for me either so far i have only tested on 10.7.5 macs but still i dont see what the problem is Quote Link to comment Share on other sites More sharing options...
no42 Posted March 8, 2014 Share Posted March 8, 2014 Which firmware are you running? that could be the issue? 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.