Peace Poetry: HACKED
Message: "I run this website where people can read and submit peace-related poetry. I am doing this out of good will towards others, and I don't see why I would be making enemies out of this, but some real ass hole hacked my website posting a bunch of ignorant aggressive propaganda on the front page. And I made that website a while ago, and I no longer have access to it. Do you think you can hack in and change it back? Please? Oh, and bonus points if you message me the name of the bastard who did this!
My website can be found here."
In short, some page got hacked and the dude wants that to be undone.
My approach
This time, we start by trying the chrome dev tools. In here we find this message
Note to the webmaster. This website has been hacked, but not totally destroyed. The old website is still up. I simply copied the old index.html file to oldindex.html and remade this one. Sorry about the inconvenience.
which is quite convenient info for a hacker to leave behind, hehe.
As the message suggested, we then try to to access it where we click "Read The Poetry". Choosing "Hacker" displays a new URL
We now go back and check the submit page where a note states
Note: Poems will be stored online immediately but will not be listed on the main poetry page until it has a chance to be looked at.
We can use this form in a clever way since it means that there must be a temporary holding place for new poems. We add a new poem with the following stuff inside
Name of poem: ../index.html
Poem: the original homepage source code
And then add it. What this effectively does, is that instead of adding a poem to the "Read poetry section" it goes back two steps (../) and insert a file called index.html which basically contain the old website index.
And that's it.