view bin/uniqs @ 6198:88080ce5575b

<b_jonas> ` echo $\'#!/bin/sh\\nexec sqlite3 :memory: "$@"\' > bin/sqli && chmod a+x bin/sqli
author HackBot
date Sun, 08 Nov 2015 12:33:11 +0000
parents 9bf80fcf858b
children
line wrap: on
line source

#!/usr/bin/python
s=set()
try:
 while True:
  l=raw_input()
  if l not in s:
   s.add(l)
   print(l)
except EOFError:
 pass