Advertisement
Guest User

tire fire #10

a guest
Jul 6th, 2018
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 27.79 KB | None | 0 0
  1. still worth 29 'A's i guess
  2.  
  3. HTTP/1.1 200 Ok
  4. Content-Type: text/html
  5. Expires: Fri, 30 Oct 1998 14:19:41 GMT
  6. Connection: close
  7. Transfer-Encoding: chunked
  8.  
  9. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
  10. <!--
  11. *
  12. * Copyright 2001, 2008 Hewlett-Packard Development Company, L.P.
  13. *
  14. -->
  15. <HTML>
  16. <HEAD>
  17. <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
  18. <META HTTP-EQUIV="expires" CONTENT="0">
  19. <TITLE>HP Integrated Lights-Out 2 Login</TITLE>
  20. <link rel="icon" href="ilo.ico" />
  21. <script>
  22. var detect = navigator.userAgent.toLowerCase();
  23. var ie = detect.match(/msie ([\d\.]+)/);
  24. var moz = detect.match(/rv:([\d\.]+)/);
  25. var fire = detect.match(/firefox\/([\d\.]+)/);
  26. if(
  27. ( ie!=null && ie[1] >= "6.0" ) ||
  28. ( fire!=null && fire[1] >= "1.0.2" ) ||
  29. ( moz!=null && moz[1] >= "1.6" )
  30. ) {
  31. // supported browser; do nothing
  32. } else {
  33. alert( "Integrated Lights-Out 2 supports Microsoft Internet Explorer version 6.0 or greater, Firefox version 1.0.2 or greater, and Mozilla version 1.6 or greater. Some functionality may not work and pages may not format correctly on other browser platforms. This browser platform reports it is \""+navigator.userAgent+"\"");
  34. }
  35.  
  36. if( top.window != this.window ) {
  37. top.location="login.htm";
  38. }
  39.  
  40. ADS_NAME_INITTYPE_DOMAIN = 1;
  41. ADS_NAME_INITTYPE_SERVER = 2;
  42. ADS_NAME_INITTYPE_GC = 3;
  43.  
  44. ADS_NAME_TYPE_1779 = 1;
  45. ADS_NAME_TYPE_CANONICAL = 2;
  46. ADS_NAME_TYPE_NT4 = 3;
  47. ADS_NAME_TYPE_DISPLAY = 4;
  48. ADS_NAME_TYPE_DOMAIN_SIMPLE = 5;
  49. ADS_NAME_TYPE_ENTERPRISE_SIMPLE = 6;
  50. ADS_NAME_TYPE_GUID = 7;
  51. ADS_NAME_TYPE_UNKNOWN = 8;
  52. ADS_NAME_TYPE_USER_PRINCIPAL_NAME = 9;
  53. ADS_NAME_TYPE_CANONICAL_EX = 10;
  54. ADS_NAME_TYPE_SERVICE_PRINCIPAL_NAME = 11;
  55. ADS_NAME_TYPE_SID_OR_SID_HISTORY_NAME = 12;
  56.  
  57. </script>
  58. <LINK REL="stylesheet" TYPE="text/css" HREF="riloe.css">
  59. <script>
  60. var sessionkey="NGGJJDMXSNKYAHETPQWWNVNNILTYICZUAYEAIVED";
  61. var sessionindex="00000005";
  62. </SCRIPT>
  63. <script>
  64. SecurityJumper="PRESENT";
  65. </SCRIPT>
  66. <script>
  67. var licensed=1;
  68. var enabldap=0;
  69. var enablocalu=1;
  70. var servers="";
  71. var tfauth=0;
  72. var scname="";
  73. </SCRIPT>
  74. <script>
  75. sso=0;
  76. </SCRIPT>
  77. <script>
  78.  
  79.  
  80.  
  81. function ButtonManager() {
  82.  
  83. }
  84.  
  85.  
  86. ButtonManager.prototype.getWrapperReference = function(btnWrapperObj) {
  87. var ob = btnWrapperObj;
  88. var className = ob.className;
  89. while (className.indexOf("bWrapper")==-1) {
  90. ob = ob.parentNode;
  91. className = ob.className;
  92. }
  93. return ob;
  94. }
  95.  
  96. ButtonManager.prototype.hpButtonOver = function(btnWrapperObj) {
  97. var ob = this.getWrapperReference(btnWrapperObj);
  98. var childButton = this.getButtonChild(ob);
  99. if (!childButton.disabled) {
  100. if (ob.className.indexOf("bEmphasized")!=-1) {
  101. ob.className = "bWrapperOver bEmphasized";
  102. }
  103. else {
  104. ob.className = "bWrapperOver";
  105. }
  106. }
  107. }
  108.  
  109. ButtonManager.prototype.hpButtonUp = function(btnWrapperObj) {
  110. var ob = this.getWrapperReference(btnWrapperObj);
  111. var childButton = this.getButtonChild(ob);
  112. if (!childButton.disabled) {
  113. if (ob.className.indexOf("bEmphasized")!=-1) {
  114. ob.className = "bWrapperUp bEmphasized";
  115. }
  116. else {
  117. ob.className = "bWrapperUp";
  118. }
  119.  
  120. }
  121. }
  122.  
  123. ButtonManager.prototype.hpButtonDown = function(btnWrapperObj) {
  124. var ob = this.getWrapperReference(btnWrapperObj);
  125. var childButton = this.getButtonChild(ob);
  126. if (!childButton.disabled) {
  127. if (ob.className.indexOf("bEmphasized")!=-1) {
  128. ob.className = "bWrapperDown bEmphasized";
  129. }
  130. else {
  131. ob.className = "bWrapperDown";
  132. }
  133. childButton.focus();
  134. }
  135. }
  136.  
  137. ButtonManager.prototype.disableButton = function(btnObj) {
  138. btnObj.disabled = true;
  139. var wrapper = this.getWrapperReference(btnObj);
  140. wrapper.onmousedown= null;
  141. wrapper.onmouseup= null;
  142. wrapper.onmouseover= null;
  143. wrapper.onmouseout= null;
  144. if (wrapper.className.indexOf("bEmphasized")!=-1) {
  145. wrapper.className = "bWrapperDisabled bEmphasized";
  146. }
  147. else {
  148. wrapper.className = "bWrapperDisabled";
  149. }
  150. }
  151. ButtonManager.prototype.enableButton = function(btnObj) {
  152. btnObj.disabled = false;
  153. var wrapper = this.getWrapperReference(btnObj);
  154. if (wrapper.className.indexOf("bEmphasized")!=-1) {
  155. wrapper.className = "bWrapperUp bEmphasized";
  156. }
  157. else {
  158. wrapper.className = "bWrapperUp";
  159. }
  160. wrapper.onmousedown= function() {ourButtonManager.hpButtonDown(this);}
  161. wrapper.onmouseup= function() {ourButtonManager.hpButtonOver(this);}
  162. wrapper.onmouseover= function() {ourButtonManager.hpButtonOver(this);}
  163. wrapper.onmouseout= function() {ourButtonManager.hpButtonUp(this);}
  164. }
  165. ButtonManager.prototype.disableButtonById = function(btnId) {
  166. var btnObj = document.getElementById(btnId)
  167. this.disableButton(btnObj);
  168. }
  169. ButtonManager.prototype.enableButtonById = function(btnId) {
  170. var btnObj = document.getElementById(btnId)
  171. this.enableButton(btnObj);
  172. }
  173. ButtonManager.prototype.getButtonChild = function(divObj) {
  174. var nodes = divObj.getElementsByTagName("*");
  175. for(var i = 0; i < nodes.length; i++)
  176. if(nodes[i].tagName == "BUTTON" || nodes[i].tagName == "INPUT" || nodes[i].tagName == "A" || nodes[i].tagName == "SUBMIT")
  177. return nodes[i];
  178.  
  179. return nodes[0];
  180. }
  181.  
  182.  
  183. ButtonManager.prototype.init = function() {
  184. var divs = document.getElementsByTagName("DIV");
  185. for (var i=0;i<divs.length;i++) {
  186.  
  187. if (divs[i].className.indexOf("bWrapper")!=-1) {
  188.  
  189. // some button styles might have two nested divs, making a 2px border, or three. therefore we have to be careful when we look down inside the divs looking for the buttons.
  190. var button = this.getButtonChild(divs[i]);
  191.  
  192. // looking up to see if we're in a vertical button set.
  193. var lookingForVerticalButtonSet = divs[i];
  194. while ((lookingForVerticalButtonSet) && (lookingForVerticalButtonSet.className!="verticalButtonSet")) {
  195. lookingForVerticalButtonSet = lookingForVerticalButtonSet.parentNode;
  196. }
  197. if (lookingForVerticalButtonSet) {
  198. button.style.width = "100%";
  199. }
  200. else if ((!button.getAttribute("disableminimumwidth")) && (button.className.indexOf("shrinkWrapButton")==-1)){
  201.  
  202.  
  203. // setting widths based on which size button this is to be.
  204. // tempting to use CSS property min-width and accept that it only works on mozilla. However mozilla forces align left in this case, which does more harm than good to the design.
  205. if (button.className.indexOf("hpButtonSmall")!=-1) {
  206. if (button.offsetWidth < 47) button.style.width = "47px";
  207. }
  208. else if (button.className.indexOf("hpButtonVerySmall")!=-1) {
  209. // these are tiny buttons with no minimum width, like the help button on the pagetitle bar.
  210. }
  211.  
  212. // catchall
  213. // This line causes some mozilla problems with the vertical buttons btw, although it is no longer used by them.
  214. else if (button.offsetWidth < 83) button.style.width = "83px";
  215. }
  216.  
  217. if (!button.disabled) {
  218. divs[i].onmousedown= function() {ourButtonManager.hpButtonDown(this);}
  219. divs[i].onmouseup= function() {ourButtonManager.hpButtonOver(this);}
  220. divs[i].onmouseover= function() {ourButtonManager.hpButtonOver(this);}
  221. divs[i].onmouseout= function() {ourButtonManager.hpButtonUp(this);}
  222.  
  223.  
  224.  
  225. // this effectively transfers the onclick up to the level of the div.
  226. // this makes the entire div+button structure effectively into the 'button', and moreover covers cases when the user clicks only one of the the right or bottom borders.
  227. if (button.onclick) {
  228. eval("divs[i].onclick = function() {var hardCodedFunction = "+button.onclick+" ;return hardCodedFunction();};");
  229. button.onclick = function(event) {};
  230. }
  231.  
  232.  
  233. var buttonChildren = divs[i].getElementsByTagName("BUTTON");
  234. var inputChildren = divs[i].getElementsByTagName("INPUT");
  235. for (var j=0;j<buttonChildren.length;j++) {
  236.  
  237. buttonChildren[j].onfocus = function() {ourButtonManager.hpButtonDown(this);}
  238. buttonChildren[j].onblur = function() {ourButtonManager.hpButtonUp(this);}
  239. }
  240. for (var j=0;j<inputChildren.length;j++) {
  241. inputChildren[j].onfocus = function() {ourButtonManager.hpButtonDown(this);}
  242. inputChildren[j].onblur = function() {ourButtonManager.hpButtonUp(this);}
  243. }
  244. }
  245. else {
  246. if (divs[i].className.indexOf("bEmphasized")!=-1) {
  247. divs[i].className = "bWrapperDisabled bEmphasized";
  248. }
  249. else {
  250. divs[i].className = "bWrapperDisabled";
  251. }
  252. }
  253. }
  254. }
  255. }
  256.  
  257. </script>
  258. <script>
  259.  
  260. // this function will patch a click method onto anchor elements for Mozilla. Due apparently to confusion in the early DOM spec, anchor elements in mozilla are missing click methods. This will attach a click method to HTMLElement so that all elements, being descendants of this object will inherit it if they dont have one of their own.
  261. if (!document.all) {
  262. try {
  263. document.createElement('a');
  264. HTMLElement.prototype.click = function () {
  265. if (typeof this.onclick == 'function') {
  266. if (this.onclick({type: 'click'}) && this.href)
  267. window.open(this.href, this.target ? this.target : '_self');
  268. }
  269. else if (this.href)
  270. window.open(this.href, this.target ? this.target : '_self');
  271. }
  272. }
  273. catch (e) {
  274. window.status='Warning: your browser is unable to attach click methods to all elements.';
  275. }
  276. }
  277.  
  278.  
  279.  
  280. // only for use with absolute positioned elements.
  281. function mouseIsOverAbsElement(obj) {
  282. if ((mouseX < obj.offsetLeft) || (mouseX > obj.offsetLeft + obj.offsetWidth)) return false;
  283. else if ((mouseY < obj.offsetTop) || (mouseY > obj.offsetTop + obj.offsetHeight)) return false;
  284. else return true;
  285. }
  286. function mouseTracker(e) {
  287. mouseX = (document.all) ? window.event.x : e.pageX;
  288. mouseY = (document.all) ? window.event.y : e.pageY;
  289. }
  290.  
  291. window.onmousemove = mouseTracker;
  292. var mouseX = 0;
  293. var mouseY = 0;
  294.  
  295.  
  296. function globalComponentInit() {
  297. if (typeof(ButtonManager)!="undefined") {
  298. ourButtonManager = new ButtonManager();
  299. ourButtonManager.init();
  300. }
  301. if (typeof(TransferBoxManager)!="undefined") {
  302. ourTransferBoxManager = new TransferBoxManager();
  303. ourTransferBoxManager.init();
  304. }
  305. if (typeof(DropdownMenuManager)!="undefined") {
  306. ourDropdownMenuManager = new DropdownMenuManager();
  307. ourDropdownMenuManager.init();
  308. document.onmousedown= dropdownMenuManager_clearMenus;
  309. }
  310. if (typeof(NavigationControlManager)!="undefined") {
  311. ourNavigationControlManager = new NavigationControlManager();
  312. ourNavigationControlManager.init();
  313. }
  314. if (typeof(TabManager)!="undefined") {
  315. ourTabManager = new TabManager();
  316. ourTabManager.init();
  317. }
  318. if (typeof(TableManager)!="undefined") {
  319. ourTableManager = new TableManager();
  320. ourTableManager.init();
  321.  
  322.  
  323. tableManager_windowResize();
  324. // to disable the default behaviour that ctrl-clicks selects a whole word.
  325. // Ctrl-click within hp applications has a special meaning.
  326. if (document.all) {
  327. document.onselectstart = function() {var ctrlKey = (document.all) ? window.event.ctrlKey :mozEvent.ctrlKey;if (ctrlKey)return false;}
  328. }
  329. }
  330. if (typeof(TreeManager)!="undefined") {
  331. ourTreeManager = new TreeManager();
  332. ourTreeManager.init();
  333. }
  334. if (typeof(TreeTableManager)!="undefined") {
  335. ourTreeTableManager = new TreeTableManager();
  336. ourTreeTableManager.init();
  337. }
  338. }
  339.  
  340. var ourButtonManager = null;
  341. var ourTransferBoxManager = null;
  342. var ourDropdownMenuManager = null;
  343. var ourNavigationControlManager = null;
  344. var ourTabManager = null;
  345. var ourTableManager = null;
  346. var ourTreeManager = null;
  347. var ourTreeTableManager = null;
  348.  
  349.  
  350.  
  351. function dF(foo) {
  352. document.debugform.debugtext.value += foo + "\n";
  353. }
  354.  
  355. // a little global function that returns a reasonably cross-browser reference to the originating object of the given mozEvent.
  356. function getEventOriginator(mozEvent) {
  357. return (document.all) ? event.srcElement : mozEvent.target;
  358. }
  359.  
  360. // attaches event handlers that various components need, without destroying the application's own event handlers in the process.
  361. function reconcileEventHandlers() {
  362. if (window.onload) { // some onload code has been placed into the body tag, or some function assigned to window.onload, before this function was called.
  363. // capture it as a function object, assign it to a var.
  364. var applicationLevelOnload = window.onload;
  365. // execute our globalComponentInit, then execute the function object holding the other onload code.
  366. eval("window.onload = function() {globalComponentInit();var applicationLevelOnload="+applicationLevelOnload+";applicationLevelOnload()}");
  367. }
  368. else { // window.onload is still untouched when this function gets called.
  369. window.onload = globalComponentInit;
  370. }
  371.  
  372. if (typeof(TableManager)!="undefined") {
  373.  
  374. if (window.onresize) {
  375. var applicationLevelOnresize = window.onresize;
  376. eval("window.onresize = function() {tableManager_windowResize();var applicationLevelOnresize="+applicationLevelOnresize+";applicationLevelOnresize();}");
  377. }
  378. else { // window.onload is still untouched when this function gets called.
  379. window.onresize = tableManager_windowResize;
  380. }
  381. }
  382. }
  383. // some implementations where classNames need to be changed may have multiple class selectors in their classname. This will add a classname as a class selector, if it is not already present, and without deleting other unrelated classnames that might be present.
  384. function appendClassName(obj, newClassName) {
  385. if (obj.className.indexOf(newClassName)!=-1) return true;
  386. if (!obj.className) obj.className = newClassName;
  387. else obj.className = obj.className + " " + newClassName;
  388. }
  389. function removeClassName(obj, classNameToRemove) {
  390. var newClassName = obj.className.replace(" "+classNameToRemove,"");
  391. newClassName = newClassName.replace(classNameToRemove+" ","");
  392. if (obj.className.length == newClassName.length) {
  393. newClassName = newClassName.replace(classNameToRemove,"");
  394. }
  395. obj.className = newClassName;
  396. }
  397. </script>
  398. <SCRIPT language="javascript">
  399. <!--\n//hide
  400.  
  401. function b64encode(string)
  402. {
  403. var v0, v1, v2, v3;
  404. var sST = "";
  405. var b64_str = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
  406.  
  407. // convert string (input) to array of numbers
  408. var str = new Array(string.length);
  409. for (i=0; i<string.length; i++) {
  410. str[i]= string.charCodeAt(i);
  411. }
  412.  
  413. // every three bytes in is 4 characters out. Pad handles the remainder.
  414. var len = str.length - str.length % 3;
  415. var pad = str.length % 3;
  416.  
  417. for(i=0; i < len; i+=3) {
  418. v0 = ((str[i] & 0xfc) >>> 2);
  419. v1 = ((str[i] & 0x03) << 4) + ((str[i+1] & 0xf0) >>> 4);
  420. v2 = ((str[i+1] & 0x0f) << 2) + ((str[i+2] & 0xc0) >>> 6);
  421. v3 = (str[i+2] & 0x3f);
  422.  
  423. sST += b64_str.charAt(v0);
  424. sST += b64_str.charAt(v1);
  425. sST += b64_str.charAt(v2);
  426. sST += b64_str.charAt(v3);
  427. }
  428.  
  429. // remainder padded with "="
  430. switch(pad) {
  431. default:
  432. case 0:
  433. break;
  434.  
  435. case 1:
  436. v0 = ((str[i] & 0xfc) >>> 2);
  437. v1 = ((str[i] & 0x03) << 4);
  438. sST += b64_str.charAt(v0) + b64_str.charAt(v1) + "==";
  439. break;
  440.  
  441. case 2:
  442. v0 = ((str[i] & 0xfc) >>> 2);
  443. v1 = ((str[i] & 0x03) << 4) + ((str[i+1] & 0xf0) >>> 4);
  444. v2 = ((str[i+1] & 0x0f) << 2);
  445. sST += b64_str.charAt(v0) + b64_str.charAt(v1) + b64_str.charAt(v2) + "=";
  446. break;
  447. }
  448. return sST;
  449. }
  450.  
  451. function GetCookie(name)
  452. {
  453. index = document.cookie.indexOf(name, 0);
  454. if(index == -1) return null;
  455. index += name.length + 1;
  456. endex = document.cookie.indexOf(";", index);
  457. if(endex == -1) endex = document.cookie.length;
  458. return document.cookie.substring(index, endex);
  459. }
  460.  
  461. function SetCookie (name, value, path, secure, expires, domain)
  462. {
  463. document.cookie = name +
  464. "=" +
  465. value +
  466. ((expires == null) ? "" : ("; expires=" + expires.toGMTString())) +
  467. ((path == null) ? "" : ("; path=" + path)) +
  468. ((domain == null) ? "" : ("; domain=" + domain)) +
  469. ((secure == true) ? "; secure" : "");
  470. }
  471.  
  472. function get1779(strName, strPassword, strServer, method)
  473. {
  474. var nto;
  475. var strDn = "";
  476. var strNetBIOSDomain = "";
  477. var strUserName = "";
  478.  
  479. if(strName.indexOf("\\", 0) != -1)
  480. {
  481. strNetBIOSDomain = strName.slice(0, strName.indexOf("\\"));
  482. strUserName = strName.slice(strName.indexOf("\\")+1);
  483. }
  484. else if(strName.indexOf("@", 0) != -1)
  485. {
  486. strUserName = strName.slice(0, strName.indexOf("@"));
  487. strNetBIOSDomain = strName.slice(strName.indexOf("@")+1);
  488. }
  489. else
  490. {
  491. strUserName = strName;
  492. strNetBIOSDomain = "";
  493. }
  494.  
  495. try
  496. {
  497. nto = new ActiveXObject("NameTranslate");
  498.  
  499. // We are going to get the name from a server
  500. if(method == ADS_NAME_INITTYPE_GC || strNetBIOSDomain.length == 0)
  501. {
  502. nto.Init(ADS_NAME_INITTYPE_GC, strServer);
  503. }
  504. else
  505. {
  506. nto.InitEx(ADS_NAME_INITTYPE_SERVER, strServer, strUserName, strNetBIOSDomain, strPassword);
  507. }
  508.  
  509. // Give it a name
  510. nto.Set(ADS_NAME_TYPE_UNKNOWN, strName);
  511.  
  512. // Get the name back in RFC 1779 format
  513. strDn = nto.Get(ADS_NAME_TYPE_1779);
  514. }
  515. catch(ex)
  516. {
  517. window.status = ("Unable to get DN - Exception[" + ex.name + "]: " + ex.message);
  518. }
  519. return(strDn);
  520. }
  521.  
  522. function getDn(strName, strPassword)
  523. {
  524. var dn = "";
  525.  
  526. if(strName.toUpperCase().indexOf("CN", 0) == 0)
  527. {
  528. // Starts with a CN. Assume this is a DN so do not try to convert it.
  529. return(dn);
  530. }
  531. if(servers.length == 0)
  532. {
  533. dn = get1779(strName, strPassword, "", ADS_NAME_INITTYPE_GC);
  534. }
  535. else
  536. {
  537. var serverArray = servers.split(",");
  538.  
  539. for(var i=0; i<serverArray.length; i++)
  540. {
  541. try
  542. {
  543. dn = get1779(strName, strPassword, serverArray[i], ADS_NAME_INITTYPE_SERVER);
  544. window.status = dn;
  545. }
  546. catch(ex)
  547. {
  548. dn = "";
  549. window.status = "Exception[" + ex.name + "]: " + ex.message;
  550. }
  551.  
  552. if(dn.length > 0)
  553. {
  554. break;
  555. }
  556. }
  557. }
  558.  
  559. return(dn);
  560. }
  561.  
  562. function MakeCookie()
  563. {
  564. var username = document.forms[0].UN.value;
  565. var password = document.forms[0].PW.value;
  566. var dn;
  567.  
  568. if((SecurityJumper == "REMOVED") || (username.length > 0))
  569. {
  570. if(enabldap==2)
  571. {
  572. dn = getDn(username, password);
  573. }
  574. else
  575. {
  576. dn = "";
  577. }
  578.  
  579. token = createToken(username, password, dn, sessionkey, sessionindex);
  580. SetCookie('hp-iLO-Login', token, '/', false, null, null);
  581.  
  582. return true;
  583. }
  584. else
  585. {
  586. alert('Invalid Username');
  587. return false;
  588. }
  589. }
  590.  
  591. function createToken(user, pass, dn, key, index)
  592. {
  593. var encoded_name = b64encode(user);
  594. var encoded_pass = b64encode(pass);
  595. var encoded_dn = b64encode(dn);
  596. var token = index + ':' + encoded_name + ':' + encoded_pass + ':' + key;
  597.  
  598. if(encoded_dn.length > 0)
  599. {
  600. token += ':' + encoded_dn;
  601. }
  602.  
  603. // return index + ':' + encoded_name + ':' + encoded_pass + ':' + key + ':' + encoded_dn;
  604. return(token);
  605. }
  606.  
  607. var currentFocus;
  608.  
  609. if (!ie)
  610. {
  611. document.captureEvents(Event.KEYPRESS | Event.KEYDOWN);
  612. }
  613.  
  614. function setFocus(backward)
  615. {
  616. if (currentFocus == 0) {
  617. if (backward) {
  618. document.forms[0].elements[3].focus();
  619. } else {
  620. document.forms[0].elements[1].focus();
  621. }
  622. } else if (currentFocus == 1) {
  623. if ((backward) && !(scname)) {
  624. document.forms[0].elements[0].focus();
  625. } else {
  626. document.forms[0].elements[2].focus();
  627. setIndex(2);
  628. }
  629. } else if (currentFocus == 2) {
  630. if ((backward) && !(scname)) {
  631. document.forms[0].elements[1].focus();
  632. } else {
  633. document.forms[0].elements[3].focus();
  634. setIndex(3);
  635. }
  636. } else {
  637. if ((backward) || (scname)) {
  638. document.forms[0].elements[2].focus();
  639. } else {
  640. document.forms[0].elements[0].focus();
  641. }
  642. }
  643. }
  644.  
  645. function keyhandler(e)
  646. {
  647. var event = e ? e : window.event;
  648.  
  649. // return key
  650. if (event.keyCode == 13) {
  651. if (currentFocus == 0) {
  652. document.forms[0].elements[1].focus();
  653. event.returnValue = false;
  654. }
  655. if (currentFocus == 1) {
  656. if ((document.forms[0].elements[0].value == '') || (document.forms[0].elements[1].value == '')) {
  657. event.returnValue = false;
  658. } else {
  659. document.forms[0].elements[2].click();
  660. event.returnValue = false;
  661. }
  662. }
  663. }
  664. // tab key
  665. if (event.keyCode == 9) {
  666. if (ie)
  667. {
  668. if (event.shiftKey)
  669. setFocus(true);
  670. else
  671. setFocus(false);
  672. }
  673. else
  674. {
  675. if ((currentFocus == 2) && !(scname))
  676. document.forms[0].elements[3].focus();
  677. }
  678. event.returnValue = false;
  679. }
  680. }
  681.  
  682. function setIndex(where)
  683. {
  684. currentFocus=where;
  685. }
  686.  
  687. function onLoadFnc()
  688. {
  689. if (sessionkey == "NONEAVAILABLE") {
  690. top.location.replace("nosess.htm");
  691. }
  692. }
  693. //-->
  694. </SCRIPT>
  695.  
  696. </HEAD>
  697.  
  698. <BODY BGCOLOR="#FFFFFF" LINK="#0F4780" VLINK="#0F4780" ALINK="#FF0000" TEXT="#000000" onLoad="onLoadFnc()">
  699. <form NAME="loginForm">
  700. <TABLE style="LEFT: 0px; POSITION: absolute; TOP: 0px">
  701. <FONT FACE=ARIAL>
  702. <TR height="287px"><TD bgcolor="#003366" width="593px">
  703. <div style="LEFT: 23px; POSITION: absolute; TOP: 26px">
  704. <a href="http://www.hp.com/" target="new"><img src="hp_blue.gif" alt="Hewlett-Packard Corporation" border=0></a>
  705. </div>
  706. <div style="LEFT: 30; POSITION: absolute; TOP: 180px"><a href="http://www.hp.com/go/ilo" target="new">
  707. <IMG src="ilo2_large.jpg" border=0 alt="Integrated Lights-Out"></a>
  708. </div></TD>
  709. <TD bgcolor="#003366" align="center" width="404px"><IMG width="404px" height="287px" src="telescopeLg.jpg"></td>
  710. </TR>
  711.  
  712. <script>
  713. if (SecurityJumper == "REMOVED")
  714. {
  715. document.write("<TR><TD ALIGN=CENTER COLSPAN=2 BGCOLOR=\"E4E4E4\">");
  716. document.write( "<font color='red'><b>Alert! iLO security override switch is set. Security enforcement is disabled.</b></font><br>" );
  717. document.write("</TD></TR>");
  718. }
  719. </script>
  720.  
  721.  
  722. <script language=javascript>
  723. lname="Login name:&nbsp;";
  724. var tdWidth1 = 27;
  725. var tdWidth2 = 73;
  726. if ((1==licensed)&&(0!=enabldap)&&(1==tfauth)) {
  727. lname="Directory user:&nbsp;";
  728. tdWidth1 = 35;
  729. tdWidth2 = 65;
  730. }
  731. else if ((1==licensed)&&(0!=enabldap)&&(0==enablocalu)) {
  732. lname="Directory or local user login name:&nbsp;";
  733. tdWidth1 = 50;
  734. tdWidth2 = 50;
  735. } else if ((1==licensed)&&(0!=enabldap)&&(1==enablocalu)) {
  736. lname="Directory user login name:&nbsp;";
  737. tdWidth1 = 45;
  738. tdWidth2 = 55;
  739. }
  740. </script>
  741. <!--<TABLE WIDTH=100% BORDER=0>-->
  742. <TR height="283px">
  743. <TD colspan=2 bgcolor="#E4E4E4">
  744. <TABLE BORDER=0 width="997px">
  745. <script>
  746. document.write("<TR><TD ALIGN=RIGHT WIDTH=\"593px\">"+lname+"</TD>");
  747. </script>
  748. <TD ALIGN=LEFT WIDTH="404px"><input name="UN" type=textfield size=40 onFocus="setIndex(0)" onKeyPress="keyhandler(event)" onKeyDown="if (ie) keyhandler(event)"><BR>
  749. </TD></TR>
  750. <script>
  751. document.write("<TR><TD ALIGN=RIGHT>Password:&nbsp;</TD>");
  752. </script>
  753. <TD ALIGN=LEFT><input name="PW" type=password MAXLENGTH=39 size=40 onFocus="setIndex(1)" onKeyPress="keyhandler(event)" onKeyDown="if (ie) keyhandler(event)"><BR>
  754. </TD></TR>
  755. <TR><TD></TD><TD>&nbsp;</TD></TR>
  756. <TR><TD>&nbsp;</TD><TD>&nbsp;
  757. <div class="buttonSet buttonsAreLeftAligned">
  758. <div class="bWrapperUp" style="LEFT: 607px' POSITION: absolute;"><div><div><input name="LI" type=button class="hpButton" value=" Log In " onFocus="setIndex(2)" onKeyPress="keyhandler(event)" onKeyDown="if (ie) keyhandler(event)" onClick="if( MakeCookie() ) top.location.replace('index.htm');"></div></div></div>
  759. <div class="bWrapperUp" style="LEFT: 750px' POSITION: absolute;"><div><div><input name="clear" type=button class="hpButton" value=" Clear " onFocus="setIndex(3)" onKeyDown="if (ie) keyhandler(event)" onClick="top.location.replace('login.htm');"></div></div></div>
  760.  
  761. </div><div class="clearFloats"></div>
  762. </TD></TR><TR><TD>&nbsp;</TD></TR><TR><TD>&nbsp;</TD></TR><TR><TD>&nbsp;</TD></TR><TR><TD>&nbsp;</TD></TR>
  763. <TR><TD></TD><TD>
  764. <FONT SIZE=1>
  765. <B>
  766. &copy; Copyright 2008, 2009 Hewlett-Packard Development Company, L.P.<br>
  767. <br>
  768. Contains security software licensed from RSA Data Security Inc.<br>
  769. Portions Copyright 1989, 1991, 1992 by Carnegie Mellon University<br>
  770. Derivative Work - 1996, 1998-2000 Copyright 1996, 1998-2000 The Regents of the University of California<br>
  771. </B>
  772. </FONT>
  773. </TD></TR>
  774. </TABLE>
  775. </TD></TR>
  776.  
  777. </form>
  778. </TABLE>
  779. <!--
  780. <script>
  781. document.write("<TD ALIGN=RIGHT width="+tdWidth1+"%>");
  782. document.write(lname);
  783. document.write("</TD>");
  784. document.write("<TD ALIGN=LEFT width="+tdWidth2+"%>");
  785. </script>
  786. <input name="UN" type=textfield size=40 onFocus="setIndex(0)" onKeyPress="keyhandler(event)" onKeyDown="if (ie) keyhandler(event)"><BR>
  787. </TD>
  788. </TABLE>
  789. </TD>
  790. </TR>
  791.  
  792.  
  793. <TR>
  794. <TD ALIGN=CENTER WIDTH=100%>
  795. <TABLE BORDER=0>
  796. <script>
  797. document.write("<TD ALIGN=RIGHT width="+tdWidth1+"%>");
  798. document.write("Password:&nbsp;");
  799. document.write("</TD>");
  800. document.write("<TD ALIGN=LEFT width="+tdWidth2+"%>");
  801. </script>
  802. <input name="PW" type=password size=40 MAXLENGTH=39 onFocus="setIndex(1)" onKeyPress="keyhandler(event)" onKeyDown="if (ie) keyhandler(event)"><BR>
  803. </TD>
  804. </TABLE>
  805. </TD>
  806. </TR>
  807.  
  808.  
  809. <TR>
  810. <TD ALIGN=CENTER WIDTH=100%>
  811. <TABLE BORDER=0>
  812. <TD ALIGN=CENTER WIDTH=100%>
  813.  
  814. <input name="LI" type=button value="Log In" onFocus="setIndex(2)" onKeyPress="keyhandler(event)" onKeyDown="if (ie) keyhandler(event)" onClick="if( MakeCookie() ) top.location.replace('index.htm');">
  815.  
  816. </TD>
  817. </TABLE>
  818. </TD>
  819. </TR>
  820.  
  821. </TABLE>
  822. </form>-->
  823.  
  824. <SCRIPT LANGUAGE="JavaScript"><!--
  825. if ((tfauth)&&(scname)) {
  826. document.forms[0].elements[0].value = scname;
  827. document.forms[0].elements[0].disabled = true;
  828. document.forms[0].elements[1].focus();
  829. }
  830. else {
  831. document.forms[0].elements[0].focus();
  832. }
  833. --></SCRIPT>
  834.  
  835. <!--<BR>
  836. <HR>
  837.  
  838. <TABLE BORDER=0 WIDTH=100%>
  839. <TR>
  840. <TD>
  841. <FONT SIZE=1>
  842. <B>
  843. &copy; Copyright 2005, 2009 Hewlett-Packard Development Company, L.P.<br>
  844. <br>
  845. Contains security software licensed from RSA Data Security Inc.<br>
  846. Portions Copyright 1989, 1991, 1992 by Carnegie Mellon University<br>
  847. Derivative Work - 1996, 1998-2000 Copyright 1996, 1998-2000 The Regents of the University of California<br>
  848. </B>
  849. </FONT>
  850. </TD>
  851. <TD ALIGN=RIGHT>
  852. </TD>
  853. </TR>
  854. </TABLE>
  855. </FONT>-->
  856. <SCRIPT LANGUAGE="JavaScript">
  857. if( top.window != this.window ) {
  858. top.location="login.htm";
  859. }
  860. if (sso) {
  861. token = createToken(ssoname, ssopass, ssodn, sessionkey, sessionindex);
  862. SetCookie('hp-iLO-Login', token, '/', false, null, null);
  863. if (ssourl.length) {
  864. if (ssourl=="IRC") {
  865. top.location.replace('/HRemCons.htm?fullscreen=0&restart=1');
  866. } else if (ssourl=="IRCFS") {
  867. top.location.replace('/HRemCons.htm?fullscreen=1&restart=1');
  868. } else if (ssourl=="REMCONS") {
  869. top.location.replace('/drc2fram.htm?restart=1');
  870. } else if (ssourl=="RSC") {
  871. top.location.replace('/dems.htm');
  872. } else if ((ssourl=="VMEDIA") || (ssourl=="VM")) {
  873. top.location.replace('/vtd026.htm');
  874. } else {
  875. top.location.replace(ssourl);
  876. }
  877. } else {
  878. top.location.replace('index.htm');
  879. }
  880. }
  881. </SCRIPT>
  882. <script language="JavaScript" type="text/javascript">
  883. reconcileEventHandlers();
  884. </script>
  885. </BODY>
  886. </HTML>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement