TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Valentines Day in BASH

10 点作者 srajbr超过 11 年前

4 条评论

kylek超过 11 年前
Can we please not tell people to pipe things directly from curl to bash?
评论 #7240572 未加载
评论 #7240525 未加载
quchen超过 11 年前
Don't we have a bit too much of a history with clicking/doing things on the internet with "love" in their names? Happy Friday by DigitalOcean, where trusting random people on the internets is company policy.
评论 #7240616 未加载
ryutin超过 11 年前
no love for my mac :-(<p>[Fri Feb 14 14:35:37] -bash:~$ curl -s valentines.digitalocean.com | bash<p>bash: line 1: syntax error near unexpected token `newline&#x27;<p>bash: line 1: `&lt;!DOCTYPE HTML PUBLIC &quot;-&#x2F;&#x2F;W3C&#x2F;&#x2F;DTD HTML 4.01&#x2F;&#x2F;EN&quot; &quot;<a href="http://www.w3.org/TR/html4/strict.dtd&quot;&gt;&#x27;" rel="nofollow">http:&#x2F;&#x2F;www.w3.org&#x2F;TR&#x2F;html4&#x2F;strict.dtd&quot;&gt;&#x27;</a>
salgernon超过 11 年前
Why could&#x27;t this just be a text file with curses escapes available via netcat? At least then it&#x27;s limited only to known terminal exploits, rather than running whatever the hell it wants as you.