Jump to content

Michael Magness

Members
  • Posts

    8
  • Joined

  • Last visited

  • Days Won

    1

Michael Magness last won the day on December 22 2023

Michael Magness had the most liked content!

Michael Magness's Achievements

Rookie

Rookie (2/14)

  • One Month Later
  • Week One Done
  • First Post Rare
  • Conversation Starter

Recent Badges

1

Reputation

  1. No problems. We just have to wait for our legal department to review the addendum and I'll get back to you. Most likely, this'll be done with a subset of data exported from Intella. Thanks again for ALL your help. Watch this space in the new year :-)
  2. Hey Marco, Just an update to this. MS Support finally got back to me and turns out that even if you have access to the PhotoDNA API, access to the hash edge feature isn't turned on by default and you have to sign another addendum for them to provide you with specific libraries and access to the hash edge DNA. So while you can send hashes to it, it will not work unless they specially enable it for you for your keys. I also wanted to say, THANK HEAPS for all your help in this and the code you've provided won't go to waste 🙂 Have a great week ahead.
  3. Thanks Marco. You've been a GREAT Help!
  4. Hi Marco, Again, this may be a "beginner" question but how did you get your hash? because mine seems different using the PhotoDNA.dll (or MD5 or SHA etc).. Mine's more like "Uy8FRArCakzLW5GGiwMMSwIRAzIBGwBFoxEWdDc9N5oymEaJYScQ/0oSE/wZRSJ5XyFPFhBuSkYqZVhhWCp0MXoDnEUzGj8yRVcXUylHJDUqcVcWcmcwcFMCEGEGBxFKEGAnGDEzFWQlXj23W6BAc6UJETsOARIDCVAeCxKyG0NtViuDWVdTIqITTB0UAQoF" VS yours being "2,8,2,13,4,9,5,12,12,14,62,9,15,7,31,12,7,0,3,12,5,0,0,12,8,6,140,16,43,3,180,15,183,63,255,97,34,181,255,25,14,4,217,20,22,0,215,10,14,21,255,1,26,9,255,6,131,28,255,33,64,153,255,9,31,5,255,5,41,1,255,5,0,44,46,48,7,32,55,57,118,24,49,36,58,123,61,31,18,4,60,34,24,1,50,31,3,14,134,13,9,15,166,7,102,18,149,10,46,106,129,19,20,14,137,26,30,5,131,42,6,13,34,10,6,9,32,10,30,10,24,21,17,29,35,23,14,8,64,9,21,4,69,8"
  5. Thanks Marco.. I'll test and let you know. BTW.. Where did you get the hash? because mine seems different using the PhotoDNA.dll.. UPDATE. It did work (thanks SO much), in so much as in the script managed to send the file in the requisite format to the API and receive results back BUT the results are still giving me a an "Error while processing request". {'Status': {'Code': 3004, 'Description': 'Error occurred while processing request', 'Exception': None}, 'ContentId': None, 'IsMatch': False, 'MatchDetails': None, 'XPartnerCustomerId': None, 'TrackingId': 'WUS_7cff4dce2d364b00a1c681fafb9dd112_57c7457ae3a97812ecf8bde9_276fc8f715054d2f81d3f8a26e07734b', 'CMRequestId': None} It's certainly pointing me in the right direction so I'll play with it for a bit and see. Your code did miss out on one of the headers which I added back in. Without it, it kept giving me an "invalid or missing parm" error. Content-Type: multipart/form-data
  6. Hey Marco, Thanks VERY much for responding. You're pretty much nailed the problem on it's head 🙂 While I can create a script, the problem is the content / hash of which I send to the API in the script. As a test I've managed to generate a hash using one of the images that MS provides as a test but no matter what I give it, I keep getting an "Error occurred while processing request". I can confirm it's not an API key issue as feeding it a "wrong" API key returns a different error. There are a few of possibilities here 1) The blurb on the page states that "Edge Hash is currently in preview. If you would like to learn more about edge hashing and how to be part of the preview please email m2support@microsoft.com". This hints at a possibility where the feature needs to be enabled for that key. Without them enabling "Edge hash" feature on our API key, it just wont' work. I have, of course, emailed them but MS doesn't seem to be paying attention to that email address.. *sigh* 2) The format I'm giving it is wrong. I'm just not sure HOW to encapsulate the body of the text of which I send to the API which is why, talking to you, may help to eliminate this lack of knowledge 🙂 3) The hash I'm feeding it is wrong. I've tried MD5s, SHAs and even their proprietary Hash from a PhotoDNAx64.dll but I keep getting the same error. This is the test hash I use generated .. This is using their PhotoDNAx64.dll which I got from an FTK ISO. Note that the image is a test image from Microsoft and is in the public domain. img_130.jpg|Uy8FRArCakzLW5GGiwMMSwIRAzIBGwBFoxEWdDc9N5oymEaJYScQ/0oSE/wZRSJ5XyFPFhBuSkYqZVhhWCp0MXoDnEUzGj8yRVcXUylHJDUqcVcWcmcwcFMCEGEGBxFKEGAnGDEzFWQlXj23W6BAc6UJETsOARIDCVAeCxKyG0NtViuDWVdTIqITTB0UAQoF Let me know your thoughts...if any. Thanks again.
  7. Hi Igor. Thanks for responding 🙂. My problem isn't coming up with a crawler script. I've got access to the pyPhotoDNA which supposedly generates the hashes based on a series of exported images. My problem is sending it to the PhotoDNA Match Edge Hash API. I have no idea how to format the hashes & name so that the API understands it. I've tested it on the API test but each time I do it I get an error. Here's the link I'm using at Microsoft to test.. https://developer.microsoftmoderator.com/docs/services/57c7426e2703740ec4c9f4c3/operations/596ea1487ecd9f1ba408c32f/console Also note that while I'd like to think of myself as a developer, the last time I wrote something was in VB6 🙂 (they made me a manager a while ago so.. no dev for this guy anymore) So It might be something as simple as formatting a JSON file / body which I don't have a lot of experience with so you'll forgive the basic questions 😞 Again, thanks for taking the time to help me.
  8. I was wondering if anyone knew anything about PhotoDNA, specifically in using the API. You'll have to forgive the basic questions/ We've tried going to Microsoft but they're taking a while to respond so I thought I'd start here since we're trying to write a script to integrate into intella.. 1) Do we need to host the images online before submitting them to PhotoDNA? From the examples I've seen, we need to provide a URL of an image to the PhotoDNA API for it to verify. 2) We've got an API Key to access PhotoDNA but do we need any additional enablement on MS's side to use their Edge Hashing API? 3) re the edge hashing, while I can generate the hashesh using pyPhotoDNA, I'm not sure how to submit the hash to the Edge Hash API. Does anyone have an example of the "body" on how they submit the hashes? Thanks in advance.
×
×
  • Create New...