nmh-workers
[Top] [All Lists]

Extracting Links from HTML Message

2020-01-06 07:03:28
There's a situation which is wasting a tremendous amount of my
time so anything that will move this beast along is greatly
appreciated.

        There is a web site

https://www.radioid.net

that I need to register an account on.  They want to make sure we
can receive their emails which I sure can but the email ping
involves going to some url which contains a serial number.  

        The fun part is that they also send a link in the clear
stating that you can paste it in your browser.

        Every single time I try that, the browser returns a
message stating that the link has already been used (game over!)

        There is an image file referenced in the ping that
contains a slightly different url and that might be one I could
use that works.

        Is there a way I can show this message and see the
embedded url in the image file?
Here is the output I get from "show.  Below that, I will also include
the un-processed body.

$ show
[ Message inbox:3782 ]
From:    no-reply@radioid.net
Subject: EMail Verification - Registration
RadioID Logo
Verification Image
If the above link does not work, please copy-paste this link into your
browser.
https://www.radioid.net/verify/token=SHTUI469E1GVO35SDTGK180BAHKLOP9FPF
R9GWQD

This email was sent to: martin.m@suddenlink.net

More legalese boiler plate follows.  Ya' gotta love stuff like
this.

        All I am interested in at this point is mechanically
extracting the url embedded in the image to see if I can stuff
that in to chrome and have any more luck in their security
theater production.  They've got a CAPTCHA in this site and
surprisingly, that part works fine.  Thanks for any constructive help.

Martin McCormick


        Here are the last couple of headers plus raw text:


To: martin.m@suddenlink.net
From: no-reply@radioid.net
Subject: EMail Verification - Registration
Content-Type: text/html; charset="ascii"
Mime-Version: 1.0

<!DOCTYPE html>
<html lang=3D"en">
<head>
    <style>
        p.one {
            border-style: solid;
            border-color: green;
            border-radius: 5px;
        }

        a {
            text-decoration: none;
            color: black;
        }
    </style>

    <meta charset=3D"UTF-8">
    <title>RadioID.net Email Verify</title>
</head>
<body style=3D"font-family: Arial, Helvetica, sans-serif;">
<table style=3D"margin: 0 auto; border: 0">

    <tr>
        <th style=3D"margin: 0 auto; width:200px">
            <img src=3D"https://www.radioid.net/images/radioid_logo.png"; wi=
dth=3D"200" alt=3D"RadioID Logo">
        </th>
    </tr>
    <tr>
        <th style=3D"margin: 0 auto;">
            <table style=3D"margin: 0 auto; border: 0; width: 100%">
                <tr>
                    <td style=3D"margin: 0 auto;">
                        <table style=3D"margin: 0 auto; border: 0">
                            <tr>
                                <td>
                                    <p class=3D"one">
                                        <img src=3D"https://www.radioid.net=
/verify/SHTUI469E1GVO35SDTGK180BAHKLOP9FPFR9GWQD" alt=3D"Verification Image=
">
                                    </p>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </th>
    </tr>

    <tr>
        <td align=3D"center">
            If the above link does not work, please copy-paste this link in=
to your browser.<br>
            <span style=3D"color: #007bff">https://www.radioid.net/verify/t=
oken=3DSHTUI469E1GVO35SDTGK180BAHKLOP9FPFR9GWQD</span>
        </td>
    </tr>

</table>
</body>
</html>

<br><br><br><br> This email was sent to: martin.m@suddenlink.net<br><br>Dis=
claimer<br><br>The information in this email may be confidential, legally p=
rivileged or otherwise. It is intended solely for the addressee. Access to =
this email by anyone else is unauthorised. If you are not the intended reci=
pient, any disclosure, copying, distribution or any action taken or omitted=
 in reliance on it, is prohibited and may be unlawful. Whilst all reasonabl=
e steps are taken to ensure the accuracy and integrity of information and d=
ata transmitted electronically and to preserve the confidentiality thereof,=
 no liability or responsibility whatsoever is accepted if information or da=
ta is, for whatever reasons, corrupted or does not reach its intended desti=
nation. Opinions, conclusions and other information in this message that do=
es not relate to the official business of the sender shall be understood as=
 neither given nor endorsed by it

<Prev in Thread] Current Thread [Next in Thread>