Jump to content
Ketarin forum
  • Announcements

g00p3k

Javascript hiding the URL and populating the "::After" to Get Links

Recommended Posts

g00p3k   

Tried a variety of approaches, and wondering if this is a simple process that I'm just not approaching correctly. 

http://ubitsoft.com/sql-enlight/download

I want to parse out the download link, but it seems to be hidden in the ::AFTER block that is populated by the javascript button click, so I don't get any luck in parsing the raw html, or finding any POST request being sent. 

How would you extract out the exe version info to download from this site?

Share this post


Link to post
Share on other sites
shawn   

this is one where you get to get creative. the URL is based on a constant prefix and suffix plus the version number, so instead of harvesting the link, build it. collect the version number into a variable named version with the following regular expression:

>SQL Enlight ([\d\.]+)<

then build the URL as:

http://ubitsoft.com/downloads/sqlenlight_{version}.exe

 

Share this post


Link to post
Share on other sites

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


×