-
-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from aleff-github/brunoooost/main
Payloads adjustments
- Loading branch information
Showing
5 changed files
with
53 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# 🔊 SetVolumeMax-FlipZero by bst04 | ||
|
||
<div align=center> | ||
|
||
<img src="https://github.com/aleff-github/my-flipper-shits/blob/main/img/logo-repository-2_0.gif" width="600" /><br><img src="https://github.com/aleff-github/my-flipper-shits/blob/main/img/DISCLAIMER.png" width="600" /> | ||
|
||
</div> | ||
|
||
This payload, created by bst04, is designed to set the volume to maximum (100%) on a macOS device using AppleScript through Terminal. | ||
|
||
--- | ||
|
||
## 📖 Technical Explanation | ||
|
||
1. **Initialization**: | ||
- `DELAY 1000`: Waits for 1 second to ensure the system is ready. | ||
- `GUI SPACE`: Simulates pressing "Command" + "Space" to open Spotlight Search. | ||
- `DELAY 250`: Waits for 0.25 seconds to ensure Spotlight is open. | ||
|
||
2. **Set Volume to 100%**: | ||
- `STRING VOL=$(osascript -e 'Set Volume 100')`: Types the AppleScript command to set the system volume to 100%. | ||
- `DELAY 250`: Waits for 0.25 seconds. | ||
- `ENTER`: Executes the command to set the volume. | ||
|
||
3. **Close Terminal**: | ||
- `DELAY 250`: Waits for 0.25 seconds. | ||
- `GUI q`: Simulates pressing "Command" + "q" to quit the Terminal application. | ||
|
||
--- | ||
|
||
## 📜 Usage | ||
|
||
1. Copy the payload script to your DuckyScript-enabled device. | ||
2. Ensure the device is connected to a macOS system. | ||
3. Execute the payload to set the system volume to maximum (100%). | ||
|
||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
REM =========================== | ||
REM payload by bst04 | ||
REM =========================== | ||
|
||
DELAY 1000 | ||
GUI SPACE | ||
DELAY 250 | ||
STRING VOL=$(osascript -e 'Set Volume 100') | ||
DELAY 250 | ||
ENTER | ||
DELAY 250 | ||
GUI q |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters