info 0100664 0247626 0035231 00000000433 11212710265 011127 0 ustar shawnk build version_suffix: k9w7-.124-10b.JDA3 version_directory: c1130-k9w7-mx.124-10b.JDA3 image_name: c1130-k9w7-mx.124-10b.JDA3 ios_image_file_size: 4844032 total_image_file_size: 5581312 image_feature: WIRELESS LAN image_family: C1130 system_type: 0x89 ws_management_version: 1.0 info_end: c1130-k9w7-mx.124-10b.JDA3/ 0040775 0247626 0035231 00000000000 11212710265 013571 5 ustar shawnk build c1130-k9w7-mx.124-10b.JDA3/html/ 0040775 0247626 0035231 00000000000 11212710261 014531 5 ustar shawnk build c1130-k9w7-mx.124-10b.JDA3/html/level/ 0040744 0247626 0035231 00000000000 11212710262 015635 5 ustar shawnk build c1130-k9w7-mx.124-10b.JDA3/html/level/1/ 0040744 0247626 0035231 00000000000 11212710264 015777 5 ustar shawnk build c1130-k9w7-mx.124-10b.JDA3/html/level/1/appsui.js 0100744 0247626 0035231 00000001055 11212710262 017635 0 ustar shawnk build /* * Copyright (c) 2002-2008 by cisco Systems, Inc. * All rights reserved. */ function openChildWindow( appuri, windowname ) { var appwindow = window.open( appuri , windowname, "toolbar=yes,status=yes,top=10,left=10,outerWidth=790,outerHeight=500,width=790,height=500,resizable=yes"); appwindow.focus(); } function closeWindow() { top.window.close(); } function openPopup( popupuri, windowname ) { var popup = window.open( popupuri , windowname, "toolbar=no,status=no,top=100,left=200,width=300,height=190,resizable=no"); popup.focus(); } c1130-k9w7-mx.124-10b.JDA3/html/level/1/back.shtml 0100744 0247626 0035231 00000000762 11212710262 017753 0 ustar shawnk build
c1130-k9w7-mx.124-10b.JDA3/html/level/1/cookies.js 0100744 0247626 0035231 00000011642 11212710262 017773 0 ustar shawnk build /* * Copyright (c) 2002-2008 by cisco Systems, Inc. * All rights reserved. */ function Cookie(document, name, hours, path, domain, secure){ this.$document=document; this.$name=name; if (hours){ this.$expiration=new Date( new Date().getTime() + 3600000*hours); } if (path){ this.$path=path; } else { this.$path=null; } if (domain){ this.$domain=domain; } else { this.$domain=null; } if (secure){ this.$secure=secure; } else { this.$secure=null; } } function _Cookie_store(){ var cookieval=""; for (var prop in this){ if ((prop.charAt(0)=="$")||(typeof this[prop]=="function")){ continue; } if (cookieval != ""){ cookieval += "&"; } cookieval += prop + ":" + escape( this[prop]); } var cookie = this.$name + "=" + cookieval; if (this.$expiration){ cookie += "; expires=" + this.$expiration.toGMTString(); } if (this.$path){ cookie += "; path=" + this.$path; } if (this.$domain){ cookie += "; domain=" + this.$domain; } if (this.$secure){ cookie += "; secure"; } this.$document.cookie=cookie; } function _Cookie_load(){ var allcookies = this.$document.cookie; if ((typeof allcookies == "undefined") || (allcookies == "")){ return false; } var start = allcookies.indexOf( this.$name + "=" ); if (start < 0){ return false; } start += this.$name.length+1; var end = allcookies.indexOf( ";", start); if (end < 0){ end = allcookies.length; } var cookieval = allcookies.substring( start, end); var a = cookieval.split("&"); for (var i=0; i < a.length; i++){ a[i] = a[i].split(":"); this[a[i][0]] = unescape( a[i][1]); } return true; } function _Cookie_remove(){ var cookie; cookie=this.$name+"="; if (this.$path){ cookie+= "; path=" + this.$path; } if (this.$domain){ cookie+= "; domain=" + this.$domain; } cookie+= "; expires=Fri, 02-Jan-1970 00:00:00 GMT"; this.$document.cookie=cookie; } Cookie.prototype.store=_Cookie_store; Cookie.prototype.load=_Cookie_load; Cookie.prototype.remove=_Cookie_remove; function _Cookies_supported(){ var c = new Cookie(document,"_dummy"); c["foo"]="bar"; c.store(); var result = c.load(); c.remove(); return result; } Cookie.supported=_Cookies_supported(); var CMD_MAX_SIZE = 1500; var MAX_COOKIE_NB = 2; function cookieElement() { this.name = ""; this.cmd = ""; } function parseCmd(cmd, size) { var pattern, index = 0, i; pattern = "]\n"; if (size > cmd.length) { return 0; } i = cmd.substring(0, size).search(pattern); while (i != -1) { index += i + pattern.length; i = cmd.substring(index, size).search(pattern); } if (index != cmd.length) { return(index); } else { return 0; } } function storeCmd(cmd, name, cookieName) { var count = 0; var cmdSend = "", pattern, index, cookieCmd; var cookieTable = new Array(); index = parseCmd(cmd, CMD_MAX_SIZE); if (index) { cookieCmd = cmd.substring(index); cmdSend = cmd.substring(0, index); } else { cmdSend = cmd; cookieCmd = ""; } do { index = parseCmd(cookieCmd, CMD_MAX_SIZE); cookieTable[count] = new Cookie(document, cookieName + count); cookieTable[count].name = name; if (index) { cookieTable[count].cmd = cookieCmd.substring(0, index); cookieCmd = cookieCmd.substring(index); } else { cookieTable[count].cmd = cookieCmd; cookieCmd = ""; } cookieTable[count].store(); count++; } while (cookieCmd.length && count < MAX_COOKIE_NB); cookieTable[0].totalCookies = count; cookieTable[0].store(); if ((count == MAX_COOKIE_NB) || !cookieTable[0].load()) { cmdSend = "" return cmdSend; } return cmdSend; } function getCookieCmd(element, cookieName) { var i, nb; var cookieTable = new Array(); cookieTable[0] = new Cookie(document, cookieName + '0'); if (cookieTable[0].load()) { element.cmd = cookieTable[0].cmd; element.name = cookieTable[0].name; nb = cookieTable[0].totalCookies - 1; if ((cookieTable[0].totalCookies > MAX_COOKIE_NB) || (cookieTable[0].totalCookies < 1)) { return false; } for (i = 0; i < nb; i++) { cookieTable[i+1] = new Cookie(document, cookieName + (i+1)); if (cookieTable[i+1].load()) { cookieTable[i].cmd = cookieTable[i+1].cmd; cookieTable[i].totalCookies = nb; cookieTable[i].store(); } } if (i == 0) { cookieTable[i].cmd = ""; cookieTable[i].totalCookies = 1; cookieTable[i].store(); } else { cookieTable[i].remove(); } return true; } else { return false; } } c1130-k9w7-mx.124-10b.JDA3/html/level/1/forms.js 0100744 0247626 0035231 00000042116 11212710262 017465 0 ustar shawnk build /* * Copyright (c) 2002-2008 by cisco Systems, Inc. * All rights reserved. */ //Global vars var ConfigMsg = "WARNING:\nThe settings shown on this page will be updated.\nClick 'OK' to continue."; var ClearLogMsg = "WARNING:\nThe Event Log will be cleared.\nClick 'OK' to continue."; var RestoreMsg = "WARNING:\nYou have requested that ALL settings on this page be reverted to their Factory Defaults!\nClick 'OK' to continue."; var TextDisableMsg = "DISABLED" //display properties of a JS object function dump_props(obj,obj_name) { var result = "" for( var i in obj ) { result += obj_name + "." + i + " = " + obj[i] + "\n" } return result } //Encode the IOS command string(s) in src function encode(src) { var dst = ""; var c; var i; for( i = 0 ; i < src.length ; i += 1 ) { c = src.charAt(i); if( c >= 'A' && c <= 'Z' ) dst += c; else if( c >= 'a' && c <= 'z' ) dst += c; else if( c >= '0' && c <= '9' ) dst += c; else if( c == ' ' ) dst += '+'; else if( c == '/' ) dst += "%2f"; else if( c == '+' ) dst += "%2b"; else if( c == '\n' ) dst += "%0A"; else dst += escape(c); } return dst; } //Determine if a string is blank function isBlank(testStr) { if (testStr.search(/\S/) == -1) return true return false } //Determine if a string is a number function isNumber(testStr) { if (testStr.search(/^\s*\d+\s*$/) != -1) { //non-zero numbers starting with 0 may be interpreted by IOS as octal. //Disallow them to avoid surprises one way or the other. if (testStr.search(/^\s*0+[1-9]/) != -1) return false else return true } return false } //Determine if a string is an oct number function isOct(testStr) { if (testStr.search(/[^0-7]/) == -1) return true return false } //Determine if a string is a hex number function isHex(testStr) { if (testStr.search(/[^0-9a-fA-F]/) == -1) return true return false } //Determine if a string valid for CLI; //CLI doesn't like \t or ? or beginning ! # ; //JS doesn't like " (messes up strings) (allow ' since more common) //HTTP server doesn't like $ (signifies var substitution) or + (signifies space) // or [ (signifies a mode) function isCLIString(testStr) { if (isBlank(testStr)) return false if (testStr.search(/^!/) != -1) return false if (testStr.search(/^#/) != -1) return false if (testStr.search(/^;/) != -1) return false if (testStr.search(/[\t?"$+\[]/) != -1) return false return true } //Determine if a password valid for CLI; like isCLIString, except //beginning ! # ; ARE allowed //and " is also allowed because we never expose a passwd as a plan text. function isCLIPasswd(testStr) { if (isBlank(testStr)) return false if (testStr.search(/[\t?$+\[]/) != -1) return false return true } //Determine if a string is only one word function isWord(testStr) { if (isBlank(testStr)) return false if (testStr.search(/\s/) == -1) return true return false } //Determine if characters make up good SSID. //need to ensure no ] since HTTP server interprets it differently in cmd vs. mode //need to ensure no / since confuses http_get_uri_token //prevent trailing spaces //Overall disallowed char: + / ] \t " trailing_space function isSSID(testStr) { if (testStr.search(/[\t"+]/) != -1) return false; //netscape doesn't work properly with search(/[\\\]]/) if (testStr.indexOf("]") != -1) return false; if (testStr.indexOf("/") != -1) return false; if (isBlank(testStr.substring(testStr.length-1))) return false; return true; } // encode special char which are allowed now // Allowed char which are converted in octal: $, [, \ // Allowed but not required to be converted: # ; ! function encode_schar(src) { var dst = "" var i; var c; for( i = 0 ; i < src.length ; i += 1 ) { c = src.charAt(i); if ( c == '[' ) dst += "\\133"; else if (c == ' ') dst += "\\040"; else if (c == '$') dst += "\\044"; else if (c == '\\') dst += "\\134"; else if (c == '+') dst += "\\053"; else dst += c } return dst; } //Determine if a year is a leap year function isLeapYear(year) { return (((year % 4 == 0) && (year % 100 != 0)) || (year % 400 == 0)) ? true : false; } //Determine if a string is a date in format YYYY/MM/DD function isDate(testStr) { var monthToDays = new Array(31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31); var slashes = 0; for (var i=0; i