HH1 Posted September 28, 2016 Share Posted September 28, 2016 This small part of a payload will open the terminal and hide it in the top left of the screen. This is done thanks to a built in tool that allows you to use AppleScript from the terminal. It is called osascript and can be used in many other ways. You can use this at the beginning of a large payload. REM Coded by HH1 REM hh1rimrock@gmail.com REM REM Target: REM “Mac OS X” REM REM Description: REM This script will open a Terminal window REM And then shrink and hide it in the top REM of the screen using osascript REM REM DELAY 1500 GUI SPACE DELAY 30 STRING “Terminal” DELAY 200 ENTER DELAY 500 STRING osascript \ STRING -e 'tell application "Terminal"' \ STRING -e 'set size of front window to {36, 36}' \ STRING -e 'set position of front window to {0,25}' \ STRING -e 'end tell' DELAY 200 ENTER REM REM You can add whatever you want to the end here REM Keep in mind a terminal window is alread Quote Link to comment Share on other sites More sharing options...
HH1 Posted October 3, 2016 Author Share Posted October 3, 2016 Has anyone had any problems with this? Quote Link to comment Share on other sites More sharing options...
newbi3 Posted October 4, 2016 Share Posted October 4, 2016 you can use "command+m" to minimize the screen Quote Link to comment Share on other sites More sharing options...
HH1 Posted October 4, 2016 Author Share Posted October 4, 2016 You could but then you would could not type in the terminal anymore 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.