|
| 1 | +# EZ |
| 2 | + |
| 3 | +__PROBLEM__ |
| 4 | + |
| 5 | +Welcome to Securinets, this one is an easy one. |
| 6 | + |
| 7 | +Please make sure you hash the WORD with sha1 (lowercase hash letter) |
| 8 | + |
| 9 | +The final flag is : Securinets{the_hash_of_the_word} |
| 10 | + |
| 11 | +[Pic Link](pic.zip) |
| 12 | + |
| 13 | +Author:BlueWhale |
| 14 | + |
| 15 | + |
| 16 | +__SOLUTION__ |
| 17 | + |
| 18 | +Again I started with strings followed by exiftool and then binwalk and none of those gave anything interesting. And then I noticed that the image is of `.png` format that means we can use `zsteg` on that image. |
| 19 | + |
| 20 | +```bash |
| 21 | +➜ zsteg pic.png |
| 22 | +b1,rgb,lsb,xy .. text: "--START--\n\"The fact is that upon his entrance I had instantly recognized the extreme\npersonal danger in which I lay. The only conceivable escape for him lay in silencing\nmy tongue. In an instant I had slipped the revolver from the drawer into my\npocket and" |
| 23 | +b2,b,msb,xy .. text: "_uW}W}W}" |
| 24 | +b3,b,lsb,xy .. file: very old 16-bit-int big-endian archive |
| 25 | +b4,r,lsb,xy .. text: "\nvvwgffwfwvwgg" |
| 26 | +b4,g,lsb,xy .. text: "gwvwvffwvgvfggfvwgvfvgfgvgffvwfvwgfvfgvvwwvfwgfwfgvgvgffwgffffffwgfffgfgvwvfwgvfwwfwvwfgvwvfwgvffgvfvwffwgvwvwvfggffvgfgwgfffgvfwgvfvgffwgfwwgfgwgfffgvfwwvfvgfffgvgwgffvwvgvwvfvgfgwgvfvwfgvwfffgvgvgffwwvfwgfvfgfgfgffwgvgvwfgvvffwwfvwwvgvwvgfffgfgfgfgfgvwvf" |
| 27 | +b4,b,lsb,xy .. text: "wfgggfgfgffwffwfvfffwfggwfgwvfgfvfgfvggfwfvfvfggvfgvwgwgwfwgvfffvfgfvfgvvgggwggvvfgfwfwwwfwwvfgfvggvwfggvggfwfggfgggvgwwwfgvvfggwfwgvfgwwfggvfggvfgwvfggvfvfgfggvfwvwgffvfwvvfgwwfgfwfffwgwgvgggvfwwvfgvvfffwfgwvfgvvgwwwfgvvfgvwfwwvfgfwfwgwffvvfgvvfgvvfgvvggg" |
| 28 | +b4,rgb,lsb,xy .. text: "ogWef&vfFmw" |
| 29 | +b4,rgb,msb,xy .. text: "`vnovng>" |
| 30 | +b4,bgr,lsb,xy .. text: "ogVev&ffG}g" |
| 31 | +``` |
| 32 | +
|
| 33 | +This show that there's some strings hidden there, let's extract that |
| 34 | +
|
| 35 | +``` |
| 36 | +--START-- |
| 37 | +"The fact is that upon his entrance I had instantly recognized the extreme |
| 38 | +personal danger in which I lay. The only conceivable escape for him lay in silencing |
| 39 | +my tongue. In an instant I had slipped the revolver from the drawer into my |
| 40 | +pocket and was covering him through the cloth. At his remark I drew the weapon |
| 41 | +out and laid it cocked upon the table. He still smiled and blinked, but there was |
| 42 | +something about his eyes which made me feel very glad that I had it there, |
| 43 | +"You evidently don't know me,' said he. |
| 44 | +"'On the contrary,' I answered, 'I think it is fairly evident that I do. Pray take |
| 45 | +a chair. I can spare you five minutes if you have anything to say.' |
| 46 | +"'All that I have to say has already crossed your mind,' said he. |
| 47 | +"'Then possibly my answer has crossed yours,' I replied. |
| 48 | +"'You stand fast?' |
| 49 | +"'Absolutely.' |
| 50 | +"He clapped his hand into his pocket, and I raised the pistol from the table. |
| 51 | +But he merely drew out a <DETELED_WORD> in which he had scribbled some |
| 52 | +dates. |
| 53 | +"You crossed my path on the fourth of January,' said he. 'On the twenty-third |
| 54 | +you incommoded me; by the middle of February I was seriously inconvenienced |
| 55 | +by you; at the end of March I was absolutely hampered in my plans; and now, at |
| 56 | +the close of April, I find myself placed in such a position through your continual |
| 57 | +persecution that I am in positive danger of losing my liberty. The situation is |
| 58 | +becoming an impossible one.' |
| 59 | +"'Have you any suggestion to make?' I asked. |
| 60 | +"'You must drop it, Mr. Holmes,' said he, swaying his face about. 'You really |
| 61 | +must, you know.'" |
| 62 | +--END-- |
| 63 | +``` |
| 64 | +
|
| 65 | +This is what we get from the extracted data and now all we have to do is to find the `<DELETED_WORD>`. Simply google any part of the paragraph and it will give us the [original](https://www.pagebypagebooks.com/Arthur_Conan_Doyle/Memoirs_of_Sherlock_Holmes/Adventure_XI_The_Final_Problem_p4.html) |
| 66 | +
|
| 67 | +After comparing with original we found out that the missing word is `memorandum-book`, but submitting the sha1 of this string didn't worked so we tried with `memorandumbook` |
| 68 | +
|
| 69 | +```bash |
| 70 | +➜ echo "memorandumbook" | sha1sum |
| 71 | +3e06c0914406bcd91c6326d32a75be36dd44a2d4 |
| 72 | +``` |
| 73 | +FLAG - Securinets{3e06c0914406bcd91c6326d32a75be36dd44a2d4} |
0 commit comments