Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added version detection for Oracle ATG Web Commerce #42

Merged
merged 1 commit into from
May 8, 2019
Merged

Added version detection for Oracle ATG Web Commerce #42

merged 1 commit into from
May 8, 2019

Conversation

roushikk
Copy link
Contributor

@roushikk roushikk commented Oct 26, 2018

Version detection is done using headers. There was no way to access headers in detect.py so I added headers as an argument. Oracle ATG's version is base64 encoded so it needs to be decoded. Decoded result looks like the following:

  • ATGPlatform/9.2 [ DPSLicense/0 B2CLicense/0 ]

  • ATGPlatform/10.0,CommerceReferenceStore/10.0 [ PlatformLicense/0 B2CLicense/0 ]

  • ATGPlatform/10.1.2

So, a regex is used to extract the version from the decoded result.

@Tuhinshubhra Tuhinshubhra merged commit 142dc04 into Tuhinshubhra:master May 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants