Product Expiration Date Code

I don’t say that it is a rocket science or something, but maybe someone will need to automate Tenable Support portal routine, and here will be a script, which can be used. My own case was to get expiration date for purchased and trial Tenable products. To know in advance when and what products should be bought and updated.

It turned out that getting this data from deployed products via APIs is not as trivial as it sounds, but I will write about this topic next time.

  1. Many industries are forced to identify their products with date codes, expiration dates, and/or lot codes for tracking and traceability. From hand coding to.
  2. There is no expiration date.

To work with Tenable portal you must get cookies:

That's why i gave a list of popular websites where you can find genuine serial keys, patch, activation code, crack, product key. The date format MM/DD/. 005 = the 5th day of the year (January 5th – Morton uses a Julian date) This code tells us the product was manufactured January 5, 2021 Once you understand when your product was manufactured, use the guidelines above to understand the optimal timing to use your product. Julian Date Calendar for. Forex Trading - Expiration Date: The last day that a forex option can be exercised.

$ user='johnsmith@corporation.com'; pass='qwerty'; curl -c tenable_cookie -s 'https://support.tenable.com/support-center/cerberus-support-center/do_login.php' --compressed --data 'form_submit=do_login&auth_user=$user&auth_pass=$pass&submit=Log+in'

Product Expiration Date Code

If everything was successful, you should get tenable_cookie file containing something like:

cat tenable_cookie
# Netscape HTTP Cookie File
# http://curl.haxx.se/docs/http-cookies.html
# This file was generated by libcurl! Edit at your own risk

Olay Product Expiration Date Codes

#HttpOnly_.support.tenable.com TRUE / FALSE 0 CerberusPublicGUI sbvhasd0ebrbgtqef5352rh8r1

Cosmetic Product Expiration Date Code

Now getting the expiration date:

$ IFS=$'n';for line in `curl -b tenable_cookie -s 'https://support.tenable.com/support-center/index.php?x=&mod_id=14' | egrep 'plusminus[0-9]+'`; do id=`echo $line | egrep -o 'plusminus[0-9]+' | sed 's/plusminus//'`; name=`echo '$line' | egrep -o '.*' | sed 's/</*b>//g'`; curl -b tenable_cookie -s 'https://support.tenable.com/component/productlist.php?producttype=$id' | egrep -o '[0-9]{4}-[0-9]*-[0-9]*' | awk -v name='$name' '{print name';'$0}' | sort | uniq; done;
Nessus Manager;2016-11-17
Nessus Professional;2017-06-21
SecurityCenter Continuous View;2017-01-01

Goodies Frozen Egg Product Expiration Date Code

The idea is to find on the page with the activation key (mod_id=14), all lines containing Tenable product codes and names. Then for each product code we make request to get product description and parse out the expiration date. You can also get activation keys themselves, or perhaps the file you need to activate SecurityCenter.

Html parsing a thankless task. I apologize if you decide to try this example and it does not work. It simply means that Tenable changed something in their page and everything fell apart. Please write it in the comments in this case 😉

How To Read Expiration Code

Hi! My name is Alexander and I am an Information Security Automation specialist. You can read more about me here. Currently, the best way to follow me is my Telegram channel @avleonovcom. I update it more often than this site. If you haven’t used Telegram yet, give it a try. It’s great. You can discuss my posts or ask questions at @avleonovchat.