JDownloader Community - Appwork GmbH
 

 
 
Thread Tools Display Modes
  #1  
Old 08.12.2011, 21:47
Gontrand68 Gontrand68 is offline
JD Alpha
 
Join Date: Dec 2011
Posts: 20
Unhappy Reconnexion impossible avec B-Box 2

Case closed the script works ;), salut France

TWO Scripts added by Freeloader and both of them work, one is 24 seconds and one is 20secs

Avec B-Box 2 ultimate script > reconnection time 24 seconds
Suggested script; uses a 4 sec delay btw disconnect and reconnect so everything goes smooth
Spoiler:
Code:
[[[HSRC]]]
    
[[[STEP]]]
[[[REQUEST]]]
GET / HTTP/1.1
Host: %%%routerip%%%
Connection: keep-alive

[[[/REQUEST]]]
[[[PARSE]]]
num:session_id=(\d+)
tra:transaction_id..value="(\d+)"
key:/cache/(\d+)/index
[[[/PARSE]]]
[[[/STEP]]]
	 
[[[STEP]]]
[[[REQUEST]]]
POST /cache/%%%key%%%/index.cgi HTTP/1.1
Host: %%%routerip%%%
Connection: keep-alive
Referer: http://%%%routerip%%%/
Content-Type: application/x-www-form-urlencoded
Content-Length: 170

active_page=9057&session_id=%%%num%%%&prev_page=0&page_title=Status&nav_stack_0=9057&mimic_button_field=submit_button_conn_disconect%3A+..&button_value=&transaction_id=%%%tra%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]][[[WAIT seconds="4"/]]][[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET / HTTP/1.1
Host: %%%routerip%%%
Connection: keep-alive

[[[/REQUEST]]]
[[[PARSE]]]
num:session_id=(\d+)
tra:transaction_id..value="(\d+)"
key:/cache/(\d+)/index
[[[/PARSE]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
POST /cache/%%%key%%%/index.cgi HTTP/1.1
Host: %%%routerip%%%
Connection: keep-alive
Referer: http://%%%routerip%%%/cache/574771436/index.cgi
Content-Type: application/x-www-form-urlencoded
Content-Length: 194

active_page=9057&session_id=%%%num%%%&prev_page=9057&page_title=Status&nav_stack_0=9057&nav_9057_button_value=&mimic_button_field=submit_button_conn_connect%3A+..&button_value=&transaction_id=%%%tra%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[/HSRC]]]



Avec B-Box 2 ultimate script > reconnection time 20 seconds
this script has no 4secs delay
Spoiler:
Code:
[[[HSRC]]]
    
[[[STEP]]]
[[[REQUEST]]]
GET / HTTP/1.1
Host: %%%routerip%%%
Connection: keep-alive

[[[/REQUEST]]]
[[[PARSE]]]
num:session_id=(\d+)
tra:transaction_id..value="(\d+)"
key:/cache/(\d+)/index
[[[/PARSE]]]
[[[/STEP]]]
	 
[[[STEP]]]
[[[REQUEST]]]
POST /cache/%%%key%%%/index.cgi HTTP/1.1
Host: %%%routerip%%%
Connection: keep-alive
Referer: http://%%%routerip%%%/
Content-Type: application/x-www-form-urlencoded
Content-Length: 170

active_page=9057&session_id=%%%num%%%&prev_page=0&page_title=Status&nav_stack_0=9057&mimic_button_field=submit_button_conn_disconect%3A+..&button_value=&transaction_id=%%%tra%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET / HTTP/1.1
Host: %%%routerip%%%
Connection: keep-alive

[[[/REQUEST]]]
[[[PARSE]]]
num:session_id=(\d+)
tra:transaction_id..value="(\d+)"
key:/cache/(\d+)/index
[[[/PARSE]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
POST /cache/%%%key%%%/index.cgi HTTP/1.1
Host: %%%routerip%%%
Connection: keep-alive
Referer: http://%%%routerip%%%/cache/574771436/index.cgi
Content-Type: application/x-www-form-urlencoded
Content-Length: 194

active_page=9057&session_id=%%%num%%%&prev_page=9057&page_title=Status&nav_stack_0=9057&nav_9057_button_value=&mimic_button_field=submit_button_conn_connect%3A+..&button_value=&transaction_id=%%%tra%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[/HSRC]]]


................................................
Bonjour,

J ai bien sur JDownloader et impossible de configurer la reconnexion automatique. En fait tout se passe bien jusqu'à ce que je teste la reconnexion et là ça ne marche pas. Ça me dis la reconnexion a échouée, vérifiez vos paramètres et recommencez en manuel...

J ai une B-Box 2 de chez Belgacom. J ai Win7 et Firefox. Mon IP est 192.168.1.1.

Des idées?

Merci,

Gontrand68.

Last edited by Freeloader; 03.02.2012 at 14:07.
  #2  
Old 09.12.2011, 11:22
remi remi is offline
JD Legend
 
Join Date: Mar 2009
Location: Absurdistan
Posts: 16,237
Default

Veuillez montrer votre script s.v.p..
__________________
WikiLeaks is the Intelligence Agency of the People, defending People against the Hypocrisy and the Crimes of the Neo-Communist Power Elites. Governments are like a metastatic cancer.
  #3  
Old 09.12.2011, 12:38
Gontrand68 Gontrand68 is offline
JD Alpha
 
Join Date: Dec 2011
Posts: 20
Default

voici:
Spoiler:
[[[HSRC]]]
[[[STEP]]]
[[[REQUEST]]]
GET / HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /js/script.js HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /WebGui.txt HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /WebGuiDhcpsLog.txt HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
POST /cache/1930683057/index.cgi HTTP/1.1
Host: %%%routerip%%%

active_page=9057&session_id=11330845&prev_page=0&page_title=Status&nav_stack_0=9057&mimic_button_fie ld=submit_button_conn_disconect%3A+..&button_value=&transaction_id=8
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /js/script.js HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /cache/1930683057/WebGui.txt HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /cache/1930683057/WebGuiDhcpsLog.txt HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
POST /cache/499901017/index.cgi HTTP/1.1
Host: %%%routerip%%%

active_page=9057&session_id=11330845&prev_page=9057&page_title=Status&nav_stack_0=9057&nav_9057_butt on_value=&mimic_button_field=submit_button_conn_connect%3A+..&button_value=&transaction_id=9
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /js/script.js HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /cache/499901017/WebGuiDhcpsLog.txt HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /cache/499901017/WebGui.txt HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[/HSRC]]]

Last edited by fma16; 09.12.2011 at 18:12.
  #4  
Old 11.12.2011, 16:15
remi remi is offline
JD Legend
 
Join Date: Mar 2009
Location: Absurdistan
Posts: 16,237
Default

Essayez la méthode décrit dans mon message http://board.jdownloader.org/showpos...6&postcount=16

Si ça ne marche pas nous allons essayer un autre syntaxe.
__________________
WikiLeaks is the Intelligence Agency of the People, defending People against the Hypocrisy and the Crimes of the Neo-Communist Power Elites. Governments are like a metastatic cancer.
  #5  
Old 11.12.2011, 17:59
Gontrand68 Gontrand68 is offline
JD Alpha
 
Join Date: Dec 2011
Posts: 20
Default

J ai bien suivi ton tuto, remi, mais rien...

Pour assurance, voici ce que donne donc maintenant le script:

[[[HSRC]]]
[[[STEP]]]
[[[REQUEST]]]
GET / HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[PARSE]]]
num:session_id.*?value=\"(\d+)
[[[/PARSE]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /js/script.js HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /WebGui.txt HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /WebGuiDhcpsLog.txt HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
POST /cache/1930683057/index.cgi HTTP/1.1
Host: %%%routerip%%%

active_page=9057&session_id=%%%num%%%&prev_page=0&page_title=Status&nav_stack_0=9057&mimic_button_fi eld=submit_button_conn_disconect%3A+..&button_value=&transaction_id=8
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /js/script.js HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /cache/1930683057/WebGui.txt HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /cache/1930683057/WebGuiDhcpsLog.txt HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
POST /cache/499901017/index.cgi HTTP/1.1
Host: %%%routerip%%%

active_page=9057&session_id=%%%num%%%&prev_page=9057&page_title=Status&nav_stack_0=9057&nav_9057_but ton_value=&mimic_button_field=submit_button_conn_connect%3A+..&button_value=&transaction_id=9
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /js/script.js HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /cache/499901017/WebGuiDhcpsLog.txt HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
  #6  
Old 12.12.2011, 13:28
remi remi is offline
JD Legend
 
Join Date: Mar 2009
Location: Absurdistan
Posts: 16,237
Default

Veuillez utiliser les [code] parce que le logiciel u forum ajoute des blancs.

Essayez encore le syntaxe suivant :

Code:
num:session_id.*?value=(\\d+)
ou

Code:
num:session_id.*?value.=.\"(\d+)
ou

Code:
num:session_id.*?value.=.(\\d+)
__________________
WikiLeaks is the Intelligence Agency of the People, defending People against the Hypocrisy and the Crimes of the Neo-Communist Power Elites. Governments are like a metastatic cancer.
  #7  
Old 12.12.2011, 15:43
Gontrand68 Gontrand68 is offline
JD Alpha
 
Join Date: Dec 2011
Posts: 20
Default

Non toujours rien.
  #8  
Old 13.12.2011, 12:52
remi remi is offline
JD Legend
 
Join Date: Mar 2009
Location: Absurdistan
Posts: 16,237
Default

Est-ce que vous pouvez capter la page html ('Source' dans votre navigateur) de votre routeur qui contient l'identifiant et la montrer ici (avec un spoiler s.v.p.)?
__________________
WikiLeaks is the Intelligence Agency of the People, defending People against the Hypocrisy and the Crimes of the Neo-Communist Power Elites. Governments are like a metastatic cancer.
  #9  
Old 13.12.2011, 17:00
Gontrand68 Gontrand68 is offline
JD Alpha
 
Join Date: Dec 2011
Posts: 20
Default

Voilà, j ai fait un clic droit et j ai choisi "code source de la page" (je ne sais trop si c est ça qu il fallait faire...)

Spoiler:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "**External links are only visible to Supporters**>
<!--- Page(9057)=[Status] --->
<HTML>
<HEAD>
<SCRIPT language="Javascript">
<!--
var is_button_in_focus=false;
var is_submit=0;

function loaded()
{
var inp;
document.form_contents.mimic_button_field.value="";
}
function mimic_button(button_name, cgi)
{
if (is_submit)
return;
is_submit=1;
f=document.form_contents;
switch(cgi) {
case 0:
f.encoding="application/x-www-form-urlencoded";
f.action="/cache/1371496227/index.cgi";
break;
case 1:
f.encoding="multipart/form-data";
f.action="/cache/484630388/index.cgi";
break;
case 2:
f.encoding="multipart/form-data";
f.action="/cache/525204967/index.cgi";
break;
}
f.mimic_button_field.value = button_name;
setTimeout("is_submit=0", 1000);
f.submit();
}

// -->
</SCRIPT>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<META HTTP-EQUIV="EXPIRES" CONTENT="Tue, 13 Dec 2011 17:24:04 GMT">
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="PUBLIC">
<META HTTP-EQUIV="PRAGMA" CONTENT="CACHE">
<meta name="author" content="SAGEM Communications">
<meta name="Copyright" content="SAGEM Communications">
<TITLE>Belgacom</TITLE>
<link rel="stylesheet" type="text/css" href="/css/fonts.css">
<link rel="stylesheet" type="text/css" href="/css/generic.css">
<link rel="stylesheet" type="text/css" href="/css/page.css">

<script type="text/javascript" src="/js/script.js"></script>
</HEAD>

<BODY>
<FORM name="form_contents" method=POST action="/cache/1760673663/index.cgi" enctype="application/x-www-form-urlencoded" onSubmit="if (window.is_submit && is_submit==1) return false; is_submit=1; return true; ">
<!-- lb_struct_cb -->
<div class="main">

<table class="bigbanner">
<tr>
<td>
<div id="logo">
<a href="**External links are only visible to Supporters**><img src="images/logo.gif"></a>
</div>
</td>

</tr>
</table>
<table align=right>
<tr>
<TD class="standard_cell" style="text-align:RIGHT"><a href="index.cgi?session_id=201729725"><img src="images/house.gif"></a>
</TD><TD class="standard_cell" style="text-align:RIGHT"><a href="index.cgi"><img src="images/exit.gif"></a>
</TD></tr>
</table>
<table class="contener">
<tr>
<td rowspan="2" class="menu">
<div id="menu">
<!-- p_lb_sidebar -->
<dl>
<dt>
<a href="javascript:mimic_button('sidebar: lb_sidebar_quick_start_main..', 0)"><IMG border=0 src="/cache/05-May-11 15:58:26/images/fleche.gif" width="17" height="17">&nbsp;&nbsp;Quick Start</a></dt>

</dl>
<dl>
<dt>
<a href="javascript:mimic_button('sidebar: lb_sidebar_advanced_main..', 0)"><IMG border=0 src="/cache/05-May-11 15:58:26/images/fleche.gif" width="17" height="17">&nbsp;&nbsp;Advanced Settings</a></dt>
<dd>
<ul>
<li class="selected"><a href="javascript:mimic_button('sidebar: lb_sidebar_advanced_status..', 0)"><IMG border=0 src="/cache/05-May-11 15:58:26/images/fleche2.gif" width="7" height="5">&nbsp;&nbsp;Status</a></li>
<li><a href="javascript:mimic_button('sidebar: lb_sidebar_advanced_lan_setup_dhcp..', 0)"><IMG border=0 src="/cache/05-May-11 15:58:26/images/fleche2.gif" width="7" height="5">&nbsp;&nbsp;Home network</a></li>
<li><a href="javascript:mimic_button('sidebar: lb_sidebar_advanced_lan_servers..', 0)"><IMG border=0 src="/cache/05-May-11 15:58:26/images/fleche2.gif" width="7" height="5">&nbsp;&nbsp;LAN servers</a></li>
<li><a href="javascript:mimic_button('sidebar: lb_sidebar_advanced_wireless..', 0)"><IMG border=0 src="/cache/05-May-11 15:58:26/images/fleche2.gif" width="7" height="5">&nbsp;&nbsp;Wireless</a></li>
<li><a href="javascript:mimic_button('sidebar: lb_sidebar_advanced_erase_reboot..', 0)"><IMG border=0 src="/cache/05-May-11 15:58:26/images/fleche2.gif" width="7" height="5">&nbsp;&nbsp;Maintenance</a></li>

<li><a href="javascript:mimic_button('sidebar: lb_sidebar_sip_sip..', 0)"><IMG border=0 src="/cache/05-May-11 15:58:26/images/fleche2.gif" width="7" height="5">&nbsp;&nbsp;Telephone</a></li>
<li><a href="javascript:mimic_button('sidebar: lb_sidebar_advanced_fw_access_control..', 0)"><IMG border=0 src="/cache/05-May-11 15:58:26/images/fleche2.gif" width="7" height="5">&nbsp;&nbsp;System</a></li>
<li><a href="javascript:mimic_button('sidebar: lb_sidebar_advanced_firewall..', 0)"><IMG border=0 src="/cache/05-May-11 15:58:26/images/fleche2.gif" width="7" height="5">&nbsp;&nbsp;Firewall</a></li>
<li><a href="javascript:mimic_button('sidebar: lb_sidebar_advanced_network..', 0)"><IMG border=0 src="/cache/05-May-11 15:58:26/images/fleche2.gif" width="7" height="5">&nbsp;&nbsp;Route</a></li>
<li><a href="javascript:mimic_button('sidebar: lb_sidebar_advanced_adsl_configure..', 0)"><IMG border=0 src="/cache/05-May-11 15:58:26/images/fleche2.gif" width="7" height="5">&nbsp;&nbsp;Network Interfaces</a></li>
<li><a href="javascript:mimic_button('sidebar: lb_sidebar_advanced_statistics..', 0)"><IMG border=0 src="/cache/05-May-11 15:58:26/images/fleche2.gif" width="7" height="5">&nbsp;&nbsp;Statistics</a></li>
</ul>
</dd>
</dl>
</div>
</td>

<td rowspan="2" class="space">
&nbsp;</td>
<td class="panel">
</td>
</tr>
<tr>
<td class="content">
<table class="content">
<tr><td>
<div id="content">

<p class="title2">
Status</p>
<!-- p_scr_lb_info_vdsl -->
<INPUT type=HIDDEN name="active_page" value="9057">
<INPUT type=HIDDEN name="session_id" value="201729725">

<INPUT type=HIDDEN name="prev_page" value="9040">
<INPUT type=HIDDEN name="page_title" value="Status">
<INPUT type=HIDDEN name="nav_stack_0" value="9057">
<INPUT type=HIDDEN name="nav_9057_button_value" value="lb_sidebar_advanced_status">
<INPUT type=HIDDEN name="mimic_button_field" value="">
<INPUT type=HIDDEN name="button_value" value="lb_sidebar_advanced_status">
<INPUT type=HIDDEN name="transaction_id" value="10">
<!-- lb_page_start_cb -->
<br></br><div id="adsl">
<table class="adsl">
<tr>
<td class="tdt" style="font-size: 11px;font-weight: bold;font-style: arial;color: #577e91;">INTERNET (bridged)</td>
<td class="status">&nbsp;</td>
<td class="tdt" style="font-size: 11px;font-weight: bold;font-style: arial;color: #577e91;">GATEWAY</td>
<td class="status">&nbsp;</td>

<td class="tdt" style="font-size: 11px;font-weight: bold;font-style: arial;color: #577e91;">INFORMATION</td>
<td class="status">&nbsp;</td>
<td class="tdt" style="font-size: 11px;font-weight: bold;font-style: arial;color: #577e91;">WIRELESS</td>
<td class="status">&nbsp;</td>
</tr>
<tr>
<td class="libelle">IPoE Address</td>
<td class="status">10.184.140.75&nbsp;</td>
<td class="libelle">LAN IP Address</td>
<td class="status">192.168.1.1&nbsp;</td>
<td class="libelle">Runtime Code Version</td>

<td class="status">60R10A-60A046&nbsp;</td>
<td class="libelle">Associated clients</td>
<td class="status">1&nbsp;</td>
</tr>
<tr>
<td class="libelle">IPoE Netmask</td>
<td class="status">255.255.0.0&nbsp;</td>
<td class="libelle">Subnet Mask</td>
<td class="status">255.255.255.0&nbsp;</td>
<td class="libelle">LAN MAC Address</td>

<td class="status">00:23:48:39:ed:2d&nbsp;</td>
<td class="libelle">Clients MAC Address</td>
<td class="status">1 station(s) connected
<br>f0:7d:68:c8:8c:d4&nbsp;</td>
</tr>
<tr>
<td class="libelle">PPPoE Address</td>
<td class="status">87.65.70.239&nbsp;</td>
<td class="libelle">DHCP Server</td>
<td class="status">Enabled&nbsp;</td>

<td class="libelle">WAN MAC Address</td>
<td class="status">00:23:48:39:ed:2e&nbsp;</td>
</tr>
<tr>
<td class="libelle">PPPoE Netmask</td>
<td class="status">255.0.0.0&nbsp;</td>
<td class="libelle">Firewall</td>
<td><table class="fw">
<tr>
<td class="libelle">Interface</td>
<td class="libelle">Level</td>

</tr>
<tr>
<td class="status">br0</td>
<td class="status">Disabled</td>
</tr>
<tr>
<td class="status">eth1.20</td>
<td class="status">Medium</td>
</tr>
<tr>
<td class="status">ppp0</td>
<td class="status">Medium&nbsp;</td>

</tr>
</table></td>
<td class="libelle">Hardware Version</td>
<td class="status">1&nbsp;</td>
</tr>
<tr>
<td class="libelle">VDSL line status</td>
<td class="status">SHOWTIME&nbsp;</td>
<td class="libelle">Wireless</td>
<td class="status">Enabled&nbsp;</td>
<td class="libelle">Serial Num</td>

<td class="status">LK09147DP210417&nbsp;</td>
</tr>
<tr>
<td class="libelle">Downstream line rate</td>
<td class="status"> 29920 kbps&nbsp;</td>
<td class="status"></td>
<td class="status">&nbsp;</td>
<td class="libelle">VDSL Version</td>
<td class="status">Firmware-VTU-R:5.5.1.2IK105012 Time Oct 1 2009, 14:04:47&nbsp;</td>
<td class="status"></td>
<td class="status">&nbsp;</td>

</tr>
<tr>
</tr>
<tr>
<td class="libelle">Upstream line rate</td>
<td class="status"> 6048 kbps&nbsp;</td>
<td class="status"></td>
<td class="status">&nbsp;</td>
<td class="status"></td>
<td class="status">&nbsp;</td>
</tr>
<tr>
<td class="libelle">Downstream Training Margin</td>

<td class="status"> 24.2 dB&nbsp;</td>
<td class="status"></td>
<td class="status">&nbsp;</td>
<td class="status"></td>
<td class="status">&nbsp;</td>
</tr>
</table>
</div>
<br><!-- p_scr_lb_info_vlan -->
<div>
<table class="conn_list">
<br><br><tr>
<td style="font-weight: bold;color: #577E91;">Vlan list</td>
</tr>

<br><tr>
<td class="cellheader" colspan=2>VLAN 10</td>
<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td class="cellheader" colspan=2>VLAN 20</td>
</tr>
<tr>
<td style="background-color: #EBF1F7;color: #577E91;">Vlan id</td>
<td style="background-color: #EBF1F7;color: #577E91;">10</td>
<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td style="background-color: #EBF1F7;color: #577E91;">Vlan id</td>
<td style="background-color: #EBF1F7;color: #577E91;">20</td>

</tr>
<tr>
<td style="background-color: #EBF1F7;color: #577E91;">Protocol</td>
<td style="background-color: #EBF1F7;color: #577E91;">Wan eth1.10 PPP</td>
<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td style="background-color: #EBF1F7;color: #577E91;">Protocol</td>
<td style="background-color: #EBF1F7;color: #577E91;">Wan eth1.20 VoIP</td>
</tr>
<tr>
<td style="background-color: #EBF1F7;color: #577E91;">IP address</td>
<td style="background-color: #EBF1F7;color: #577E91;">87.65.70.239</td>

<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td style="background-color: #EBF1F7;color: #577E91;">IP address</td>
<td style="background-color: #EBF1F7;color: #577E91;">10.184.140.75</td>
</tr>
<tr>
<td style="background-color: #EBF1F7;color: #577E91;">Subnet mask</td>
<td style="background-color: #EBF1F7;color: #577E91;">255.0.0.0</td>
<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td style="background-color: #EBF1F7;color: #577E91;">Subnet mask</td>
<td style="background-color: #EBF1F7;color: #577E91;">255.255.0.0</td>
</tr>

<tr>
<td style="background-color: #EBF1F7;color: #577E91;">Gateway</td>
<td style="background-color: #EBF1F7;color: #577E91;">87.65.70.1</td>
<td>&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td style="background-color: #EBF1F7;color: #577E91;">Gateway</td>
<td style="background-color: #EBF1F7;color: #577E91;">10.184.0.1</td>
</tr>
<tr>
<td style="background-color: #EBF1F7;color: #577E91;">DNS</td>
<td style="background-color: #EBF1F7;color: #577E91;">195.238.2.22<BR>195.238.2.21</td>

<td>&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td style="background-color: #EBF1F7;color: #577E91;">DNS</td>
<td style="background-color: #EBF1F7;color: #577E91;">81.240.251.100<BR>81.240.251.101</td>
</tr>
<tr>
<td style="background-color: #EBF1F7;color: #577E91;">PPP login</td>
<td style="background-color: #EBF1F7;color: #577E91;">fc995835@SKYNET</td>
<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td style="background-color: #EBF1F7;color: #577E91;">NTP</td>
<td style="background-color: #EBF1F7;color: #577E91;">ntp.belbone.be<br></td>

</tr>
<tr>
<td><!-- p_buttons_array -->
<p class="submit">
<INPUT id="boutton" name="btn" TYPE=BUTTON onclick="javascript:mimic_button('submit_button_conn_connect: ..', 0)" VALUE=" Connect " style="{width:120px;}" class="button" ></INPUT>
<IMG border=0 src="/cache/05-May-11 15:58:26/images/empty.gif" width="5" height="28">
<INPUT id="boutton" name="btn" TYPE=BUTTON onclick="javascript:mimic_button('submit_button_conn_disconect: ..', 0)" VALUE=" Disconnect " style="{width:120px;}" class="button" ></INPUT>
</p>
</td>
<td>&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td>&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td><!-- p_buttons_array -->
<p class="submit">
<INPUT id="boutton" name="btn" TYPE=BUTTON onclick="javascript:mimic_button('submit_button_release: ..', 0)" VALUE=" Release " style="{width:120px;}" class="button" ></INPUT>
<IMG border=0 src="/cache/05-May-11 15:58:26/images/empty.gif" width="5" height="28">
<INPUT id="boutton" name="btn" TYPE=BUTTON onclick="javascript:mimic_button('submit_button_renew: ..', 0)" VALUE=" Renew " style="{width:120px;}" class="button" ></INPUT>
</p>

</td>
</tr>
</table>
</div>
<br><br><br><br><div id="adsl">
<table>
<tr>
<td class="tdt" style="font-size: 11px;font-weight: bold;font-style: arial;color: #577e91;">Log server&nbsp;&nbsp;&nbsp;</td>
<td class="tdt" style="font-size: 11px;font-weight: bold;font-style: arial;color: #577e91;">DHCP server status</td>
</tr>
<tr>
<td><IFRAME id="LogFrame" src="WebGui.txt" height=200 width=400 scrolling=auto frameborder=1 ></IFRAME>&nbsp;&nbsp;&nbsp;</td>
<td><IFRAME id="LogDhcpsFrame" src="WebGuiDhcpsLog.txt" height=200 width=400 scrolling=auto frameborder=1 ></IFRAME></td>

</tr>
<tr>
<td><!-- p_buttons_array -->
<p class="submit">
<INPUT id="boutton" name="btn" TYPE=BUTTON onclick="javascript:mimic_button('submit_button_save_log: ..', 0)" VALUE=" Save " style="{width:120px;}" class="button" ></INPUT>
<IMG border=0 src="/cache/05-May-11 15:58:26/images/empty.gif" width="5" height="28">
<INPUT id="boutton" name="btn" TYPE=BUTTON onclick="javascript:mimic_button('submit_button_clear: ..', 0)" VALUE=" Clear " style="{width:120px;}" class="button" ></INPUT>
</p>
</td>
</tr>
</table>
</div>
<script></script><script>if (document.form_contents.btn[4].value == " Save "){var onclick_target = document.form_contents.btn[4].onclick;document.form_contents.btn[4].onclick = function(){if(navigator.userAgent.indexOf("Firefox") != -1){window.open("WebGuiLog.log", "");}else if(navigator.userAgent.indexOf("Netscape") != -1){window.location = "WebGuiLog.log";}else if(navigator.userAgent.indexOf("MSIE") != -1){window.open("WebGuiLog.log", "");}onclick_target();}}else if (document.form_contents.btn[5].value == " Save "){var onclick_target2 = document.form_contents.btn[5].onclick;document.form_contents.btn[5].onclick = function(){if(navigator.userAgent.indexOf("Firefox") != -1){window.open("WebGuiLog.log", "");}else if(navigator.userAgent.indexOf("Netscape") != -1){window.location = "WebGuiLog.log";}else if(navigator.userAgent.indexOf("MSIE") != -1){window.open("WebGuiLog.log", "");}onclick_target2();}}</script></div>

</td></tr>

</table>
</td>
</tr>
</table>
</div>

</FORM>
</BODY>
</HTML>
  #10  
Old 14.12.2011, 12:49
remi remi is offline
JD Legend
 
Join Date: Mar 2009
Location: Absurdistan
Posts: 16,237
Default

C'est parfait. Le syntaxe (l'expression régulière)
Code:
num:session_id.*?value="(\d+)
devrait marcher. Malheureusement je n'avait pas l'information que j'ai maintenant.
__________________
WikiLeaks is the Intelligence Agency of the People, defending People against the Hypocrisy and the Crimes of the Neo-Communist Power Elites. Governments are like a metastatic cancer.
  #11  
Old 14.12.2011, 16:53
Gontrand68 Gontrand68 is offline
JD Alpha
 
Join Date: Dec 2011
Posts: 20
Default

Non, ça ne marche pas...
  #12  
Old 15.12.2011, 12:03
remi remi is offline
JD Legend
 
Join Date: Mar 2009
Location: Absurdistan
Posts: 16,237
Default

Est-ce que vous pouvez montrer votre script comme il est maintenant?
__________________
WikiLeaks is the Intelligence Agency of the People, defending People against the Hypocrisy and the Crimes of the Neo-Communist Power Elites. Governments are like a metastatic cancer.
  #13  
Old 15.12.2011, 14:33
Gontrand68 Gontrand68 is offline
JD Alpha
 
Join Date: Dec 2011
Posts: 20
Default

Voici ^^
Quote:
[[[HSRC]]]
[[[STEP]]]
[[[REQUEST]]]
GET / HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[PARSE]]]
num:session_id.*?value=\"(\d+)
[[[/PARSE]]]
[[[/STEP]]]]

