demander adresse ip vpn

Capteurs et actionneurs HTTP

demander adresse ip vpn

Messagepar patrichkof » 18 Fév 2019 16:31

Bonjour à tous,
es ce qu'une âme charitable peux m'aider?
je cherche à récupérer l'adresse ip de mon vpn sur le site ipmagnet :
ipmagnet.services.cbcdn.com/?hash=42bfe0bb46b1b1839d986b13fdfd9a0cef0ef17c

j'obtient ça:

<?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&amp;dn=ipMagnet+Tracking+Link&amp;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.152.138</span>
<div id="current-connections">
<div id="app-links">
<a href="?hash=42bfe0bb46b1b1839d986b13fdfd9a0cef0ef17c" class="app-link" id="update-link">Update</a>
<a href="?clear&amp;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>


que dois je mettre dans le chemin xpath de mon capteur http pour avoir la dernière adresse ip remontée?

Merci pour votre aide
patrichkof
 
Messages : 24
Inscription : 18 Fév 2019

Re: demander adresse ip vpn

Messagepar stef31 » 18 Fév 2019 18:28

T'es sur un forum de domotique...
EEDOMUS V2 - RFX avec RTS
En attente de l'EEDOMUS V4
stef31
 
Messages : 2947
Inscription : 20 Août 2013
Localisation : 31

Re: demander adresse ip vpn

Messagepar patrichkof » 18 Fév 2019 19:02

oui je sais merci.
Je n'y connais rien en informatique et en créant un capteur http sur l'eedomus, je sais qu'on peu récupérer des valeurs sur une adresse mail
alors je demande de l'aide
quelqu'un s'il vous plait???
patrichkof
 
Messages : 24
Inscription : 18 Fév 2019

Re: demander adresse ip vpn

Messagepar cedrich » 19 Fév 2019 15:37

the address you've accessed this page with is <span id="remote-ip">88.181.152.138



Comme sur le port salut
cedrich
 
Messages : 11
Inscription : 26 Août 2018

Re: demander adresse ip vpn

Messagepar patrichkof » 19 Fév 2019 19:01

Bonjour Cedrich,

je souhaiterai plutôt récupérer la dernière valeur: <th>IP address(es)</th> qui se met à jour régulièrement.
Pièces jointes
2019-02-19_18-59-33.jpg
2019-02-19_18-59-33.jpg (80.13 Kio) Consulté 4494 fois
patrichkof
 
Messages : 24
Inscription : 18 Fév 2019

Re: demander adresse ip vpn

Messagepar patrichkof » 23 Fév 2019 12:49

+1
patrichkof
 
Messages : 24
Inscription : 18 Fév 2019


Retour vers Requêtes HTTP

Qui est en ligne ?

Utilisateurs parcourant ce forum : Aucun utilisateur inscrit et 18 invité(s)