Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
infusion:infusion_scanning_document_storage [2015/10/15 16:37]
smayr [License check technical details]
infusion:infusion_scanning_document_storage [2024/07/11 14:11] (current)
ajdavis
Line 1: Line 1:
-= Infusion =+==== Infusion ====
  
-== Scanning Client == +=== Scanning Client === 
-The scanning software phones home to check for updates as well as to ensure you're using a valid license.+To avoid an internet outage keeping us from being able to scan, we have an internal DNS record for license.seacolt.com that redirects the license check to the Infusion server instead. This could also be achieved by directly modifying the client machine's ''[[#license_verification_technical_details|hosts]]'' file (c:\windows\system32\drivers\etc\hosts).
  
-To avoid an internet outage keeping us from being able to scan we have spoofed the server response to the license check. The client machine's hosts file (c:\windows\system32\drivers\etc\hostsshould be set to redirect requests intended for the license server to infusion instead.+Infusion is running IIS with a plain text file right now ([[http://infuserv.audina.net/activate.aspx|/activate.aspx]]that only contains the spoofed response, "CC054B68F2937B3A". You can update or replace this file by using IIS Manager and going to Sites > Default Web Site and choosing "Content View".
  
-Infusion is running IIS with a plain text file right now that only contains the spoofed response.+{{:infusion:infusion-iis-screenshot.png?direct&400|}}
  
 === Update check technical details === === Update check technical details ===
Line 12: Line 12:
  
 === License verification technical details === === License verification technical details ===
-  * License url: [[license.seacolt.com/activate.aspx]]+  * License url: [[http://license.seacolt.com/activate.aspx]]
   * License key used for this example: ''Q84QX-2SF9S-5Z6DI-ZG72G''   * License key used for this example: ''Q84QX-2SF9S-5Z6DI-ZG72G''
- 
-<code> 
-POST /activate.aspx HTTP/1.1 
-Content-Type: application/x-www-form-urlencoded 
-Host: license.seacolt.com 
-Content-Length: 88 
-Connection: Keep-Alive 
- 
-sn=E8A66832C436CB98B54B6E47F147CCC45F7E0C17FB291140&mid=3899FA41CB952C045359FF7E6D343A4CHTTP/1.1 200 OK 
-Cache-Control: private 
-Content-Type: text/plain; charset=utf-8 
-Server: Microsoft-IIS/7.5 
-X-AspNet-Version: 4.0.30319 
-X-Powered-By: ASP.NET 
-Date: Thu, 15 Oct 2015 18:06:11 GMT 
-Content-Length: 16 
- 
-CC054B68F2937B3A 
-</code> 
  
 The license verification posts arguments as follows to the license url: The license verification posts arguments as follows to the license url:
Line 38: Line 19:
   * ''mid=3899FA41CB952C045359FF7E6D343A4C''   * ''mid=3899FA41CB952C045359FF7E6D343A4C''
  
-''SN'' seems to be based on the license or activation key in use.+''SN'' is the symmetrically encrypted cd key.
 ''Mid'' is an identifier based on the detected hardware on the machine. (Video driver changes affect this.) ''Mid'' is an identifier based on the detected hardware on the machine. (Video driver changes affect this.)
  
-A plain text response of ''"CC054B68F2937B3A"'' seems to indicate success for that ''sn'' regardless of what ''mid'' argument is supplied. Which is to say hardware changes can be made so long as we return that response.+A plain text response of ''CC054B68F2937B3A'' is an encrypted response which decrypts to ''RUN'' and indicates success for that request.
  
-Hosts file:+=== Hosts file ===
 <code bash> <code bash>
 # Copyright (c) 1993-2009 Microsoft Corp. # Copyright (c) 1993-2009 Microsoft Corp.
Line 66: Line 47:
 # 127.0.0.1       localhost # 127.0.0.1       localhost
 # ::1             localhost # ::1             localhost
-192.168.0.72  license.seacolt.com # use infusion as if it were seacolt's phone home server+192.168.0.41  license.seacolt.com # use infusion as if it were seacolt's phone home server
  
 </code> </code>
Line 72: Line 53:
 License files: License files:
   * {{:infusion:infusion_licenses.zip|download}}   * {{:infusion:infusion_licenses.zip|download}}
 +
 +=== API ===
 +  * [[http://infuserv.audina.net:9070|Infusion API]]