[[[STEP]]]
[[[REQUEST]]]
GET /js/script.js HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /WebGui.txt HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /WebGuiDhcpsLog.txt HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
POST /cache/165421539/index.cgi HTTP/1.1
Host: %%%routerip%%%

active_page=9057&num:session_id.*?value="(\d+)&prev_page=0&page_title=Status&nav_stack_0=9057&mimic_ button_field=submit_button_conn_disconect%3A+..&button_value=&transaction_id=10
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /js/script.js HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /cache/165421539/WebGui.txt HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /cache/165421539/WebGuiDhcpsLog.txt HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
POST /cache/520420298/index.cgi HTTP/1.1
Host: %%%routerip%%%

active_page=9057&num:session_id.*?value="(\d+)&prev_page=9057&page_title=Status&nav_stack_0=9057&nav _9057_button_value=&mimic_button_field=submit_button_conn_connect%3A+..&button_value=&transaction_id =11
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /js/script.js HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /cache/520420298/WebGui.txt HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[STEP]]]
[[[REQUEST]]]
GET /cache/520420298/WebGuiDhcpsLog.txt HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[/STEP]]]

[[[/HSRC]]]
  #14  
Old 17.12.2011, 13:02
remi remi is offline
JD Legend
 
Join Date: Mar 2009
Location: Absurdistan
Posts: 16,237
Default

