 This is a video write up for the challenge salad upgrades from hack on 2018 challenge prompt is sure I could toss them all using one just one shift but am I gonna and it gives us a cipher text right here so we can go ahead and copy this and start to work with it I will go ahead and check if it is a Caesar cipher just as we saw in a previous challenge we can go ahead and look through some other keys with just a simple four I in and bash bring it to all the numbers in the alphabet go ahead and echo that into Caesar with the value that we're looking for however it doesn't look like that it is a Caesar cipher I see no the flag formats in here so what I did moving on from this is trying to figure out what other cipher it may be since it's saying it's using not just one shift assumingly we can determine that it may be a vigners cipher so I tried to track down some code that I've written in a previous competition you can see some of the stuff from TJC TFI videos on that if you would like to check them out let's go ahead and subble that and just take a look at what we have to work with we do want the flag that we have given in cipher text pasted in here to work with and let's try and see what we can do considering we should know what the first part of the flag should be in this case we could probably track down that dark code curly braces portion and determine what it should really actually be let's just use the key assuming we want to work backwards so let's just use dark and let's take the first four letters here and let's see if we can get it to decrypt we don't need all this code from the previous CTF but we can take a look if we are decrypting that message with the key paste that oh I have fail substring not found and that is because we are working with numbers and we can actually determine rather than removing punctuation let's actually keep some of that stuff and the numbers let's just determine if we get a key error just like that as we'd seen we can go ahead and append the original old character like just use the cipher letter in that case or we want the compressed message number because cipher letter is not there now when we run this okay we've got a value b4 de and I thought that was kind of curious I started that for a while and some people that I was working with on my team again if you want to hang out with other CTF players hackers and programmers please join the discord server we always team up for games like this link in the description b4 de it looked like that four was out of place but just because of the flag format so maybe it was actually meant to be a c in which case we have bc de so I'm assuming that that is potentially just the start of the alphabet just kind of shifted as we'd seen before so that gives us dark and now we can add on the rest of the alphabet if we wanted to r s t u v holy goodness it's like do I know the alphabet right here cool we could have just imported that or use it from string just shifted it if we wanted to but typing it out was was easy and fine for that and we'll use the rest of the message and we get okay I totally did mess up what alphabet method did I miss oh I moved x and y my bad all right cool now we have the flag this is rotation code and we can go ahead and save this as our get flag script cool and yeah let's go back to save what we had from the original message so now we could submit that flag if we particularly wanted to however the challenge is over so unfortunately we don't need to but we can just mark this challenge as complete and that's been some handy veneer cipher code and if you want to take a look at that please check out the tj ctf video where I go ahead and write it and it takes some time so quick shout out to the people that support me on patreon thank you guys so much one dollar a month on patreon will give you a special shout out just like this at the end of every video more than five dollars a month on patreon will give you early access everything that I release on youtube before it goes live because I normally schedule things and record and bulk et cetera et cetera please do join our discord server link in the description again we always play ctfs as a team we just like work together and it's an awesome collaborative community ctf players programmers and hackers really cool place to hang out I hope to see you guys on patreon please fingers crossed need a food put on the table need to put food on the table I'm bad at talking and I'll see you in the next video thanks