Airties RT-104 adsl2 combo için betik:
Code:
[[[HSRC]]]
[[[STEP]]]
[[[REQUEST]]]
POST /cgi-bin/login HTTP/1.1
Host: 192.168.2.1
Keep-Alive: 300
Connection: keep-alive
Referer:
http://192.168.2.1/loginmain.html
Content-Type: application/x-www-form-urlencoded
Content-Length: 38
user=admin&password=%%%pass%%%&button=Tamam
[[[/REQUEST]]]
[[[/STEP]]]
[[[STEP]]]
[[[REQUEST]]]
POST /cgi-bin/webapp HTTP/1.1
Host: 192.168.2.1
Keep-Alive: 300
Connection: keep-alive
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
X-Requested-With: XMLHttpRequest
Referer:
http://192.168.2.1/adsl/settings.html?wan_id=wan-0
Content-Length: 2836
Cookie: AIRTIESSESSION=00C0A802020000944A4A15FA7861646D696 E20A
Pragma: no-cache
<xmlrequest version="1.0.0"><command inst="cfgmgr-0"><key>begin_transaction</key><value>rfc2684-0</value></command><set inst="rfc2684-0"><key>encaps</key><value>LLC</value></set><command inst="cfgmgr-0"><key>begin_transaction</key><value>static-1</value></command><set inst="static-1"><key>ip</key><value>0.0.0.0</value></set><set inst="static-1"><key>mask</key><value>255.255.255.0</value></set><set inst="static-1"><key>gateway</key><value>0.0.0.0</value></set><set inst="static-1"><key>dns1</key><value>0.0.0.0</value></set><set inst="static-1"><key>dns2</key><value>0.0.0.0</value></set><set inst="static-1"><key>mode</key><value>0</value></set><command inst="cfgmgr-0"><key>begin_transaction</key><value>pppox-0</value></command><set inst="pppox-0"><key>type</key><value>pppoe</value></set><set inst="pppox-0"><key>username</key><value>ADSLKULLANICIADI</value></set><set inst="pppox-0"><key>password</key><value>ADSLPAROLA</value></set><set inst="pppox-0"><key>mtu</key><value>1492</value></set><command inst="cfgmgr-0"><key>begin_transaction</key><value>pvc-0</value></command><set inst="pvc-0"><key>name</key><value>vc1</value></set><set inst="pvc-0"><key>vpi</key><value>8</value></set><set inst="pvc-0"><key>vci</key><value>35</value></set><set inst="pvc-0"><key>traffic_class</key><value>UBR</value></set><set inst="pvc-0"><key>pcr</key><value>0</value></set><set inst="pvc-0"><key>scr</key><value>0</value></set><set inst="pvc-0"><key>mbs</key><value>0</value></set><command inst="cfgmgr-0"><key>begin_transaction</key><value>wan-0</value></command><set inst="wan-0"><key>type</key><value>pppoe</value></set><command inst="cfgmgr-0"><key>commit</key><value>rfc2684-0</value></command><command inst="cfgmgr-0"><key>commit</key><value>static-1</value></command><command inst="cfgmgr-0"><key>commit</key><value>pppox-0</value></command><command inst="cfgmgr-0"><key>commit</key><value>pvc-0</value></command><command inst="cfgmgr-0"><key>commit</key><value>dhcpc-0</value></command><command inst="cfgmgr-0"><key>commit</key><value>wan-0</value></command><command inst="cfgmgr-0"><key>save</key><value/></command><command inst="cfgmgr-0"><key>end_transaction</key><value>wan-0</value></command><command inst="cfgmgr-0"><key>end_transaction</key><value>pvc-0</value></command><command inst="cfgmgr-0"><key>end_transaction</key><value>rfc2684-0</value></command><command inst="cfgmgr-0"><key>end_transaction</key><value>pppox-0</value></command><command inst="cfgmgr-0"><key>end_transaction</key><value>static-1</value></command><command inst="wan-0"><key>apply</key><value/></command><command inst="pppox-0"><key>apply</key><value/></command><command inst="rfc2684-0"><key>apply</key><value/></command><command inst="static-1"><key>apply</key><value/></command><command inst="pvc-0"><key>apply</key><value/></command></xmlrequest>
[[[/REQUEST]]]
[[[/STEP]]]
[[[/HSRC]]]