view bin/spam @ 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 f7eb1a2d57c1
children
line wrap: on
line source

line="$(cat /hackenv/tmp/spline)"; len="$(wc -l /hackenv/tmp/spout | awk '{print $1}')"; echo -n "$line/$len:"; sed -n "${line}p" /hackenv/tmp/spout; echo "$((line+1))" > /hackenv/tmp/spline