Jump to content

Recommended Posts

Posted (edited)

Good Morning AutoIT Geniuses! :sorcerer:

Now, it could be that I've been away for a while - but I can get source from just about any website except adobe using InetGetSource.

I have no idea why...  :huh2: error: 13

https://helpx.adobe.com/security.html

https://helpx.adobe.com/security.html?promoid=HRYCM

Thanks!

#include <Inet.au3>
HttpSetUserAgent("Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko")
Local $sOpenAdobe_URLSecurityUpdates = 'https://helpx.adobe.com/security.html'
Local $OpenSSL01 = _INetGetSource($sOpenAdobe_URLSecurityUpdates)

WinHttp.au3 is returning results - I just don't get it...

Thanks! :guitar:

#include "WinHttp.au3"

Opt("MustDeclareVars", 1)

; Initialize and get session handle
Global $hOpen = _WinHttpOpen()
; Get connection handle
Global $hConnect = _WinHttpConnect($hOpen, "helpx.adobe.com")
; Make a request
Global $hRequest = _WinHttpSimpleSendRequest($hConnect, Default, "/security.html?promoid=HRYCM")

If $hRequest Then
    ; Simple-read...
    ConsoleWrite(_WinHttpSimpleReadData($hRequest) & @CRLF)
    MsgBox(64, "Okey do!", "Returned source is print to concole. Check it.")
Else
    MsgBox(48, "Error", "Error ocurred for _WinHttpSimpleSendRequest, Error number is " & @error)
EndIf

; Close handles
_WinHttpCloseHandle($hRequest)
_WinHttpCloseHandle($hConnect)
_WinHttpCloseHandle($hOpen)

 

Edited by souldjer777

"Maybe I'm on a road that ain't been paved yet. And maybe I see a sign that ain't been made yet"
Song Title: I guess you could say
Artist: Middle Class Rut

Posted (edited)

Did you read this:

??

And this:

https://www.autoitscript.com/forum/search/?type=all&q=inetgetsource

 

 

Edited by mLipok

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted (edited)

Yeah, I've been all over - you try it - see if you can get it to work... I can see it in my browser - no problemo - but when I use _InetGetSource - nothing is returned and it worked fine... believe it was Feb 29 when I ran it last - why 2 weeks later does it bomb out?

Hey, I might be on to something... getting a Security Alert "certificate revocation" prompt

...

Security Alert
Revocation information for the security certificate for this site is not available. Do you want to proceed?
Yes No View Certificate
...
for some reason using the following AutoIT script...

$oHTTP = ObjCreate("Microsoft.XMLHTTP")
$oHTTP.Open("GET", "https://helpx.adobe.com/security.html", 0)
$oHTTP.Send()
Local $txt = $oHTTP.Responsetext
$oHTTP = 0
ConsoleWrite($txt)

FYI - Take from: 

That has to be it.
 

Edited by souldjer777

"Maybe I'm on a road that ain't been paved yet. And maybe I see a sign that ain't been made yet"
Song Title: I guess you could say
Artist: Middle Class Rut

Posted

I do not see any problem with this:

#include <Inet.au3>
HttpSetUserAgent("Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko")
Local $sOpenAdobe_URLSecurityUpdates = 'https://helpx.adobe.com/security.html'
Local $OpenSSL01 = _INetGetSource($sOpenAdobe_URLSecurityUpdates)
If @error Then MsgBox($MB_ICONERROR, 'TEST', '@error = ' & @error & @CRLF & '@extended = ' & @extended)
MsgBox(0, '', $OpenSSL01)

 

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted (edited)

Gotta be my Windows updates then... or something is out of wack...

---------------------------
TEST
---------------------------
@error = 13
@extended = 12057
---------------------------
OK   
---------------------------
Everything appears to be valid... just not sure about the "revocation information".

security_alert_revocation.jpg

adobe.com_cert.jpg

Edited by souldjer777

"Maybe I'm on a road that ain't been paved yet. And maybe I see a sign that ain't been made yet"
Song Title: I guess you could say
Artist: Middle Class Rut

Posted

I'm not expert in this regard I can only confirm that on my side all is OK.

 

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted

Me neither - thanks for testing on your end. I know for a while now Microsoft has been automating cert removal -and for good reason. I'm having trouble believing this is an Adobe thing... but it's possible - however very unlikely.

Configure Trusted Roots and Disallowed Certificates
https://technet.microsoft.com/en-us/library/dn265983.aspx?f=255&MSPPError=-2147217396

"Maybe I'm on a road that ain't been paved yet. And maybe I see a sign that ain't been made yet"
Song Title: I guess you could say
Artist: Middle Class Rut

Posted

Well, as it turns out... for me this was an IE setting.

"This is a low-risk reduction in web and mail security."

Control Panel, open Internet Options. On the Advanced tab, deselect Check for server certificate revocation

Understanding Certificate Revocation Checks
https://blogs.msdn.microsoft.com/ieinternals/2011/04/07/understanding-certificate-revocation-checks/

I wouldn't expect anyone else to have to do that but that was my solution - SADLY...

"Maybe I'm on a road that ain't been paved yet. And maybe I see a sign that ain't been made yet"
Song Title: I guess you could say
Artist: Middle Class Rut

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...