News for hackers. Stuff that matters.
Re:Protecting your email address via SVG instead of JavaScript by muzster on Monday May 13, 2024 @06:42AM (#40341655)
Heavily guarded fortress would indicate something of value inside, and the big crooks may spend a little more effort. In the age of AI, this becomes even easier.

   {
     "model" : "gpt-4-turbo",
     "messages" : [ 
       {
         "role" : "system",
         "content" : [ {
          "type" : "text",
          "text" : "return a json array of all valid emails found in the image."
          } ] 
       }, 
       {
         "role" : "user",
         "content" : [ {
           "type" : "image_url",
           "image_url" : {
           "url" : "data:image/png;base64,{{ INSERT_BASE64_PNG_DATA }}"
         }
       } ]
     } ],
      "temperature" : 0.5,
      "max_tokens" : 2048,
      "top_p" : 1.0,
      "frequency_penalty" : 0.0,
      "presence_penalty" : 0.0
    }
Edit: Converting web page to an image is trivial.
Re:Protecting your email address via SVG instead of JavaScript by zipping1549 on Monday May 13, 2024 @06:52AM (#40341729)
It won't make sense cost wise though
Re:Protecting your email address via SVG instead of JavaScript by omneity on Monday May 13, 2024 @08:53AM (#40342774)
Except the cost is only going down over time
Re:Protecting your email address via SVG instead of JavaScript by muzster on Monday May 13, 2024 @02:22PM (#40346509)
True - but that cost just halved with today's introduction of "GPT-4o". The other cost is time. IMHO - I think there is more to worry about than email scraping..
Re:Protecting your email address via SVG instead of JavaScript by internetter on Monday May 13, 2024 @10:07AM (#40343563)
We've had OCR for decades before GPT. I suspect GPT might perform worse than OCR. What a waste.
Re:Protecting your email address via SVG instead of JavaScript by muzster on Monday May 13, 2024 @02:17PM (#40346464)
Agreed - it's a waste. GPT is not too bad at reading text from image and with the added bonus that you can reason with it.
Re:Protecting your email address via SVG instead of JavaScript by barkbyte on Tuesday May 14, 2024 @11:10PM (#40362693)
In no world is anyone wasting resources to run an AI model to parse a page that may or may not include an email address. Even running a DOM parser is more than they’d typically do. This is silly.