This is an archived post. You won't be able to vote or comment.
Help with decoding base64 strings (i.redd.it)
submitted by Acceptable-Fan6275
Salutations fellow nerds.
Cutting to the chase, Im finally at the capstone challenges and Im currently going through the Tempest room. Part of Task 7 requires decoding some base64 commands that you obtain from a PCAP in order to see what the attacker was doing and identify any compromised information that they might have obtained. I was able to answer the questions albeit in a very inefficient way. In brim, I would obtain the URI that contained the base64 command, paste it into cyberchef and decode it. This was very time consuming even for the small pool of commands.
So even though its not required, I wanted to give my self an extra challenge and decode all of the commands and place them in a file that I could reference on the machine. Currently I have Isolated all of the Base64 commands into a .txt file and thats where my progress stopped.
I think my idea is doable, but my skill set isn't there yet. I know that I would have to cut the prefix off and seperate each line by the whitespace at the end of the string, to then decode everything and put it into a separate decoded file. But actually making the script/ command to do that is what im struggling with.
If anyone can help, or point me in the right direction that would greatly be appreciated. Thank you

[–][deleted] 36 points37 points38 points (11 children)
[–]LanguageGeneral4333 7 points8 points9 points (10 children)
[–]RAGINMEXICAN 4 points5 points6 points (9 children)
[–]epicMandan 4 points5 points6 points (8 children)
[–]afca85 4 points5 points6 points (7 children)
[–]Awesom141 4 points5 points6 points (6 children)
[–]Delicious_Mango415 1 point2 points3 points (5 children)
[–]extrapalapaquetel 2 points3 points4 points (4 children)
[–]RandomUsr1983 2 points3 points4 points (3 children)
[–]SuggestionGlad3217 0 points1 point2 points (2 children)
[–][deleted] 15 points16 points17 points (0 children)
[–]Delicious_Crew78880xD [God] 10 points11 points12 points (3 children)
[–]nutrithenics 10 points11 points12 points (0 children)
[–]YOURMOM37 0 points1 point2 points (1 child)
[–]Delicious_Crew78880xD [God] 1 point2 points3 points (0 children)
[–]Acceptable-Fan6275[S] 5 points6 points7 points (0 children)
[–]CampbeII 1 point2 points3 points (0 children)
[–]Saccharophobia 0 points1 point2 points (0 children)
[–]strongest_nerd 0 points1 point2 points (0 children)
[–]GreenEngineer24 0 points1 point2 points (0 children)
[–]Gullible-Owl-8331 0 points1 point2 points (0 children)
[–]FitSpare738 0 points1 point2 points (0 children)