view paste/paste.20862 @ 11116:3923d423f4cb

<oerjan> learn shebang_args_or_input is similar to print_args_or_input, but for other scripting languages like perl or python. E.g. if you have a python script that pipes stdin, replace the usual shebang line by #!/hackenv/bin/shebang_args_or_input python .
author HackBot
date Sat, 22 Jul 2017 00:51:22 +0000
parents 7cd74940ca61
children
line wrap: on
line source

2008-12-31.txt:22:59:13: -!- psygnisfive changed the topic of #esoteric to: Logs: http://tunes.org/~nef/esoteric/ | UTC leap second today, Dec 31 @ 23:59:60 | try http://time.gov/ | HAPPY NEW YEAR ALBANIA, ANDORRA, AUSTRIA, BELGIUM, BOSNIA AND HERZEGOVINA, CROATIA, CZECH REPUBLIC, DENMARK, FRANCE, GERMANY, GIBRALTAR, HUNGARY, ITALY, KOSOVO, LIECHTENSTEIN, LUXEMBOURG, MACEDONIA, MALTA, MONACO, MONTENEGRO, NETHERLANDS, NORWAY, POLAND, SAN MARINO, SERBIA, SLOVAKIA, SLOVENIA, SPAIN, EXCEPT CANARY ISLANDS, SV
2008-12-31.txt:22:59:46: <psygnisfive> HAPPY NEW YEAR ALBANIA, ANDORRA, AUSTRIA, BELGIUM, BOSNIA AND HERZEGOVINA, CROATIA, CZECH REPUBLIC, DENMARK, FRANCE, GERMANY, GIBRALTAR, HUNGARY, ITALY, KOSOVO, LIECHTENSTEIN, LUXEMBOURG, MACEDONIA, MALTA, MONACO, MONTENEGRO, NETHERLANDS, NORWAY, POLAND, SAN MARINO, SERBIA, SLOVAKIA, SLOVENIA, SPAIN, EXCEPT CANARY ISLANDS, SVALBARD AND JAN MAYEN, SWEDEN, SWITZERLAND, TUNISIA, VATICAN CITY, ALGERIA, ANGOLA, BENIN
2012-03-18.txt:20:25:27: <fizzie> Also the "rm -rf *" demonstration is just begging for someone to "ls | grep -v canary | xargs rm -rf" or something.
2012-03-18.txt:20:27:52: <RocketJSquirrel> <fizzie> Also the "rm -rf *" demonstration is just begging for someone to "ls | grep -v canary | xargs rm -rf" or something. // the canary isn't there to prevent interesting "exploits", it's there to prevent stupid ones.
2012-03-18.txt:20:35:19: <RocketJSquirrel> `run ls -l canary ; rm canary ; ls -l canary # It can be deleted!
2012-03-19.txt:12:21:28: <ais523> `rm canary
2012-03-19.txt:12:22:13: <ais523> `run rm canary && mkdir canary
2013-01-09.txt:12:42:30: <Phantom_Hoover> `run rm canary
2013-01-09.txt:22:55:13: <oerjan> `rm canary
2013-01-09.txt:23:00:36: <c00kiemon5ter> `run sh -c rm canary
2013-01-09.txt:23:01:12: <c00kiemon5ter> `run sh -c 'rm canary'
2013-01-09.txt:23:03:24: <oerjan> `rm canary
2013-01-10.txt:00:37:43: <hagb4rd> `pastelog rm.*canary
2013-01-10.txt:00:39:01: <hagb4rd> `run pastelog rm.*canary