Skip to content

Latest commit

 

History

History
90 lines (62 loc) · 1.27 KB

File metadata and controls

90 lines (62 loc) · 1.27 KB

Writeup for cheap cipher

@kai_ten_sushi

echo "==AVoVGImxWYnBSazByUzMkUzQ1XLNTW" | rev | base64 -D | rev 

@mush_060

its a string base64 but its reversed
using python :
>>>import base64
>>> teks = "teks_here"
>>>teks2 = base64.b64decode(tek[::-1])
>>>teks2[::-1]

@rtlmovememory

import base64

print base64.b64decode("==AVoVGImxWYnBSazByUzMkUzQ1XLNTW"[::-1])[::-1]

@mpyw

<?php

echo strrev(base64_decode(strrev('==AVoVGImxWYnBSazByUzMkUzQ1XLNTW')));

@_elzup_

echo '==AVoVGImxWYnBSazByUzMkUzQ1XLNTW' |rev |base64 -D |rev

@ctf_shiho

$ python
>>> "==AVoVGImxWYnBSazByUzMkUzQ1XLNTW"[::-1].decode("base64")[::-1]

@rtfmctf

perl -e 'print scalar reverse"==AVoVGImxW' | base64 -d | perl -e 'while(<>){print scalar reverse $_}'

https://twitter.com/xshellctf

@0x6d61

base64

@_193s

げっと

@arik_ega

$ cat cheap_cipher.py
#! /usr/bin/env python
# -*- coding: utf-8 -*-
import base64

s = '==AVoVGImxWYnBSazByUzMkUzQ1XLNTW'
print base64.b64decode(s[::-1])[::-1]

$ python cheap_cipher.py
The flag is S3CR3T_K3Y

@3846masa

$ echo "==AVoVGImxWYnBSazByUzMkUzQ1XLNTW" | rev | base64 -d - | rev
The flag is S3CR3T_K3Y