TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Tricking the user to access history using CSS and captchas

140 pointsby frantzmiccolialmost 11 years ago

10 comments

NathanKPalmost 11 years ago
Very nice concept. You should also add the following CSS to the captcha letters:<p><pre><code> -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; </code></pre> This will make it feel even more like a real captcha by making it impossible to select the text. (Right now you can select it to see the invisible letters)
评论 #7870807 未加载
评论 #7868973 未加载
jerealmost 11 years ago
Quite scarier than the TinSnail demo, but it must have a much lower bandwidth. The source only has three links and you will probably see all three if you have caching turned on. I guess if you&#x27;re looking for one or two specific sites, it doesn&#x27;t matter.
cissoualmost 11 years ago
Brilliant. getComputedStyle used to give away the color of a link, so at some time this attack was trivial: you didn&#x27;t need any user input, as a blue link meant :unvisited, and a purple one meant :visited. Replacing getComputedStyle with user input (&quot;is this letter black or transparent?&quot;) is definitely brilliant.
评论 #7870202 未加载
linshunghuangalmost 11 years ago
You might want to check out the research paper &quot;I Still Know What You Visited Last Summer Leaking browsing history via user interaction and side channel attacks&quot; ( <a href="http://www.ieee-security.org/TC/SP2011/PAPERS/2011/paper010.pdf" rel="nofollow">http:&#x2F;&#x2F;www.ieee-security.org&#x2F;TC&#x2F;SP2011&#x2F;PAPERS&#x2F;2011&#x2F;paper010....</a> ). The paper describes several similar (if not the same) attacks.
评论 #7870881 未加载
mikelatalmost 11 years ago
That&#x27;s impressive.<p>Honestly modern browsers should just start ignoring off-domain :visted styles.
评论 #7871313 未加载
评论 #7871984 未加载
ultimatedelmanalmost 11 years ago
What am I missing? I just got this pre-determined list of links: <a href="https://github.com/frantzmiccoli/visited-captcha-history/blob/master/js/linkslist.js" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;frantzmiccoli&#x2F;visited-captcha-history&#x2F;blo...</a><p>I was impressed when this list came up, but suspicious because I hadn&#x27;t visited reddit or github yet today.
评论 #7869539 未加载
评论 #7869630 未加载
CheckHookalmost 11 years ago
Interesting but this method is limited to the URLs that you list in the javascript (in this case linklist.js). More of a specific validation to see if the user has visited the links you provide rather than a total data scrape.<p>To full scrape the users history you would have to list every URL in existence.<p>Great proof of concept though.
评论 #7869185 未加载
评论 #7868662 未加载
评论 #7868921 未加载
评论 #7868792 未加载
nejalmost 11 years ago
Clever
dangalmost 11 years ago
The submitted title was &quot;Show HN: Tricking the user to access his history using CSS and captchas&quot;. We finessed the pronoun issue in this case by just taking &quot;his&quot; out.
评论 #7870020 未加载
thinkbohemianalmost 11 years ago
s&#x2F;his&#x2F;their<p>Unless of course there is something on this service that actually limits all of your users into being one gender :)
评论 #7868737 未加载
评论 #7868644 未加载
评论 #7868639 未加载