Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Poll

What do you see below?

A broken image
- 22 (71%)
An image I cant make out
- 0 (0%)
An image with the word "NIGHT"
- 2 (6.5%)
An image with the word "DAY"
- 7 (22.6%)

Total Members Voted: 29


Pages: 1 [2] 3 4

Author Topic: Can you see this image?  (Read 3720 times)

My Name is Immaterial

  • Bay Watcher
    • View Profile
Re: Can you see this image?
« Reply #15 on: November 08, 2015, 07:07:01 pm »

I submitted my answer to the poll, telling it that I couldn't see it, but now, I can see it.
Did you ever click on the url and view it that way at any point?
When I went to find the URL, I couldn't find it. It's probably something on my end, though.

Strife26

  • Bay Watcher
    • View Profile
Re: Can you see this image?
« Reply #16 on: November 08, 2015, 07:39:07 pm »

Using my phone, just now, couldn't see it, clicked link by CrazyAbe, now I'm seeing it
Logged
Even the avatars expire eventually.

Zangi

  • Bay Watcher
    • View Profile
Re: Can you see this image?
« Reply #17 on: November 08, 2015, 08:32:08 pm »

I had RequestPolicy and NoScript on, so naturally, I couldn't see anything, at first. To see the image, I had to go to the direct link and allow the site so I could see it. Reloading the thread gave me "Night".
This.  I voted before seeing it though.
Logged
All life begins with Nu and ends with Nu...  This is the truth! This is my belief! ... At least for now...
FMA/FMA:B Recommendation

Starver

  • Bay Watcher
    • View Profile
Re: Can you see this image?
« Reply #18 on: November 08, 2015, 08:39:34 pm »

Seems to redirect to "<fullimageurl>?ckattempt=1".  Let's try a manual "telnet <site> 80" connection

Ah...
Code: [Select]
HTTP/1.1 200 OK
Server: nginx
Date: Mon, 09 Nov 2015 01:30:34 GMT
Content-Type: text/html
Content-Length: 840
Vary: Accept-Encoding
Connection: keep-alive

<html>
  <body>
    <script type="text/javascript" src="/aes.js" ></script>
    <script>
      function toNumbers(d){var e=[];d.replace(/(..)/g,function(d){e.push(parseInt(d,16))});return e}
      function toHex(){for(var d=[],d=1==arguments.length&&arguments[0].constructor==Array?arguments[0]:arguments,e="",f=0;f<d.length;f++)e+=(16>d[f]?"0":"")+d[f].toString(16);return e.toLowerCase()}
      var a=toNumbers("f655ba9d09a112d4968c63579db590b4"),
          b=toNumbers("98344c2eee86c3994890592585b49f80"),
          c=toNumbers("56e7b6161876d9eab36f4a64f0d8ac6e");
      document.cookie="__test="+toHex(slowAES.decrypt(c,2,a,b))+";
      expires=Thu, 31-Dec-37 23:55:55 GMT;
      path=/";location.href="http://185.27.134.123/time.png?ckattempt=1";
    </script>
    <noscript>This site requires Javascript to work, please enable Javascript in your browser or use a browser with Javascript support</noscript>
  </body>
</html>
(The useful whitespace within the <html></html> area is added by me.  Otherwise as it returns.)

...proving that the return for the '.png' doesn't give an image, but a page that (ideally) redirects to the image.

And this... ...probably won't work, either.
Logged

LordBucket

  • Bay Watcher
    • View Profile
Re: Can you see this image?
« Reply #19 on: November 09, 2015, 12:50:22 am »

Doesn't work for me. Manually pasted link into a new browser tab in both chrome and IE. Chrome gets to ?ckattmempt=1. IE gets to attempt 2.

Viewing page source shows an empty page.

i2amroy

  • Bay Watcher
  • Cats, ruling the world one dwarf at a time
    • View Profile
Re: Can you see this image?
« Reply #20 on: November 09, 2015, 01:05:37 am »

Yeah same thing here. Doesn't work either viewing it or manually going o the image location page.
Logged
Quote from: PTTG
It would be brutally difficult and probably won't work. In other words, it's absolutely dwarven!
Cataclysm: Dark Days Ahead - A fun zombie survival rougelike that I'm dev-ing for.

Arx

  • Bay Watcher
  • Iron within, iron without.
    • View Profile
    • Art!
Re: Can you see this image?
« Reply #21 on: November 09, 2015, 06:34:04 am »

I, uh, may have commented out the wrong line last night. It might work now, but I can't make any more changes until tomorrow.

If anyone wants to speculate on what I might have screwed up, fire away. There seem to be about six ways of doing this, but none of them seem to work...
Logged

I am on Discord as Arx#2415.
Hail to the mind of man! / Fire in the sky
I've been waiting for you / On this day we die.

GameBoyBlue

  • Bay Watcher
  • Turn to face the strange
    • View Profile
