Author Topic: Was trying to make a server browser, and then  (Read 723 times)

security is silly, pls


it works with cached data, but i mean
server browsers...
...with cached data


Nothing I can do about it, unfortunately. :(

i probably have no clue what im talking about but
why not set up some loop that copies the entire page of master2.blockland.us to clipboard
and then processes it there

    i probably have no clue what im talking about but
    why not set up some loop that copies the entire page of master2.blockland.us to clipboard
    and then processes it there
    you don't, but I'll put out some ideas I thought about and decided against for those that do:
    • Use PHP as a workaround to get the contents of a page.
      • I decided against this as it makes me vulnerable to attacks. I have no way to delay responses without spawning multiple PHP processes.
      • Using methods similar to preventing brute force attacks also seems a bit overboard, I'd rather not devote an entire database to something like this.
    • Change the AJAX datatype from text to jsonp
      • This wraps everything in <script> tags, and I'm afraid some silly willy nilly will use that to their advantage, changing their server name to <script>alert("lol, noob");</script>
      • Badspot limiting server name lengths does somewhat circumvent that, but y'know. nah, would rather not deal
    • Use window.postMessage()
      • The master server has to have some way to respond, and it's response is text/plain, there's no way this will work.
    • Ask if CORS headers can be added to the master server response (or hope he sees this topic)
      • I mean, it is publicly available
    [/list]bbcode sucks

    the fire nation attacked.

    this does not belong in off-topic.


    this does not belong in off-topic.
    great, thanks for the help

    i'll lock it anyways