# The Real Reversal
```My friend gave me some fancy text, but it was reversed, and so I tried to reverse it but I think I messed it up further. Can you find out what the text says?```
(File(s): attachments/reversed.txt)
The file that we're given is completely reversed at a binary level. We need to reverse it again to get the original. We can do this using perl from the command line.
```$ < reversed.txt perl -0777 -F -ape '$_=reverse@F'
.??????? ??? ?? ???? ?????? ???????? ??????? ??? ????? ?? ???? ,???????? ??? ????????? ???????? ???? ????????? .???????? ????? ?????? ?? ?????? ?????? ???? ????? ????????? ?? ????????????? ?? ????? ????? ???? ???? .????????? ??????? ?? ?? ??????? ?? ???? ??????? ??????? ???????????? ??????? ???? ,?????? ????? ?? ???? ?? .?????? ????? ?????? ?? ?????? ?? ?????????? ?????? ??????? ?? ??? ,???? ?????????? ??????????? ,???? ??? ????? ????? ????? .??????? ??? ?? ???? ?????? ???????? ??????? ??? ????? ?? ???? ,???????? ??? ????????? ???????? ???? ????????? .???????? ????? ?????? ?? ?????? ?????? ???? ????? ????????? ?? ????????????? ?? ????? ????? ???? ???? .????????? ??????? ?? ?? ??????? ?? ???? ??????? ??????? ???????????? ??????? ???? ,?????? ????? ?? ???? ?? .?????? ????? ?????? ?? ?????? ?? ?????????? ?????? ??????? ?? ??? ,???? ?????????? ??????????? ,???? ??? ????? ????? ????? .??????? ????? ??????? ????? ,}???_???_???_????{????? ?? ???? ??? .??????? ??? ?? ???? ?????? ???????? ??????? ??? ????? ?? ???? ,???????? ??? ????????? ???????? ???? ????????? .???????? ????? ?????? ?? ?????? ?????? ???? ????? ????????? ?? ????????????? ?? ????? ????? ???? ???? .????????? ??????? ?? ?? ??????? ?? ???? ??????? ??????? ???????????? ??????? ???? ,?????? ????? ?? ???? ?? .?????? ????? ?????? ?? ?????? ?? ?????????? ?????? ??????? ?? ??? ,???? ?????????? ??????????? ,???? ??? ????? ????? ????? .???? ?? ???????? ?? ???? .????????? ?? ???? ?? ?? ??? .???? ?? ???? ???```
In there, we find the reversed flag:
```}niw_eht_rof_8ftu{ftcsh```
All we need to do now is reverse it for the actual flag.
```$ python -c "print('}niw_eht_rof_8ftu{ftcsh'[::-1])"hsctf{utf8_for_the_win}```