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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: How easily could russian hackers manipulate a U.S. election?

4 点作者 itsevrgrn超过 6 年前
What would they have to achieve this technically?

3 条评论

k4ch0w超过 6 年前
Well if you could change the source code on the voting machine it&#x27;s something as simple as you show the Voter their choice to confirm on the frontend but the backend has been manipulated to always vote for someone else instead. The voter would never know their choice was altered. An example is as simple as the following:<p>def selectCandidate(voter_id, choice):<p><pre><code> if choice == 1: return {&quot;Voter&quot;:voter_id, &quot;Displaychoice&quot;: &quot;Candidate 1&quot;, &quot;Choice&quot;: &quot;Candidate 1&quot;} if choice == 2: return return {&quot;Voter&quot;:voter_id, &quot;Displaychoice&quot;: &quot;Candidate 2&quot;, &quot;Choice&quot;: &quot;Candidate 1&quot;} if choice == 3: return return {&quot;Voter&quot;:voter_id, &quot;Displaychoice&quot;: &quot;Candidate 3&quot;, &quot;Choice&quot;: &quot;Candidate 1&quot;} raise Exception(&quot;Should never happen :-p&quot;)</code></pre>
some_account超过 6 年前
Why the heck are you worrying about Russians? Don&#x27;t you realize it&#x27;s just a media thing to point, the finger at someone to be worried about?<p>Elections are not a democratic process in any of the big nations. Why do you think every president in America are basically related and family?
评论 #17822332 未加载
andrei_says_超过 6 年前
I’m more worried about the Lesters.<p><a href="https:&#x2F;&#x2F;www.ted.com&#x2F;talks&#x2F;lawrence_lessig_we_the_people_and_the_republic_we_must_reclaim&#x2F;up-next" rel="nofollow">https:&#x2F;&#x2F;www.ted.com&#x2F;talks&#x2F;lawrence_lessig_we_the_people_and_...</a>