White Paper: Securing Legacy Maintenance Software

Outdated fleet software puts your company at risk of cyberattacks. One breach can cripple operations and finances.

Download the National Motor Freight Traffic Association Inc.’s (NMFTA)™ whitepaper to learn about new threats, vulnerabilities, and solutions for securing your legacy systems. 

#myIframe {
height: 1020px !important;
}
@media (min-width: 768px) {
#myIframe {
height: 980px !important;
}
}
@media (min-width: 1024px) {
#myIframe {
height: 1000px !important;
}
}

// Function to create the iframe URL
function createIframeURL() {
// Get the parent URL and create a URLSearchParams object
var parentURL = new URL(window.location.href);
var params = new URLSearchParams(parentURL.search);

// Construct the iframe URL with all parameters
var iframeURL = "https://freightwaves.dragonforms.com/loading.do?omedasite=0222MediaWhitePaperNMFTA20240626";

// Loop through all parameters and append them to the iframe URL
for (const param of params.entries()) {
var key = param[0];
var value = param[1];
iframeURL += `&${encodeURIComponent(key)}=${encodeURIComponent(value)}`;
}

// Set the iframe URL
var iframe = document.getElementById("myIframe");
iframe.src = iframeURL;
}

// Call the function on page load
createIframeURL();

window.addEventListener("message", function(event) {
console.log('Event',event.data);
// Check if the origin of the event matches the expected iframe domain
if (event.origin === "https://freightwaves.dragonforms.com") {
// Handle the message received from the iframe here

if (event.data.message === "redirect") {
console.log("Redirecting...");

// Construct the redirect URL with the email parameter
const redirectUrl = "https://bit.ly/3xqz4n0";

// Perform the redirection
window.location.href = redirectUrl;
} else {
console.log("Message received, but not a redirect.");
}
} else {
console.log("Received message from unexpected origin:", event.origin);
}
}, false);

The post White Paper: Securing Legacy Maintenance Software appeared first on FreightWaves.

Source: freightwaves - White Paper: Securing Legacy Maintenance Software
Editor: Sponsor

menu