Ça ne peut pas marcher. L'identifiant doit être remplacer par %%%num%%% comme je l'ai décrit dans l'autre fil. Donc
Code:
active_page=9057&session_id=%%%num%%%&prev_page=9057&page_title=Status&nav_stack_0=9057&nav_9057_but ton_value=&mimic_button_field=submit_button_conn_connect%3A+..&button_value=&transaction_id=9
comme vous l'avez fait correctement précédemment.
__________________
WikiLeaks is the Intelligence Agency of the People, defending People against the Hypocrisy and the Crimes of the Neo-Communist Power Elites. Governments are like a metastatic cancer.
  #15  
Old 17.12.2011, 17:01
Gontrand68 Gontrand68 is offline
JD Alpha
 
Join Date: Dec 2011
Posts: 20
Default

Oui... désolé rectification faite:

Code:
[[[HSRC]]]
 [[[STEP]]]
 [[[REQUEST]]]
 GET / HTTP/1.1
 Host: %%%routerip%%%
 [[[/REQUEST]]]
 [[[PARSE]]]
 num:session_id.*?value="(\d+)
 [[[/PARSE]]]
 [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /js/script.js HTTP/1.1
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /WebGuiDhcpsLog.txt HTTP/1.1
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /WebGui.txt HTTP/1.1
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        POST /cache/482635133/index.cgi HTTP/1.1
        Host: %%%routerip%%%

active_page=9057&session_id=%%%num%%%&prev_page=0&page_title=Status&nav_stack_0=9057&mimic_button_field=submit_button_conn_disconect%3A+..&button_value=&transaction_id=0
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /js/script.js HTTP/1.1
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /cache/482635133/WebGui.txt HTTP/1.1
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /cache/482635133/WebGuiDhcpsLog.txt HTTP/1.1
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        POST /cache/1816162936/index.cgi HTTP/1.1
        Host: %%%routerip%%%

active_page=9057&session_id=%%%num%%%&prev_page=9057&page_title=Status&nav_stack_0=9057&nav_9057_button_value=&mimic_button_field=submit_button_conn_connect%3A+..&button_value=&transaction_id=1
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /js/script.js HTTP/1.1
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /cache/1816162936/WebGui.txt HTTP/1.1
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

    [[[STEP]]]
        [[[REQUEST]]]
        GET /cache/1816162936/WebGuiDhcpsLog.txt HTTP/1.1
        Host: %%%routerip%%%
        [[[/REQUEST]]]
    [[[/STEP]]]

[[[/HSRC]]]
  #16  
Old 18.12.2011, 12:20
remi remi is offline
JD Legend
 
Join Date: Mar 2009
Location: Absurdistan
Posts: 16,237
Default

Je ne le sais plus. Ici s'arrête ma connaissance. J'ai demandé de l'aide.

J'ai l'impression que le problème pourrait être les adresses "/cache/...." qui changent tout le temps.

Est-ce que cette boite supporte le protocole UPNP?
__________________
WikiLeaks is the Intelligence Agency of the People, defending People against the Hypocrisy and the Crimes of the Neo-Communist Power Elites. Governments are like a metastatic cancer.
  #17  
Old 18.12.2011, 12:32
Gontrand68 Gontrand68 is offline
JD Alpha
 
Join Date: Dec 2011
Posts: 20
Default

Merci pour ton aide, remi ^^

Pour l UPNP, je ne connais pas...

Bye.
  #18  
Old 18.12.2011, 13:33
Freeloader's Avatar
Freeloader Freeloader is offline
JDownloader Support (inactive)
 
Join Date: Mar 2009
Location: #jdownloader@freenode.net
Posts: 3,950
Default

Gontrand68 can you speak english ?

@remi wheres the login page of his router ? I cant see it in the script

1.theres no basic auth , so there has to be a login page in my opinion

2. There are two IDS in this script A) session ID B) transaction ID

