patrichkof a écrit :
bonjour à tous, es ce qu'une âme charitable peux m'aider? Je suis nul en informatique, mais vraiment nul je cherche à récupérer l'adresse ip de mon vpn sur le site ipmagnet : ipmagnet.services.cbcdn.com/?hash=42bfe0bb46b1b1839d986b13fdfd9a0cef0ef17c j'obtient le résultat suivant <?xml version="1.1" encoding="UTF-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>ipmagnet</title> <link rel="icon" href="static/favicon.png" type="image/x-icon" /> <link rel="stylesheet" type="text/css" href="static/ipmagnet.css" /> <script type="text/javascript" src="static/ajax.js"></script> <script type="text/javascript" src="static/ipmagnet.js"></script> <meta name="robots" content="noindex,nofollow" /> <noscript> <meta http-equiv="refresh" content="60; url=?hash=42bfe0bb46b1b1839d986b13fdfd9a0cef0ef17c" /> </noscript> </head> <body onload="ipmagnet.init('42bfe0bb46b1b1839d986b13fdfd9a0cef0ef17c');"> <div id="title-wrap"> <h1>ipMagnet</h1> </div> <div id="center-wrap"> <div id="content-main"> <div id="mission-statement"> ipMagnet allows you to see which IP address your BitTorrent Client is handing out to its peers and trackers! </div> Add this <a href="magnet:?xt=urn:btih:42bfe0bb46b1b1839d986b13fdfd9a0cef0ef17c&dn=ipMagnet+Tracking+Link&tr=http%3A%2F%2Fipmagnet.services.cbcdn.com%3A80%2F">Magnet link</a> to your downloads and watch this page.<br/> FYI, the address you've accessed this page with is <span id="remote-ip">88.181.XXXXXXX</span> <div id="current-connections"> <div id="app-links"> <a href="?hash=42bfe0bb46b1b1839d986b13fdfd9a0cef0ef17c" class="app-link" id="update-link">Update</a> <a href="?clear&hash=42bfe0bb46b1b1839d986b13fdfd9a0cef0ef17c" class="app-link" id="clear-link">Clear my Data</a> </div> <table id="conn-table"> <tr> <th>Timestamp</th> <th>IP address(es)</th> <th>User Agent</th> </tr> <tr><td>18.02.2019 09:33:35</td><td>5.62.39.246</td><td>Transmission/2.93</td></tr><tr><td>18.02.2019 09:33:14</td><td>5.62.39.246</td><td>Transmission/2.93</td></tr> </table> </div> </div> <div id="footer-text"> <span id="status-line">Status: <span id="status-text">Using plain HTML</span></span> <span id="meta-footer"> Proudly run without ads or web tracking. Set up your own with the <a href="https://github.com/cbdevnet/ipmagnet">[source]</a> <a href="http://www.kopimi.com/kopimi/"><img src="static/kopimi.png" alt="kopimi"/></a> <a href="http://wtfpl.net/"><img src="static/wtfpl.png" alt="wtfpl"/></a> </span> </div> </div> </body> </html> j'ai une box domotique ou je peux créer un capteur http, je renseigne l'adresse: ipmagnet.services.cbcdn.com/?hash=42bfe0bb46b1b1839d986b13fdfd9a0cef0ef17c mais il me demande un Chemin XPATH?????? que dois je mettre pour avoir la dernière ip remontée par le site: <table id="conn-table"> <tr> <th>Timestamp</th> <th>IP address(es)</th> <th>User Agent</th> </tr> <tr><td>18.02.2019 09:33:35</td><td>5.62.39.246</td><td>Transmission/2.93</td></tr> merci à celui qui peux m'aider!!!
|