view bin/bf @ 8878:6dff80b6fb44

<shachaf> ` echo $\'#!/usr/bin/python\\n\\nimport random\\nimport string\\n\\nprint "".join(random.choice(string.ascii_lowercase) for _ in xrange(15))\' > bin/password; chmod +x bin/password
author HackBot
date Fri, 29 Jul 2016 00:54:55 +0000
parents 56dcce63901b
children c1a7da5e08dd
line wrap: on
line source

#! /bin/bash
[[ $# > 0 ]] || { echo "Run what?"; exit 1; }
ci="$*"
echo -n "${ci#*!}" | /hackenv/interps/egobf/src/egobfi8 <(echo -n "${ci%%!*}")