Re: Can you see this image?
« Reply #22 on: November 09, 2015, 06:36:31 am »

Reseting poll as Day just worked for me, round 3 results:

A broken image
- 26 (92.9%)
An image I cant make out
- 0 (0%)
An image with the word "NIGHT"
- 2 (7.1%)
An image with the word "DAY"
- 0 (0%)
Logged

TheBiggerFish

  • Bay Watcher
  • Somewhere around here.
    • View Profile
Re: Can you see this image?
« Reply #23 on: November 09, 2015, 07:13:50 am »

That's odd.  Crazyabe's link works, no images on this page do.
Logged
Sigtext

It has been determined that Trump is an average unladen swallow travelling northbound at his maximum sustainable speed of -3 Obama-cubits per second in the middle of a class 3 hurricane.

Starver

  • Bay Watcher
    • View Profile
Re: Can you see this image?
« Reply #24 on: November 09, 2015, 10:31:38 am »

Well, I currently see "Day" on the OP (as it should do, now that it's "Day" by the same time standards) whereas previously it was "Night".  But I only got "Night" after following the link and getting the client-side javascript serving me the image, so I'm not entirely sure what was and what wasn't cached.

This might mean that it works (at least for someone who has visited the 'faux image' javascript page at least once.  The reliance upon client-side scripting might make it unstable, though.

It's still returning (when I go there manually)...
Code: [Select]
HTTP/1.1 200 OK
Server: nginx
Date: Mon, 09 Nov 2015 15:18:15 GMT
Content-Type: text/html
[etc, including <script>]
...where the ideal option "works everywhere" option would be something server-side that returns "Content-Type: image/png" and contain the binary for a PNG starting with the magic string "‰PNG".

However, maybe browsers, these days, are far more forgiving.  Standards have changed a lot since I knew, for sure, what was actually going on...  (I blame Netscape! ;) )

I'm not comfortable voting (because I have doubts about whether I'm seeing around the 'cache', despite the image change, and you want a solution that works even for those who haven't followed a link to 'cache' it... and I'm not willing to wipe mine just for this one test) but if you want to take this as a valid "time-dependent" image result, please do...  With the prior caveats.
Logged

TheBiggerFish

  • Bay Watcher
  • Somewhere around here.
    • View Profile
Re: Can you see this image?
« Reply #25 on: November 09, 2015, 10:32:26 am »

Aaand now it works.
What.
It said Day.
« Last Edit: November 09, 2015, 11:04:01 am by TheBiggerFish »
Logged
Sigtext

It has been determined that Trump is an average unladen swallow travelling northbound at his maximum sustainable speed of -3 Obama-cubits per second in the middle of a class 3 hurricane.

Arx

  • Bay Watcher
  • Iron within, iron without.
    • View Profile
    • Art!
Re: Can you see this image?
« Reply #26 on: November 09, 2015, 10:58:00 am »

Right, it looks like one of my headers wasn't overriding properly. Thanks for the telnet stuff, it seems to object to my tablet for some reason. I'm not sure why you're getting JS stuff though, it's pure PHP.
Logged

I am on Discord as Arx#2415.
Hail to the mind of man! / Fire in the sky
I've been waiting for you / On this day we die.

TheBiggerFish

  • Bay Watcher
  • Somewhere around here.
    • View Profile
Re: Can you see this image?
« Reply #27 on: November 09, 2015, 11:04:16 am »

Now it says Night.
Logged
Sigtext

It has been determined that Trump is an average unladen swallow travelling northbound at his maximum sustainable speed of -3 Obama-cubits per second in the middle of a class 3 hurricane.

Arx

  • Bay Watcher
  • Iron within, iron without.
    • View Profile
    • Art!
Re: Can you see this image?
« Reply #28 on: November 09, 2015, 11:07:30 am »

Now it says Night.

Alrighty, good. Means the rotation part works if the image is cached, at least.
Logged

I am on Discord as Arx#2415.
Hail to the mind of man! / Fire in the sky
I've been waiting for you / On this day we die.

Starver

  • Bay Watcher
    • View Profile
Re: Can you see this image?
« Reply #29 on: November 09, 2015, 11:17:16 am »

Right, it looks like one of my headers wasn't overriding properly. Thanks for the telnet stuff, it seems to object to my tablet for some reason. I'm not sure why you're getting JS stuff though, it's pure PHP.
It might not be your PHP I'm seeing (i.e. the <script type="text/javascript" src="/aes.js" ></script> and the following), but the webhost's fallback code.  Or the PHP's 'fall-forward' code, at a pinch, that you might not recognise if it's derived from a PHP library you call for its utility but didn't actually write yourself.  Perhaps it reacts differently when I supply more request headers than just the bare GET...

But, if it works (at least in general) it works.
Logged
Pages: 1 [2] 3 4