[](https://github.com/narstybits/MacOS-DuckyScripts)
XRemote(BETA) Thanks to wrenchathome Step by Step Directions to get you up and running will be posted Below!
🔹 First, always read the Remarks. You will see "REM," which is used to explain the purpose of each line or provide instructions to the user. It's very important to always READ the REMs!
🔹 Here are a few strings you will normally see in my scripts as well as their function/purpose:
If you're a visual learner like me, check out this detailed tutorial: How 2 Flipper Guide
The VendorID and ProductID combination helps the operating system identify the specific device (in this case the FLipper Zero) and load the appropriate drivers or configurations I.E. (Apple keyboard).
'ID 05ac:021e Apple:Keyboard'
This code enables the `ignorespace` option for the command history, preventing commands with a leading space from being stored in the shell history. Big shoutout to FalsePhilosopher for helping me create this string!
'echo -e "export HISTCONTROL=ignorespace\nunset HISTFILE" >> ~/.bashrc && source ~/.bashrc && exec bash
This string removes the specific command from the history, ensuring minimal traces are left behind. This helps maintain discretion and privacy.
history -d $(history | tail -n 2 | head -n 1 | awk '{ print $1 }')'
2. (If you Downloaded the .txt you can skip these next two steps) Once you've copied and pasted the code into your preferred program, you will need to export or save the file to your desktop as a .txt file!
3. You can type .txt after the file name, and it will prompt you to save the file as a .txt.
4. Now, you can plug the flipper in and open up the File Manager, navigate to the SD card, and open up the BADUSB file within the SD card.
5. This is where you can drag and drop your .txt files, and once you are done, close out of the Flipper desktop app.
6. You are now ready to deploy your BADUSB DuckyScripts and take over the World! ENJOY :)
It is your responsibility to ensure that you have appropriate authorization, permissions, and legal rights to perform any security testing activities on computer systems or networks. Always respect the law, adhere to ethical guidelines, and obtain proper consent before conducting any tests or assessments.
Remember, it is crucial to prioritize legal and ethical practices, protect user privacy, and use these tools responsibly to improve security and protect against real-world threats.