3. The transaction is a tricky one because once its applied the second time; +1 is added to the default transaction value. And JD can't do this atm.

It's best if I look at this with teamviewer.
  #19  
Old 18.12.2011, 13:39
remi remi is offline
JD Legend
 
Join Date: Mar 2009
Location: Absurdistan
Posts: 16,237
Default

@Gontrand68

Est-ce que vous comprenez l'anglais (ou la langue turque)?

Freeloader est en train de penser à une solution. Il est très doué. Le problème restant sont les valeurs de transaction_id qui sont incrémentées et jD n'a pas de fonction pour incrémenter une valeur.

Éventuellement il peut vous aider plus facilement en utilisant le chat, mais il ne comprend pas la langue de Voltaire.
__________________
WikiLeaks is the Intelligence Agency of the People, defending People against the Hypocrisy and the Crimes of the Neo-Communist Power Elites. Governments are like a metastatic cancer.
  #20  
Old 18.12.2011, 13:43
remi remi is offline
JD Legend
 
Join Date: Mar 2009
Location: Absurdistan
Posts: 16,237
Default

@Freeloader

Have a look under the spoiler of message #9.

@Gontrand68

Si vous êtes d'accord avec une session chat (en parlant une langue que vous avez en commun) avec Freeloader vous devez aussi installer le logiciel Teamviewer, parce que Freeloader veut voir ce qui se passe.
__________________
WikiLeaks is the Intelligence Agency of the People, defending People against the Hypocrisy and the Crimes of the Neo-Communist Power Elites. Governments are like a metastatic cancer.
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 05:57.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.