WSR: #21: June 6th - 12th 2022
I'm back. Sorta.
Published: June 12, 2022
| Reading Time: 2 minutes
Hello. It’s been a few weeks since I’ve updated this but I would like to think that I have good reason. These last two weeks have probably been the most busy period of time in my life. I certainly learned some lessons in over-committing my time and ended up paying the price for it since I ended up failing my first cert exam. Next week I will be on a (much needed) vacation but the following Sunday I will be back with your regularly scheduled weekly security roundup. In the mean time, here is a quick recap of the last two weeks since I had 0 time to write a weekly roundup for those weeks: Do you have any questions? Feel free to reach out to me on twitter. See you next Sunday. :)This Week’s Recap
1
2#! /bin/bash
3# Define bucket URL
4BASE="https://prod-cdn-user-imgs.s3.us-east-1.amazonaws.com/"
5
6# Grab bucket URL and save it as index.html
7wget $BASE
8
9# Grab just end of the URLs
10grep -oP '(<Key>).*?(</Key>)' index.html | sort | sed "s|<Key>|$BASE|" | sed 's/<\/Key>//' > file.txt
11echo $key
12
13mkdir pictures
14cd pictures
15
16cat ../file.txt | while read line
17do
18 echo "Getting $line"
19 wget $line
20
21done
1#! /bin/bash
2INPUT=$(xsel -ob)
3echo -e `echo "$INPUT" | sed 's/.\{1\}/&\\\u0336/g'` | xclip -selection clipboard
Have any questions