Comments (6)
I'm getting hit with a Captcha response when querying the XML. Highly likely to be because I'm outside Sweden, so creating a function for this could be challenging
from evergreen.
Hi Aaron, wouldn't that be strange? Swedish citizens should be able to run the version check even when they are abroad.
Did you set the User-Agent to: BankIDSecurityProgram
from evergreen.
Got this working with:
$params = @{
Uri = "https://vks.bankid.com"
UserAgent = "BankIDSecurityProgram"
ContentType = "application/xml; charset=utf-8"
Body = '<?xml version="1.0" encoding="utf-8"?><autoUpdateRequest><requestVersion>1.1</requestVersion><requestSequenceNr>1</requestSequenceNr><uhi>g+o9gYX4DcDZkQexT49puYWbWpO4</uhi><version>7.14.102.4</version></autoUpdateRequest>'
#Headers = @{ "Accept-Language" = "sv-se" }
#TransferEncoding = "gzip"
Method = "POST"
UseBasicParsing = $true
Verbose = $true
}
iwr @params
which returns:
<?xml version="1.0" encoding="UTF-8"?>
<autoUpdateResponse><responseVersion>1.2</responseVersion><responseSequence>1</responseSequence><nonce>ZGZmMDU2NzMtNzFlYS00YzNkLTg=</nonce><action></action></autoUpdateResponse>
from evergreen.
However, there's not much I can do with the response to turn it into an evergreen download URL. If we were to post the request with version 7.14.102.4
and get back 7.15.102.0
, for example, that could be turned into a URL.
from evergreen.
from evergreen.
The XML in the response data doesn't provide any version data that relates to the download URLs, e.g. https://cdn.bankid.com/bisp/win/BankID_installation_7_14_2.exe
, https://cdn.bankid.com/bisp/win/BankID_installation_7_14_2.zip
from evergreen.
Related Issues (20)
- [Bug]: API endpoints behind CloudFlare are requiring javascript to be enabled. HOT 2
- AppVentiX is returning v3.7.26 and not the latest release HOT 1
- MicrosoftAzureWindowsVMAgent is reporting Architecture type amd64 for both arm arm64 and amd64
- [Bug]: Get-Architecture should return x64
- [Bug]: MozillaFirefox returns null for ESR_NEXT HOT 1
- [Feature]: Update MozillaFirefox channel names to human readable
- [Bug]: GoogleChrome reports "Method invocation failed because [System.String] does not contain a method named 'ToShortDateString'"
- [Bug]: Recent change to Resolve-SystemNetWebRequest appears to have broken URL's returned for Sourceforge based Apps HOT 9
- [Bug]: McneelRhino reports "Cannot validate argument on parameter 'Uri'"
- [Bug]: ChromiumChromeDriver reports HTTP 410
- [Bug]: MozillaFirefox outputs HTTP 403/404 HOT 2
- SourceForge changes affecting downloads with Save-EvergreenApp HOT 3
- [Bug]: VMware applications fail due to changes to product API HOT 1
- [Enhancement]: Add new Fast/Slow releases to Zoom HOT 3
- [Bug]: Firefox Error 404 HOT 1
- [Feature]: Microsoft ODBC Driver mulitple languages and Additional 'Base Version' attribute HOT 1
- [Feature]: Microsoft OLE DB Driver mulitple languages and Additional 'Base Version' attribute HOT 1
- [Feature]: Microsoft SSMS Additional 'Base Version' attribute HOT 2
- [Bug]: Get-EvergreenApp for AzureCLI does not return 64 bit installer HOT 2
- [Bug]: 7zip not working HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from evergreen.