1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 |
# Exploit Title: Password Disclosure vulnerability # Software: NETGEAR DGN2200 # Software Link: netgear.com # Version: DGN2200 # Author: Dolev Farhi, email: dolev(at)openflare(dot)org # Date: 23.7.2014 # Tested on: Kali Linux # Firmware 1.0.0.29_1.7.29_HotS 2. Vulnerability Description: =============================== An attacker is able to extract sensitive information such as the password from the Basic Settings router page due to storing it in plaintext. 3. Steps to reproduce: ====================== Navigate to the Basic Settings page, right click in the browser -> view source/frame html> <head> <META name="description" content="DGN2200v2BEZEQ"> <META http-equiv="Content-Type" content="text/html; charset=utf-8"> <META http-equiv="Content-Style-Type" content="text/css"> <META http-equiv="Pragma" content="no-cache"> <META HTTP-equiv="Cache-Control" content="no-cache"> <META HTTP-EQUIV="Expires" CONTENT="Mon, 06 Jan 1990 00:00:01 GMT"> <title>PPPoE</title> <link rel="stylesheet" href="https://www.exploit-db.com/exploits/34149/form.css"> <STYLE TYPE="text/javascript"> classes.num.all.fontFamily = "Courier"; classes.num.all.fontSize = "10pt" ; </style> <script language="javascript" type="text/javascript" src="https://www.exploit-db.com/exploits/34149/func.js"></script> <script language="javascript" type="text/javascript" src="https://www.exploit-db.com/exploits/34149/msg.js"></script> <script language="javascript" type="text/javascript" src="https://www.exploit-db.com/exploits/34149/utility.js"></script> <script language="javascript" type="text/javascript" src="https://www.exploit-db.com/exploits/34149/browser.js"></script> <script language="javascript" type="text/javascript" src="https://www.exploit-db.com/exploits/34149/md5.js"></script> <script language="javascript" type="text/javascript"> var DisableFixedIP = false; var DisableFixedDNS = false; var all_wan_proto= new Array(8); var all_pppoe_localip = new Array(8); var all_wan_dns_sel = new Array(8); var all_wan_dns1_pri = new Array(8); var all_wan_dns1_sec = new Array(8); var all_wan_nat = new Array(8); var all_wan_fw = new Array(8); var all_ppp_dod = new Array(8); var all_pppoe_idletime = new Array(8); var all_pppoe_username = new Array(8); var all_pppoe_passwd =new Array(8); var all_pppoe_servicename = new Array(8); var all_is_static_ip = new Array(8); var all_wan_isbridge = new Array(8); function loadMultiWanInfo() { var cf = document.forms[0]; cf.adslChoice.selectedIndex = cf.nowchoice.value; all_wan_proto[0] = "pppoe"; all_wan_proto[1] = "pppoe"; all_wan_proto[2] = "pppoe"; all_wan_proto[3] = "pppoe"; all_wan_proto[4] = "pppoe"; all_wan_proto[5] = "pppoe"; all_wan_proto[6] = "pppoe"; all_wan_proto[7] = "pppoe"; all_pppoe_localip[0] = "ip.add.re.ss"; all_pppoe_localip[1] = "0.0.0.0"; all_pppoe_localip[2] = "0.0.0.0"; all_pppoe_localip[3] = "0.0.0.0"; all_pppoe_localip[4] = "0.0.0.0"; all_pppoe_localip[5] = "0.0.0.0"; all_pppoe_localip[6] = "0.0.0.0"; all_pppoe_localip[7] = "0.0.0.0"; all_ppp_dod[0] = 0; all_ppp_dod[1] = 0; all_ppp_dod[2] = 0; all_ppp_dod[3] = 0; all_ppp_dod[4] = 0; all_ppp_dod[5] = 0; all_ppp_dod[6] = 0; all_ppp_dod[7] = 0; all_pppoe_idletime[0] = 0 / 60; all_pppoe_idletime[1] = 0 / 60; all_pppoe_idletime[2] = 0 / 60; all_pppoe_idletime[3] = 0 / 60; all_pppoe_idletime[4] = 0 / 60; all_pppoe_idletime[5] = 0 / 60; all_pppoe_idletime[6] = 0 / 60; all_pppoe_idletime[7] = 0 / 60; all_wan_dns_sel[0] = "0"; all_wan_dns_sel[1] = "0"; all_wan_dns_sel[2] = "0"; all_wan_dns_sel[3] = "0"; all_wan_dns_sel[4] = "0"; all_wan_dns_sel[5] = "0"; all_wan_dns_sel[6] = "0"; all_wan_dns_sel[7] = "0"; all_wan_dns1_pri[0] = "80.179.52.100"; all_wan_dns1_pri[1] = ""; all_wan_dns1_pri[2] = ""; all_wan_dns1_pri[3] = ""; all_wan_dns1_pri[4] = ""; all_wan_dns1_pri[5] = ""; all_wan_dns1_pri[6] = ""; all_wan_dns1_pri[7] = ""; all_wan_dns1_sec[0] = "80.179.55.100"; all_wan_dns1_sec[1] = ""; all_wan_dns1_sec[2] = ""; all_wan_dns1_sec[3] = ""; all_wan_dns1_sec[4] = ""; all_wan_dns1_sec[5] = ""; all_wan_dns1_sec[6] = ""; all_wan_dns1_sec[7] = ""; all_wan_nat[0] = "1"; all_wan_nat[1] = "1"; all_wan_nat[2] = "1"; all_wan_nat[3] = "1"; all_wan_nat[4] = "1"; all_wan_nat[5] = "1"; all_wan_nat[6] = "1"; all_wan_nat[7] = "1"; all_wan_fw[0] = "1"; all_wan_fw[1] = "1"; all_wan_fw[2] = "1"; all_wan_fw[3] = "1"; all_wan_fw[4] = "1"; all_wan_fw[5] = "1"; all_wan_fw[6] = "1"; all_wan_fw[7] = "1"; all_pppoe_username[0] = "user@012ISP"; all_pppoe_username[1] = ""; all_pppoe_username[2] = ""; all_pppoe_username[3] = ""; all_pppoe_username[4] = ""; all_pppoe_username[5] = ""; all_pppoe_username[6] = ""; all_pppoe_username[7] = ""; all_pppoe_passwd[0] = "MyPassword"; <--- password all_pppoe_passwd[1] = ""; all_pppoe_passwd[2] = ""; all_pppoe_passwd[3] = ""; all_pppoe_passwd[4] = ""; all_pppoe_passwd[5] = ""; all_pppoe_passwd[6] = ""; all_pppoe_passwd[7] = ""; all_pppoe_servicename[0] = ""; all_pppoe_servicename[1] = ""; all_pppoe_servicename[2] = ""; all_pppoe_servicename[3] = ""; all_pppoe_servicename[4] = ""; all_pppoe_servicename[5] = ""; all_pppoe_servicename[6] = ""; all_pppoe_servicename[7] = ""; all_is_static_ip[0] = "0"; all_is_static_ip[1] = "0"; all_is_static_ip[2] = "0"; all_is_static_ip[3] = "0"; all_is_static_ip[4] = "0"; all_is_static_ip[5] = "0"; all_is_static_ip[6] = "0"; all_is_static_ip[7] = "0"; all_wan_isbridge[0] = "0"; all_wan_isbridge[1] = "0"; all_wan_isbridge[2] = "0"; all_wan_isbridge[3] = "0"; all_wan_isbridge[4] = "0"; all_wan_isbridge[5] = "0"; all_wan_isbridge[6] = "0"; all_wan_isbridge[7] = "0"; } function goTestApply() { var winoptions = "width=640,height=480,menubar=yes,toolbar=yes,status=yes,location=yes,resizable=yes"; if(document.forms[0].runtest.value == "yes") openDataSubWin('wtest.htm',winoptions); } function ChangeAdslChoice() { var cf = document.forms[0]; var index = cf.adslChoice.selectedIndex; var wan_proto = all_wan_proto[index]; if (wan_proto == "dhcp" || wan_proto == "ipoa" || wan_proto == "mer" || wan_proto == "static" ) doTypeChange2(0); else if (wan_proto == "pppoe") doTypeChange2(1); else doTypeChange2(2); //loadSettings(index); //loadcheck(); } function doTypeChange2(newIndex) { var tmpstr; var cf = document.forms[0]; var index = cf.adslChoice.selectedIndex; if (newIndex == 0) { tmpstr = "ether_m.cgi?nowchoice=" + index + "&nowproto=0"; location.href = tmpstr; } else if (newIndex == 1) { tmpstr = "pppoe_m.cgi?nowchoice=" + index+ "&nowproto=1"; location.href = tmpstr; } else if (newIndex == 2) { tmpstr = "pppoa_m.cgi?nowchoice=" + index+ "&nowproto=1"; location.href = tmpstr; } } function doTypeChange3(newIndex) { var tmpstr; var cf = document.forms[0]; var index = cf.adslChoice.selectedIndex; var mux = cf.dsl_multiplex.value; var vpi = cf.dsl_vpi.value; var vci = cf.dsl_vci.value; var msg = ""; if( isNumeric(cf.dsl_vpi, 255) ) msg = "VPI contains an invalid number" if( isNumeric(cf.dsl_vci, 65536) ) msg = "VC contains an invalid number" if (vpi < 0 || vpi > 255) msg = "VPI is out of range [0~255]" if (vci < 32 || vci > 65535) msg = "VC is out of range [32~65535]" if (msg.length > 1) { alert(msg); return false; } if (newIndex == 0) { tmpstr="ether_m.cgi?nowchoice="+index+"&havetmpvar=1&gui_mode=1&tmpmux="+mux+"&tmpvpi="+vpi+"&tmpvci="+vci; location.href = tmpstr; } else if (newIndex == 1) { tmpstr="pppoe_m.cgi?nowchoice="+index+"&havetmpvar=1&gui_mode=1&tmpmux="+mux+"&tmpvpi="+vpi+"&tmpvci="+vci; location.href = tmpstr; } } function setServer() { var cf = document.forms[0]; var stype = cf.login_type.selectedIndex; var tmpstr; var index = cf.adslChoice.selectedIndex; var mux = cf.dsl_multiplex.value; var vpi = cf.dsl_vpi.value; var vci = cf.dsl_vci.value; var msg = ""; if( isNumeric(cf.dsl_vpi, 255) ) msg = "VPI contains an invalid number" if( isNumeric(cf.dsl_vci, 65536) ) msg = "VC contains an invalid number" if (vpi < 0 || vpi > 255) msg = "VPI is out of range [0~255]" if (vci < 32 || vci > 65535) msg = "VC is out of range [32~65535]" if (msg.length > 1) { alert(msg); return false; } if(stype==0) //pppoe { tmpstr="pppoe_m.cgi?nowchoice="+index+"&havetmpvar=1&gui_mode=1&tmpmux="+mux+"&tmpvpi="+vpi+"&tmpvci="+vci; location.href = tmpstr; } else if(stype==1) //pppoa { tmpstr="pppoa_m.cgi?nowchoice="+index+"&havetmpvar=1&gui_mode=1&tmpmux="+mux+"&tmpvpi="+vpi+"&tmpvci="+vci; location.href = tmpstr; } } function loadcheck() { var cf = document.forms[0]; if (isIE()) { cf.pppoe_username.size="24"; cf.pppoe_passwd.size="24"; } loadhelp('BAS_mpppoe'); setIP(); setDNS(); } function setIP() { var cf = document.forms[0]; var dflag = cf.WANAssign[0].checked; setDisabled(dflag,cf.WPethr1,cf.WPethr2,cf.WPethr3,cf.WPethr4); if (cf.WANAssign[1].checked) { cf.DNSAssign[1].checked = true; setDNS(); } DisableFixedIP = dflag; } function setDNS() { var cf = document.forms[0]; var dflag = cf.DNSAssign[0].checked; if (cf.WANAssign[1].checked && cf.DNSAssign[0].checked) { cf.DNSAssign[1].checked=true; dflag = false; } setDisabled(dflag,cf.DAddr1,cf.DAddr2,cf.DAddr3,cf.DAddr4,cf.PDAddr1,cf.PDAddr2,cf.PDAddr3,cf.PDAddr4); DisableFixedDNS = dflag; } function checkData() { var cf = document.forms[0]; var msg = ""; var vpi = cf.dsl_vpi.value; var vci = cf.dsl_vci.value; if( isNumeric(cf.dsl_vpi, 255) ) msg = "VPI contains an invalid number" if( isNumeric(cf.dsl_vci, 65536) ) msg = "VC contains an invalid number" if (vpi < 0 || vpi > 255) msg = "VPI is out of range [0~255]" if (vci < 32 || vci > 65535) msg = "VC is out of range [32~65535]" msg+= checkBlank(cf.pppoe_username, "User name"); if(cf.pppoe_idletime.value.length<=0) msg+= "Please enter idle time.\n"; else if(!_isNumeric(cf.pppoe_idletime.value)) msg+= "Invalid idle time,please enter proper numeral.\n"; if(cf.WANAssign[1].checked) { if(checkIP(cf.WPethr1,cf.WPethr2,cf.WPethr3,cf.WPethr4,254)||(parseInt(cf.WPethr4.value)==0)) msg+= "Invalid static IP address.\n"; cf.pppoe_localip.value = cf.WPethr1.value+'.'+cf.WPethr2.value+'.'+cf.WPethr3.value+'.'+cf.WPethr4.value; } else cf.pppoe_localip.value = "0.0.0.0"; if(cf.DNSAssign[1].checked) { if(checkIP(cf.DAddr1,cf.DAddr2,cf.DAddr3,cf.DAddr4,254)||(parseInt(cf.DAddr4.value)==0)) msg+= "Invalid Primary DNS Address, please enter again.\n"; if(cf.PDAddr1.value.length>0) if(checkIP(cf.PDAddr1,cf.PDAddr2,cf.PDAddr3,cf.PDAddr4,254)||(parseInt(cf.PDAddr4.value)==0)) msg+= "Invalid Secondary DNS Address, please enter again.\n"; } if (duplicatepvcChk(vpi,vci)) msg += "duplicate PVC found!\n"; if (msg.length > 1) { alert(msg); return false; } cf.wan_dns1_pri.value = cf.DAddr1.value+'.'+cf.DAddr2.value+'.'+cf.DAddr3.value+'.'+cf.DAddr4.value; cf.wan_dns1_sec.value = cf.PDAddr1.value+'.'+cf.PDAddr2.value+'.'+cf.PDAddr3.value+'.'+cf.PDAddr4.value; cf.nowchoice.value = -1; return true; } function duplicatepvcChk(vpi, vci) { var cf = document.forms[0]; var index = cf.adslChoice.selectedIndex; if (( index != 0) && (vpi == cf.atm0_vpi.value) && (vci == cf.atm0_vci.value) && (cf.wan0_dial.value == "1")) return true; if ((index != 1) && (vpi == cf.atm1_vpi.value) && (vci == cf.atm1_vci.value) && (cf.wan1_dial.value == "1")) return true; if ((index != 2) && (vpi == cf.atm2_vpi.value) && (vci == cf.atm2_vci.value) && (cf.wan2_dial.value == "1")) return true; if ((index != 3) && (vpi == cf.atm3_vpi.value) && (vci == cf.atm3_vci.value) && (cf.wan3_dial.value == "1")) return true; if ((index != 4) && (vpi == cf.atm4_vpi.value) && (vci == cf.atm4_vci.value) && (cf.wan4_dial.value == "1")) return true; if ((index != 5) && (vpi == cf.atm5_vpi.value) && (vci == cf.atm5_vci.value) && (cf.wan5_dial.value == "1")) return true; if ((index != 6) && (vpi == cf.atm6_vpi.value) && (vci == cf.atm6_vci.value) && (cf.wan6_dial.value == "1")) return true; if ((index != 7) && (vpi == cf.atm7_vpi.value) && (vci == cf.atm7_vci.value) && (cf.wan7_dial.value == "1")) return true; return false; } function resetPvc() { window.location.href="https://www.exploit-db.com/exploits/34149/BAS_mpppoe.htm"; } function loadSettings(index) { var cf = document.forms[0]; var pppoe_localip; var wan_dns1_pri; var wan_dns1_sec; var tmp; var wan_proto; var dod; if (index == 100) index = eval(cf.nowchoice.value); loadvpivci(index); wan_proto = all_wan_proto[index]; if (all_pppoe_localip[index].length!=0) { pppoe_localip=all_pppoe_localip[index].split("."); cf.WPethr1.value = pppoe_localip[0]; cf.WPethr2.value = pppoe_localip[1]; cf.WPethr3.value = pppoe_localip[2]; cf.WPethr4.value = pppoe_localip[3]; } var wan_dns_sel = all_wan_dns_sel[index]; if ( all_wan_dns1_pri[index].length!=0 ) { wan_dns1_pri = all_wan_dns1_pri[index].split("."); cf.DAddr1.value = wan_dns1_pri[0]; cf.DAddr2.value = wan_dns1_pri[1]; cf.DAddr3.value = wan_dns1_pri[2]; cf.DAddr4.value = wan_dns1_pri[3]; } if ( all_wan_dns1_sec[index].length!=0 ) { wan_dns1_sec = all_wan_dns1_sec[index].split("."); cf.PDAddr1.value = wan_dns1_sec[0]; cf.PDAddr2.value = wan_dns1_sec[1]; cf.PDAddr3.value = wan_dns1_sec[2]; cf.PDAddr4.value = wan_dns1_sec[3]; } cf.pppoe_idletime.value = all_pppoe_idletime[index]; if (all_ppp_dod[index] == 2) cf.pppoe_idletime.disabled = true; else cf.pppoe_idletime.disabled = false; //if (all_pppoe_localip[index]=="0.0.0.0") // cf.WANAssign[0].checked = true; //else // cf.WANAssign[1].checked = true; if (all_is_static_ip[index] == 1)//static ip cf.WANAssign[1].checked = true; else cf.WANAssign[0].checked = true; cf.DNSAssign[wan_dns_sel].checked = true; if (all_wan_isbridge[index] == 1) cf.nat_enable[2].checked = true; else if (all_wan_nat[index] == 1) cf.nat_enable[0].checked = true; else cf.nat_enable[1].checked = true; cf.pppoe_username.value = all_pppoe_username[index]; cf.pppoe_passwd.value = all_pppoe_passwd[index]; cf.pppoe_servicename.value = all_pppoe_servicename[index]; //water setIP(); setDNS(); } function loadvpivci(index) { var cf = document.forms[0]; var multiplex; var vpi; var vci; switch(index) { case 0: vpi=cf.atm0_vpi.value; vci=cf.atm0_vci.value; multiplex=cf.atm0_encap.value; break; case 1: vpi=cf.atm1_vpi.value; vci=cf.atm1_vci.value; multiplex=cf.atm1_encap.value; break; case 2: vpi=cf.atm2_vpi.value; vci=cf.atm2_vci.value; multiplex=cf.atm2_encap.value; break; case 3: vpi=cf.atm3_vpi.value; vci=cf.atm3_vci.value; multiplex=cf.atm3_encap.value; break; case 4: vpi=cf.atm4_vpi.value; vci=cf.atm4_vci.value; multiplex=cf.atm4_encap.value; break; case 5: vpi=cf.atm5_vpi.value; vci=cf.atm5_vci.value; multiplex=cf.atm5_encap.value; break; case 6: vpi=cf.atm6_vpi.value; vci=cf.atm6_vci.value; multiplex=cf.atm6_encap.value; break; case 7: vpi=cf.atm7_vpi.value; vci=cf.atm7_vci.value; multiplex=cf.atm7_encap.value; break; } var tmpvarhave = ""; var tmpmux = ""; var tmpvpi = ""; var tmpvci = ""; if (tmpvarhave == 1) { if (multiplex != tmpmux) cf.cfgChanged.value='1'; if (vpi != tmpvpi) cf.cfgChanged.value='1'; if (vci != tmpvci) cf.cfgChanged.value='1'; multiplex = tmpmux; vpi = tmpvpi; vci = tmpvci; } if (multiplex == "LLC") cf.dsl_multiplex.selectedIndex = 0; else cf.dsl_multiplex.selectedIndex = 1; cf.dsl_vpi.value=vpi; cf.dsl_vci.value=vci; } function setCfgChanged() { var cf = document.forms[0]; cf.cfgChanged.value='1'; } function checkTest() { var cf = document.forms[0]; var ret = checkData(); var winoptions = "width=640,height=480,menubar=yes,toolbar=yes,status=yes,location=yes,resizable=yes"; //var winoptions = "width=400,height=360,status=yes,resizable=yes"; if ( ret == true) { if (cf.cfgChanged.value=='0') { //openDataSubWin('wtest.htm',winoptions); //cf.nowchoice.value = 100; //checkData(); //document.formname.submit(); var tmpstr = "pppoe_m.cgi?nowchoice=100" + "&nowproto=0"; location.href = tmpstr; //return true; } else { cf.testpressed.value = '1'; cf.nowchoice.value = -1; document.formname.submit(); } } } </script> </head> <body bgcolor="#ffffff" onload="loadMultiWanInfo();loadSettings(100);loadcheck();goTestApply();"> <form name="formname" method="POST" action="pppoe_m.cgi"> <table border="0" cellpadding="0" cellspacing="3" width="99%"> <tr> <td colspan="2"><h1>Basic Settings</h1></td> </tr> <tr> <td colspan="2"> <select name="adslChoice" onChange="ChangeAdslChoice();" size="1"> <option value=0>WAN1</option> </select> </td> </tr> <!-- RULE <tr> <td colspan="2" background="liteblue.gif" height="12"></td> </tr> <tr> <td nowrap width="50%">Multiplexing Method</TD> <td width="50%" align="right"> <SELECT name="dsl_multiplex" size="1"> <option value="LLC">LLC-BASED</option> <option value="VC">VC-BASED</option> </SELECT></TD> </TR> <TR> <td nowrap width="50%">VPI</td> <td nowrap width="50%" align="right"><input type="text" class="num" name="dsl_vpi" size="3" maxlength="3"></td> </tr> <TR> <td nowrap width="50%">VCI</td> <td nowrap width="50%" align="right"><input type="text" class="num" name="dsl_vci" size="5" maxlength="5"></td> </tr> --> <INPUT name=dsl_multiplex type=hidden value= ""> <INPUT name=dsl_vpi type=hidden value= ""> <INPUT name=dsl_vci type=hidden value= ""> <tr><!-- RULE --> <td colspan="2" background="liteblue.gif" height="12"></td> </tr> <tr> <td colspan="2"> <p><a href="javascript:loadhelp('BAS_mpppoe','question')" tabindex="-1"><b>Does Your Internet Connection Require A Login?</b></a></p></td> </tr> <tr> <td colspan="2"><input type="radio" checked name="loginreq" value="pppoe" onClick="doTypeChange3(1);"> <a href="javascript:loadhelp('BAS_mpppoe','question')" tabindex="-1">Yes</a></td> </tr> <tr> <td colspan="2"><input type="radio" name="loginreq" value="dhcp" onClick="doTypeChange3(0);"> <a href="javascript:loadhelp('BAS_mpppoe','question')" tabindex="-1">No</a></td> </tr> <tr> <td width="50%"><a href="javascript:loadhelp('BAS_mpppoe','isp')" tabindex="-1"><b>Encapsulation</b></a></td> <td width="50%" align="right"><select name="login_type" onChange="setServer()"><option>PPPoE (PPP over Ethernet)</option><!-- temp marked by Silver <option>PPPoA (PPP over ATM)</option>--></select></td> </tr> <tr><!-- RULE --> <td colspan="2" background="liteblue.gif" height="12"></td> <tr> <td><a href="javascript:loadhelp('BAS_mpppoe','login')" tabindex="-1"><b>Login</b></a></td> <td align="right"><input type="text" name="pppoe_username" size="15" maxlength="60" value="" onChange="setCfgChanged()"></td> </tr> <tr> <td><a href="javascript:loadhelp('BAS_mpppoe','password')" tabindex="-1"><b>Password</b></a></td> <td align="right"><input type="password" name="pppoe_passwd" size="15" maxlength="50" value="" onChange="setCfgChanged()"></td> </tr> <tr> <td nowrap><a href="javascript:loadhelp('BAS_mpppoe','serv_name')" tabindex="-1"><b>Service Name</b></a> (If Required)</td> <td align="right"><input type="text" name="pppoe_servicename" maxlength="63" size="15" value="" onChange="setCfgChanged()"></td> </tr> <tr> <td nowrap><a href="javascript:loadhelp('BAS_mpppoe','idletime')" tabindex="-1"><b>Idle Timeout</b></a> (In Minutes)</td> <td align="right"><input type="text" class="num" name="pppoe_idletime" size="3" maxlength="3" onChange="setCfgChanged()"></td> </tr> <tr><!-- RULE --> <td colspan="2" background="liteblue.gif" height="12"></td> </tr> <tr> <td colspan="2"><a href="javascript:loadhelp('BAS_mpppoe','InternetIP')" tabindex="-1"><b>Internet IP Address</b></a></td> </tr> <tr> <td colspan="2"><input type="radio" name="WANAssign" value="Dynamic" onClick="setIP()" onChange="setCfgChanged()">Get Dynamically From ISP</td> </tr> <tr> <td nowrap><input type="radio" name="WANAssign" value="Fixed" onClick="setIP()" onChange="setCfgChanged()">Use Static IP Address</td> <td align="right" class="num"> <input type="text" name="WPethr1" class="num" size="4" maxlength="3" onFocus="if(DisableFixedIP) this.blur()" onChange="setCfgChanged()">. <input type="text" name="WPethr2" class="num" size="4" maxlength="3" onFocus="if(DisableFixedIP) this.blur()" onChange="setCfgChanged()">. <input type="text" name="WPethr3" class="num" size="4" maxlength="3" onFocus="if(DisableFixedIP) this.blur()" onChange="setCfgChanged()">. <input type="text" name="WPethr4" class="num" size="4" maxlength="3" onFocus="if(DisableFixedIP) this.blur()" onChange="setCfgChanged()"></td> </tr> <tr> <!-- RULE --> <td colspan="2" background="liteblue.gif" height="12"></td> </tr> <tr> <td colspan="2"><a href="javascript:loadhelp('BAS_mpppoe','DNSaddress')" tabindex="-1"><b>Domain Name Server (DNS) Address </b></a></td> </tr> <tr> <td colspan="2"><input type="radio" name="DNSAssign" value="0" onClick="setDNS()" onChange="setCfgChanged()"> Get Automatically From ISP</td> </tr> <tr> <td colspan="2"><input type="radio" name="DNSAssign" value="1" onClick="setDNS()" onChange="setCfgChanged()"> Use These DNS Servers</td> </tr> <tr> <td><img src="https://www.exploit-db.com/exploits/34149/spacer.gif" width="20" height="12" border="0">Primary DNS</td> <td align="right" class="num"> <input type="text" name="DAddr1" class="num" size="4" maxlength="3" onFocus="if(DisableFixedDNS) this.blur()" onChange="setCfgChanged()">. <input type="text" name="DAddr2" class="num" size="4" maxlength="3" onFocus="if(DisableFixedDNS) this.blur()" onChange="setCfgChanged()">. <input type="text" name="DAddr3" class="num" size="4" maxlength="3" onFocus="if(DisableFixedDNS) this.blur()" onChange="setCfgChanged()">. <input type="text" name="DAddr4" class="num" size="4" maxlength="3" onFocus="if(DisableFixedDNS) this.blur()" onChange="setCfgChanged()"></td> </tr> <tr> <td><img src="https://www.exploit-db.com/exploits/34149/spacer.gif" width="20" height="12" border="0"><a href="javascript:loadhelp('BAS_mpppoe','DNSaddress')" tabindex="-1">Secondary DNS</a></td> <td align="right" class="num"> <input type="text" name="PDAddr1" class="num" size="4" maxlength="3" onFocus="if(DisableFixedDNS) this.blur()" onChange="setCfgChanged()">. <input type="text" name="PDAddr2" class="num" size="4" maxlength="3" onFocus="if(DisableFixedDNS) this.blur()" onChange="setCfgChanged()">. <input type="text" name="PDAddr3" class="num" size="4" maxlength="3" onFocus="if(DisableFixedDNS) this.blur()" onChange="setCfgChanged()">. <input type="text" name="PDAddr4" class="num" size="4" maxlength="3" onFocus="if(DisableFixedDNS) this.blur()" onChange="setCfgChanged()"></td> </tr> <tr> <!-- RULE --> <td colspan="2" background="liteblue.gif" height="12"></td> </tr> <tr> <td colspan="2"><a href="javascript:loadhelp('BAS_mpppoe','nat')" tabindex="-1"><b>NAT (Network Address Translation) </b></a></td> </tr> <tr> <td> </td> <td align="right"> <input type="radio" name="nat_enable" value="1" onChange="setCfgChanged()"> Enable <input type="radio" name="nat_enable" value="0" onChange="setCfgChanged()"> Disable <input type="radio" name="nat_enable" value="2" onChange="setCfgChanged()"> Bridge </td> </tr> <tr> <!-- RULE --> <td colspan="2" background="liteblue.gif" height="12"></td> </tr> <tr> <td colspan="2" align="center"><div ID="pppoebuttons" onmouseover="loadhelp('BAS_mpppoe','buttons')"> <input type="SUBMIT" name="apply" value="Apply" onClick="return checkData()"> <input type="BUTTON" name="Cancel" value="Cancel" onClick="resetPvc();"> <input type="BUTTON" name="Test" value="Test" onClick="checkTest();"> </div></td></tr> </table> <INPUT name=gui_mode type=hidden value= "1"> <INPUT name=nowchoice type=hidden value= "0"> <INPUT name=pppoe_localip type=hidden value= ""> <INPUT name=wan_dns_sel type=hidden value= ""> <INPUT name=wan_dns1_pri type=hidden value= ""> <INPUT name=wan_dns1_sec type=hidden value= ""> <INPUT name=atm0_vpi type=hidden value= "8"> <INPUT name=atm0_vci type=hidden value= "48"> <INPUT name=atm0_multiplex type=hidden value= "llcencaps"> <INPUT name=atm0_encap type=hidden value= "LLC"> <INPUT name=atm1_vpi type=hidden value= "0"> <INPUT name=atm1_vci type=hidden value= "32"> <INPUT name=atm1_multiplex type=hidden value= "llcencaps"> <INPUT name=atm1_encap type=hidden value= "LLC"> <INPUT name=atm2_vpi type=hidden value= "0"> <INPUT name=atm2_vci type=hidden value= "33"> <INPUT name=atm2_multiplex type=hidden value= "llcencaps"> <INPUT name=atm2_encap type=hidden value= "LLC"> <INPUT name=atm3_vpi type=hidden value= "0"> <INPUT name=atm3_vci type=hidden value= "34"> <INPUT name=atm3_multiplex type=hidden value= "llcencaps"> <INPUT name=atm3_encap type=hidden value= "LLC"> <INPUT name=atm4_vpi type=hidden value= "0"> <INPUT name=atm4_vci type=hidden value= "35"> <INPUT name=atm4_multiplex type=hidden value= "llcencaps"> <INPUT name=atm4_encap type=hidden value= "LLC"> <INPUT name=atm5_vpi type=hidden value= "0"> <INPUT name=atm5_vci type=hidden value= "36"> <INPUT name=atm5_multiplex type=hidden value= "llcencaps"> <INPUT name=atm5_encap type=hidden value= "LLC"> <INPUT name=atm6_vpi type=hidden value= "0"> <INPUT name=atm6_vci type=hidden value= "37"> <INPUT name=atm6_multiplex type=hidden value= "llcencaps"> <INPUT name=atm6_encap type=hidden value= "LLC"> <INPUT name=atm7_vpi type=hidden value= "0"> <INPUT name=atm7_vci type=hidden value= "38"> <INPUT name=atm7_multiplex type=hidden value= "llcencaps"> <INPUT name=atm7_encap type=hidden value= "LLC"> <input type="hidden" name="cfgChanged" value="0"> <input type="hidden" name="testpressed" value="0"> <input type="hidden" name="runtest" value="no"> <INPUT name=wan0_dial type=hidden value= "1"> <INPUT name=wan1_dial type=hidden value= "0"> <INPUT name=wan2_dial type=hidden value= "0"> <INPUT name=wan3_dial type=hidden value= "0"> <INPUT name=wan4_dial type=hidden value= "0"> <INPUT name=wan5_dial type=hidden value= "0"> <INPUT name=wan6_dial type=hidden value= "0"> <INPUT name=wan7_dial type=hidden value= "0"> </form> <p></p> </body> </html> |