整合營銷服務商

          電腦端+手機端+微信端=數(shù)據(jù)同步管理

          免費咨詢熱線:

          第51節(jié) 可編輯的內容-Javascript-零點程序員-王唯

          內容是《Web前端開發(fā)之Javascript視頻》的課件,請配合大師哥《Javascript》視頻課程學習。

          在HTML中,任何元素都可以被編輯;啟用編輯功能:HTML標簽設置contenteditable屬性,或者在Javascript中設置該元素的contentEditable屬性;

          <div id="editor" contenteditable>單擊編輯</div>
          <div id="mydiv">也可編輯</div>
          <script>
          var mydiv = document.getElementById("mydiv");
          mydiv.contentEditable = true;
          </script>

          元素被設置成可編輯后,除了常規(guī)的插入刪除等操作外,還可以使用document.execCommand()方法對當前選擇的內容進行編輯,比如,設置文本的樣式,如加粗、傾斜等;

          另外,有些瀏覽器允許鍵盤快捷鍵(如Ctrl+B加粗)來加粗當前選中的文本,F(xiàn)irefox使用Ctrl+B和Ctrl+I;

          contenteditable也存在著兼容問題,如,當回車換行時,不同的瀏覽器有不同有處理,標準瀏覽器一般會使用div,而IE會使用p來分段,有些會使用br;所以,可以使用一個替代的方案document.execCommand()方法;如:

          mydiv.addEventListener("keydown", function(e){
              if(e.keyCode == 13)
                  document.execCommand("defaultParagraphSeparator", false, "p");
          });

          HTMLElement.isContentEditable屬性:

          只讀屬性返回一個布爾值:如果當前元素的內容為可編輯狀態(tài),則返回true,否則返回false;

          var mydiv = document.getElementById("mydiv");
          mydiv.contentEditable = true;
          console.log(mydiv.isContentEditable);

          瀏覽器有可能為表單控件和具有contenteditable元素支持自動拼寫檢查;在支持該功能的瀏覽器中,檢查可能默認開啟或關閉;為元素添加spellcheck屬性來顯式開啟拼寫檢查,或設置為false來顯式關閉該功能;

          designMode屬性:

          將Document對象的designMode屬性設置為”on”使得整個文檔可編輯,設置為”off”將恢復為只讀文檔;designMode屬性并沒有對應的HTML屬性;

          window.onload = function(){
              document.designMode = "on";
          }

          如,使<iframe>內部的文檔可編輯;

          <iframe id="editor" src="about:blank"></iframe>
          <script>
          window.onload = function(){
              var editor = document.getElementById("editor");
              editor.contentDocument.designMode = "on";
          }
          </script>

          document.execCommand()方法:

          瀏覽器定義了多個文本編輯命令,但大部分沒有鍵盤快捷鍵;為了執(zhí)行這些命令,可以使用Document對象的execCommand()方法;當HTML文檔切換到designMode模式或存在可編輯元素或當前選擇或給出范圍,就可以使用此方法運行命令來操縱內容區(qū)域的元素;

          語法:bool = document.execCommand(aCommandName, aShowDefaultUI, aValueArgument);

          其返回一個Boolean值,如果是false,則表示操作不被支持或未被啟用;該方法需要三個參數(shù):aCommandName命令名稱,如”bold”、”subscript”、”justifycenter”和”insertimage”等之類的字符串;aShowDefaultUI是個布爾值,表示瀏覽器要不要提示用戶輸入所需要值,一般為false;aValueArgument為用戶輸入的值,默認為null;

          <div id="mydiv">Web前端開發(fā)</div>
          <button id="btnBold">加粗</button>
          <button id="btnLink">插入鏈接</button>
          <script>
          var mydiv = document.getElementById("mydiv");
          mydiv.contentEditable = true;
          var btnBold = document.getElementById("btnBold");
          btnBold.addEventListener("click",bold, false);
          function bold(){
              document.execCommand("bold");
          }
          var btnLink = document.getElementById("btnLink");
          btnLink.addEventListener("click", link, false);
          function link(){
              var url = prompt("輸入鏈接URL:");
              if(url)
                  document.execCommand("createlink", true,url);
          }
          </script>

          命令列表:

          • 2D-Position:允許通過拖曳移動絕對定位的對象;
          • AbsolutePosition:設定元素的 position 屬性為“absolute”(絕對);
          • backColor:修改文檔的背景顏色,需要一個<color>類型的字符串值作為參數(shù)傳入,注:IE瀏覽器用這個設置文字的背景顏色;
          • BlockDirLTR:目前尚未支持;
          • BlockDirRTL:目前尚未支持;
          • bold:開啟或關閉選中文字或插入點的粗體字效果,IE使用 <strong>標簽,而不是<b>標簽;
          • BrowseMode:目前尚未支持;
          • ClearAuthenticationCache:清除緩存中的所有身份驗證憑據(jù);
          • contentReadOnly:通過傳入一個布爾參數(shù)設置文檔內容的可編輯性;(IE瀏覽器不支持)
          • copy:拷貝當前選中內容到剪貼板;
          • CreateBookmark:創(chuàng)建一個書簽錨或獲取當前選中區(qū)或插入點的書簽錨的名稱;
          • createLink:將選中內容創(chuàng)建為一個錨鏈接,該命令需要一個hrefURI字符串作為參數(shù)值傳入;
          • cut:剪貼當前選中的文字并復制到剪貼板;
          • decreaseFontSize:給選中文字加上<small>標簽,或在選中點插入該標簽;(IE瀏覽器不支持)
          • defaultParagraphSeparator:更改在可編輯文本區(qū)域中創(chuàng)建新段落時使用的段落分隔符
          • delete:刪除選中部分;
          • DirLTR:目前尚未支持;
          • DirRTL:目前尚未支持;
          • EditMode:目前尚未支持;
          • enableAbsolutePositionEditor:啟用或禁用允許移動絕對定位元素的抓取器;
          • enableInlineTableEditing:啟用或禁用表格行和列插入和刪除控件;(IE瀏覽器不支持)
          • enableObjectResizing:啟用或禁用圖像和其他對象的大小可調整大小手柄;(IE瀏覽器不支持)
          • fontName:在插入點或者選中文字部分修改字體名稱,需要提供一個字體名稱字符串 (例如:"Arial")作為參數(shù);
          • fontSize:在插入點或者選中文字部分修改字體大小,需要提供一個HTML字體尺寸 (1-7) 作為參數(shù);
          • foreColor:在插入點或者選中文字部分修改字體顏色,需要提供一個顏色值字符串作為參數(shù);
          • formatBlock:添加一個HTML塊式標簽在包含當前選擇的行, 如果已經(jīng)存在了,更換包含該行的塊元素 (在 Firefox中, BLOCKQUOTE 是一個例外 -它將包含任何包含塊元素);需要提供一個標簽名稱字符串作為參數(shù);幾乎所有的塊樣式標簽都可以使用(例如. "H1", "P", "DL", "BLOCKQUOTE");(IE瀏覽器僅僅支持標題標簽 H1 - H6, ADDRESS, 和 PRE,使用時還必須包含標簽分隔符 < >, 例如 "<H1>");
          • forwardDelete:刪除光標所在位置的字符,和按下刪除鍵一樣;
          • heading:添加一個標題標簽在光標處或者所選文字上,需要提供標簽名稱字符串作為參數(shù) (例如. "H1", "H6"). (IE 和 Safari不支持);
          • hiliteColor:更改選擇或插入點的背景顏色,需要一個顏色值字符串作為值參數(shù)傳遞;UseCSS 必須開啟此功能。(IE瀏覽器不支持);
          • increaseFontSize:在選擇或插入點周圍添加一個BIG標簽;(IE瀏覽器不支持)
          • indent:縮進選擇或插入點所在的行,在 Firefox 中, 如果選擇多行,但是這些行存在不同級別的縮進, 只有縮進最少的行被縮進;
          • InlineDirLTR:目前尚未支持;
          • InlineDirRTL:目前尚未支持;
          • insertBrOnReturn:控制當按下Enter鍵時,是插入br標簽還是把當前塊元素變成兩個;(IE瀏覽器不支持);
          • InsertButton:用按鈕控件覆蓋當前選中區(qū);
          • InsertFieldset:用方框覆蓋當前選中區(qū);
          • insertHorizontalRule:在插入點插入一個水平線(刪除選中的部分);
          • insertHTML:在插入點插入一個HTML字符串(刪除選中的部分),需要一個個HTML字符串作為參數(shù);(IE瀏覽器不支持);
          • InsertIFrame:用內嵌框架覆蓋當前選中區(qū);
          • insertImage:在插入點插入一張圖片(刪除選中的部分),需要一個 URL 字符串作為參數(shù),這個 URL 圖片地址至少包含一個字符,空白字符也可以(IE會創(chuàng)建一個鏈接其值為null);
          • InsertInputButton:用按鈕控件覆蓋當前選中區(qū);
          • InsertInputCheckbox:用復選框控件覆蓋當前選中區(qū);
          • InsertInputFileUpload:用文件上載控件覆蓋當前選中區(qū);
          • InsertInputHidden:插入隱藏控件覆蓋當前選中區(qū);
          • InsertInputImage:用圖像控件覆蓋當前選中區(qū);
          • InsertInputPassword:用密碼控件覆蓋當前選中區(qū);
          • InsertInputRadio:用單選鈕控件覆蓋當前選中區(qū);
          • InsertInputReset:用重置控件覆蓋當前選中區(qū);
          • InsertInputSubmit:用提交控件覆蓋當前選中區(qū);
          • InsertInputText:用文本控件覆蓋當前選中區(qū);
          • InsertMarquee:用空字幕覆蓋當前選中區(qū);
          • insertOrderedList:在插入點或者選中文字上創(chuàng)建一個有序列表;
          • insertUnorderedList:在插入點或者選中文字上創(chuàng)建一個無序列表;
          • insertParagraph:在選擇或當前行周圍插入一個段落;(IE會在插入點插入一個段落并刪除選中的部分)
          • InsertSelectDropdown:用下拉框控件覆蓋當前選中區(qū);
          • InsertSelectListbox:用列表框控件覆蓋當前選中區(qū);
          • InsertTextArea:用多行文本輸入控件覆蓋當前選中區(qū);
          • insertText:在光標插入位置插入文本內容或者覆蓋所選的文本內容;
          • InsertUnorderedList:切換當前選中區(qū)是項目符號列表還是常規(guī)格式化塊;
          • italic:在光標插入點開啟或關閉斜體字;(IE使用EM標簽,而不是I );
          • justifyCenter:對光標插入位置或者所選內容進行文字居中;
          • justifyFull:對光標插入位置或者所選內容進行文本對齊;
          • justifyLeft:對光標插入位置或者所選內容進行左對齊;
          • justifyRight:對光標插入位置或者所選內容進行右對齊;
          • JustifyNone:目前尚未支持;
          • LiveResize:迫使 MSHTML 編輯器在縮放或移動過程中持續(xù)更新元素外觀,而不是只在移動或縮放完成后更新;
          • MultipleSelection:允許當用戶按住 Shift 或 Ctrl 鍵時一次選中多于一個站點可選元素;
          • open:打開;
          • outdent:對光標插入行或者所選行內容減少縮進量;
          • OverWrite:切換文本狀態(tài)的插入和覆蓋;
          • paste:在光標位置粘貼剪貼板的內容,如果有被選中的內容,會被替換;剪貼板功能必須在 user.js 配置文件中啟用;
          • PlayImage:目前尚未支持
          • Print:打開打印對話框以便用戶可以打印當前頁;
          • redo:重做被撤銷的操作;
          • Refresh:刷新當前文檔;
          • removeFormat:對所選內容去除所有格式;
          • RemoveParaFormat:目前尚未支持;
          • SaveAs:將當前 Web 頁面保存為文件;
          • selectAll:選中編輯區(qū)里的全部內容;
          • SizeToControl:目前尚未支持;
          • SizeToControlHeight:目前尚未支持;
          • SizeToControlWidth:目前尚未支持;
          • Stop:停止;
          • StopImage:目前尚未支持;
          • strikeThrough:在光標插入點開啟或關閉刪除線;
          • subscript:在光標插入點開啟或關閉下角標;
          • superscript:在光標插入點開啟或關閉上角標;
          • UnBookmark:從當前選中區(qū)中刪除全部書簽;
          • underline:在光標插入點開啟或關閉下劃線;
          • undo:撤銷最近執(zhí)行的命令;
          • unlink:去除所選的錨鏈接<a>標簽;
          • Unselect:清除當前選中區(qū)的選中狀態(tài);
          • useCSS:切換使用HTML tags還是CSS來生成標記,要求一個布爾值true/false作為參數(shù);注: 這個屬性是邏輯上的倒退 (例如. use false to use CSS, true to use HTML).(IE不支持);該屬性已經(jīng)廢棄,使用 styleWithCSS 代替;
          • styleWithCSS:用這個取代 useCSS 命令,false 生成格式化元素;

          不同的瀏覽器實現(xiàn)不同的編輯命令;只有少部分命令得到了很好的支持,所以在使用之前一定要檢測瀏覽器是否支持該命令;

          document.queryCommandSupport(command)方法:傳入command命令名,返回一個布爾值,用來查詢?yōu)g覽器是否支持該命令;

          var selectAll = document.queryCommandSupported("selectAll");
          console.log(selectAll);

          doument.queryCommandEnable(command)方法:傳入command命令名,返回一個布爾值,查詢?yōu)g覽器中指定的編輯指令是否可用;

          mydiv.addEventListener("mouseup",function(e){
              var createLink = document.queryCommandEnabled("createLink");
              console.log(createLink);
          },false);

          document.queryCommandState(command)方法:用來判定命令的當前狀態(tài):有一些命令如”bold”和”italic”有一個布爾值狀態(tài),開或關取決于當前選區(qū)或光標的位置;這些命令通常用工具欄上的開關按鈕表示;

          var flag = document.queryCommandState("bold");
          console.log(flag);

          document.queryCommandValue()方法:查詢相關聯(lián)的值,有些命令如”fontname”有一個相關聯(lián)的值,字體系列名;

          var fontSize = document.queryCommandValue("fontSize");
          console.log(fontSize);  // 默認是3
          var foreColor = document.queryCommandValue("foreColor");
          console.log(foreColor);  // rgb(0,0,0)

          document.queryCommandIndeterm(command)方法:返回一個布爾值,用于檢測指定的命令是否處于不確定狀態(tài);例如,如果當前選取的文本使用了兩種不同的字體,使用該方法查詢”fontname”的結果是不確定的;

          需要注意的是,這些編輯器生成的HTML標記很可能是雜亂無章的;

          另外,一旦用戶編輯了某元素的內容,就可以使用innerHTML屬性得到已經(jīng)編輯內容的HTML標記;如何處理這些富文本,有多種方式,可以把它存儲在隱藏的表單控件中,并通過提交該表單發(fā)送到服務器,也可以保存在本地;

          示例:一個HTML編輯器:

          <head>
              <style>
                  *{margin:0;padding:0; box-sizing: border-box;}
                  #editor{width:600px;margin:100px auto;}
                  #editor #toolBar1,#editor #toolBar2{width:100%;background-color: lightgray;}
                  img.intLink{cursor:pointer;border:none;}
                  #toolBar1 select{font-size:16px;}
                  #textBox{width:100%; height:200px; border:1px solid;padding:10px; overflow:scroll;}
                  #textBox #sourceText{margin:0;padding:0; min-width:498px; min-height:200px;}
              </style>
              <script>
                  var oDoc, sDefTxt;
                  function initDoc(){
                      oDoc = document.getElementById("textBox");
                      sDefTxt = oDoc.innerHTML;
                      if(document.compForm.switchMode.checked)
                          setDocMode(true);
                  }
                  function formatDoc(sCmd, sValue){
                      if(validateMode()){
                          document.execCommand(sCmd, false, sValue);
                          oDoc.focus();
                      }
                  }
                  function validateMode(){
                      if(!document.compForm.switchMode.checked)
                          return true;
                      alert("Uncheck 'Show HTML");
                      oDoc.focus();
                      return false;
                  }
                  function setDocMode(bToSource){
                      var oContent;
                      if(bToSource){
                          oContent = document.createTextNode(oDoc.innerHTML);
                          oDoc.innerHTML = "";
                          var oPre = document.createElement("pre");
                          oDoc.contentEditable = false;
                          oPre.id = "sourceText";
                          oPre.contentEditable = true;
                          oPre.appendChild(oContent);
                          oDoc.appendChild(oPre);
                          document.execCommand("defaultParagraphSeparator", false, "div");
                      }else{
                          if(document.all)
                              oDoc.innerHTML = oDoc.innerText;
                          else{
                              oContent = document.createRange();
                              oContent.selectNodeContents(oDoc.firstChild);
                              oDoc.innerHTML = oContent.toString();
                          }
                          oDoc.contentEditable = true;
                      }
                      oDoc.focus();
                  }
                  function printDoc(){
                      if(!validateMode())
                          return;
                      var oPrintWin = window.open("","_blank","width=450,height=450,left=400,top=100,menubar=yes,toolbar=no,scrollbars=yes");
                      oPrintWin.document.open();
                      oPrintWin.document.write("<!doctype html><html><head><title>打印<\/title><\/head><body onload='print();'>" + oDoc.innerHTML + "<\/body><\/html>");
                      oPrintWin.document.close();
                  }
              </script>
          </head>
          <body onload="initDoc()">
          <div id="editor">
          <form name="compForm" method="post" action="sample.php" onsubmit="if(validateMode()){this.myDoc.value=oDoc.innerHTML; return true;}return false;">
              <input type="hidden" name="myDoc">
              <div id="toolBar1">
                  <select onchange="formatDoc('formatblock',this[this.selectedIndex].value); this.selectedIndex=0;">
                      <option selected>-文本格式-</option>
                      <option value="h1">標題1 <h1></option>
                      <option value="h2">標題2 <h2></option>
                      <option value="h3">標題3 <h3></option>
                      <option value="h4">標題4 <h4></option>
                      <option value="h5">標題5 <h5></option>
                      <option value="h6">標題6 <h6></option>
                      <option value="p">段落 <p></option>
                      <option value="pre">預定義 <pre></option>
                  </select>
                  <select onchange="formatDoc('fontname', this[this.selectedIndex].value); this.selectedIndex=0;">
                      <option class="heading" selected>-字體-</option>
                      <option>Arial</option>
                      <option>Arial Black</option>
                      <option>Courier New</option>
                      <option>Times New Roman</option>
                  </select>
                  <select onchange="formatDoc('fontsize',this[this.selectedIndex].value); this.selectedIndex=0;">
                      <option class="heading" selected>-字號-</option>
                      <option value="1">非常小</option>
                      <option value="2">小</option>
                      <option value="3">正常</option>
                      <option value="4">中大</option>
                      <option value="5">大</option>
                      <option value="6">非常大</option>
                      <option value="7">最大</option>
                  </select>
                  <select onchange="formatDoc('forecolor',this[this.selectedIndex].value); this.selectedIndex=0;">
                      <option class="heading" selected>-顏色-</option>
                      <option value="red">Red</option>
                      <option value="blue">Blue</option>
                      <option value="green">Green</option>
                      <option value="black">Black</option>
                  </select>
                  <select onchange="formatDoc('backcolor',this[this.selectedIndex].value); this.selectedIndex=0;">
                      <option class="heading" selected>-背景顏色-</option>
                      <option value="red">Red</option>
                      <option value="blue">Blue</option>
                      <option value="green">Green</option>
                      <option value="black">Black</option>
                  </select>
              </div>
              <div id="toolBar2">
              <img class="intLink" src="icons/clean.gif" onclick="if(validateMode()&&confirm('確定清除所有嗎?')){oDoc.innerHTML = sDefTxt};" /> 
              <img class="intLink" src="icons/print.png" onclick="printDoc();" /> 
              <img class="intLink" src="icons/undo.gif" onclick="formatDoc('undo');" /> 
              <img class="intLink" src="icons/redo.gif" onclick="formatDoc('redo');" /> 
              <img class="intLink" src="icons/format.png" onclick="formatDoc('removeFormat');" /> 
              <img class="intLink" src="icons/bold.gif" onclick="formatDoc('bold')" /> 
              <img class="intLink" src="icons/italic.gif" onclick="formatDoc('italic')" /> 
              <img class="intLink" src="icons/underline.gif" onclick="formatDoc('underline')" /> 
              <img class="intLink" src="icons/justifyleft.gif" onclick="formatDoc('justifyleft')" /> 
              <img class="intLink" src="icons/justifycenter.gif" onclick="formatDoc('justifycenter')" /> 
              <img class="intLink" src="icons/justifyright.gif" onclick="formatDoc('justifyright')" /> 
              <img class="intLink" src="icons/numberedlist.gif" onclick="formatDoc('insertorderedlist')" /> 
              <img class="intLink" src="icons/dottedlist.gif" onclick="formatDoc('insertunorderedlist')" /> 
              <img class="intLink" src="icons/quote.gif" onclick="formatDoc('formatblock','blockquote')" /> 
              <img class="intLink" src="icons/outdent.gif" onclick="formatDoc('outdent')" /> 
              <img class="intLink" src="icons/indent.gif" onclick="formatDoc('indent')" /> 
              <img class="intLink" src="icons/hyperlink.gif" onclick="var sLnk=prompt('輸入鏈接地址','http:\/\/'); if(sLnk&&sLnk!=''&&sLnk!='http:\/\/'){formatDoc('createlink',sLnk);}" /> 
              <img class="intLink" src="icons/cut.gif" onclick="formatDoc('cut')" /> 
              <img class="intLink" src="icons/copy.gif" onclick="formatDoc('copy')" /> 
              <img class="intLink" src="icons/paste.gif" onclick="formatDoc('paste')" /> 
              </div>
              <div id="textBox" contenteditable="true"><p>富文本編輯器</p></div>
              <p id="editMode">
                  <input type="checkbox" name="switchMode" id="switchBox" onchange="setDocMode(this.checked);">
                  <label for="switchBox">顯示HTML</label>
              </p>
              <p><input type="submit" value="保存" /></p>
          </form>
          </div>
          </body>

          這些瀏覽器內置的編輯功能對用戶輸入少量的富文本來說,足夠使用了;但要解決所有種類的文檔的編輯來說,這些API還顯得不足;在實際開發(fā)中,一般采用的是第三方的類庫,比如百度UEditor和layui.layedit和Dojo,它們都包含了編輯器組件;

          享興趣,傳播快樂,增長見聞,留下美好!親愛的您,這里是LearningYard學苑。今天小編為大家?guī)怼霸捳f前端47-vue常用指令”,歡迎您的訪問。

          Share interests, spread happiness, increase knowledge, and leave good! Dear you, this is LearningYard Academy. Today's editor brings you "Tuesday Share (47) | Implementation Principles of Total Quality Management". Welcome to visit.

          指令是什么:Vue 指令是以 v- 開頭的,作用在 HTML 上將指令綁定在元素上時,會給綁定的元素添加一些特殊行為,可將指令視作 特殊的 HTML 屬性 attribute。指令的職責是: 當表達式的值改變時,將其產生的連帶影響,響應式地作用于 DOM。

          What is the instruction? Vue instruction starts with v-. When it acts on HTML to bind the instruction to an element, it will add some special behaviors to the bound element, and the instruction can be regarded as a special HTML attribute. The duty of the instruction is: when the value of the expression changes, it will affect the DOM responsively.

          插值指令之v-text?:v-text 通過設置元素的 textContent 屬性來工作,因此它將覆蓋元素中所有現(xiàn)有的內容。如果你需要更新 textContent 的部分,應該使用 mustache 代替。

          V-text of the interpolation instruction: V-text works by setting the textContent property of the element, so it will overwrite all existing contents in the element. If you need to update the part of textContent, you should use mustache instead.

          v-html:雙大括號會將數(shù)據(jù)解釋為普通文本,而非 HTML 代碼。為了輸出真正的 HTML,你需要使用 v-html 指令:v-html類似innerHTML。

          注意:在網(wǎng)站上動態(tài)渲染任意 HTML 是非常危險的,因為容易導致 XSS 攻擊。只在可信內容上使用 v-html,永不用在用戶提交的內容上。

          V-html: Double braces will interpret the data as normal text, not HTML code. In order to output real HTML, you need to use the v-html command: v-html is similar to innerHTML.

          Note: It is very dangerous to dynamically render arbitrary HTML on the website, because it will easily lead to XSS attacks. Use v-html only for trusted content, and never for content submitted by users.

          XXS 攻擊:XSS是Cross Site Scripting的簡稱(為了區(qū)分CSS因此成為XSS),跨站腳本攻擊。通過在留言板,評論,輸入框等用戶輸入的地方,前端僅進行html展示的地方。有些人利用這個特性,在輸入框中輸入一些惡意的腳本比如,通過這些腳本竊取網(wǎng)頁瀏覽中的cookie值、劫持網(wǎng)頁流量實現(xiàn)惡意跳轉。

          XXS attack: XSS is short for Cross Site Scripting (hence XSS for distinguishing CSS), and cross-site scripting attack. Through the message board, comments, input boxes and other places where users input, the front end only displays html. Some people use this feature to enter some malicious scripts in the input box, for example, stealing cookie values in web browsing and hijacking web traffic through these scripts to achieve malicious jumps.

          XSS預防?:1.?過濾script img a等標簽,包括過濾大小寫()、繞過利用過濾后的內容再次構成攻擊語句(<scrIPT>>)、繞過 img標簽的攻擊(<img src=‘....’/>)、a div等標簽添加觸發(fā)事件() 2.將一些特殊的關鍵字進行編碼后輸出,如alert(1)編碼過后就是\u0061\u006c\u0065\u0072\u0074(1) 3.限制輸入框長度。

          XSS prevention: 1. Filter scrIPT img a and other tags, including case filtering (), bypassing the filtered content to form attack statements again (< script > >), attacks bypassing the img tag (< img src =' ...'/>), adding trigger events to tags such as a div () 2. Encode some special keywords and output them, such as alert(1).

          今天的分享就到這里,如果您對今天的文章有獨到的見解,歡迎給我們留言,讓我們相約明天,祝您今天過得開心快樂!

          Today's share is over here, if you have unique views on today's article, welcome to leave a message for us, let us meet tomorrow, I wish you a happy and happy today!

          本文由learningyard新學苑原創(chuàng),如有侵權,請聯(lián)系我們

          翻譯來源:谷歌翻譯

          文案&排版|李仕陽

          審核|閆慶紅

          md命令大全

          開始→運行→CMD→鍵入以下命令即可:

          gpedit.msc-----組策略 sndrec32-------錄音機

          Nslookup-------IP地址偵測器 explorer-------打開資源管理器

          logoff---------注銷命令 tsshutdn-------60秒倒計時關機命令

          lusrmgr.msc----本機用戶和組 services.msc---本地服務設置

          oobe/msoobe /a----檢查XP是否激活 notepad--------打開記事本

          cleanmgr-------垃圾整理 net start messenger----開始信使服務

          compmgmt.msc---計算機管理 net stop messenger-----停止信使服務

          conf-----------啟動netmeeting dvdplay--------DVD播放器

          charmap--------啟動字符映射表 diskmgmt.msc---磁盤管理實用程序

          calc-----------啟動計算器 dfrg.msc-------磁盤碎片整理程序

          chkdsk.exe-----Chkdsk磁盤檢查 devmgmt.msc--- 設備管理器

          regsvr32 /u *.dll----停止dll文件運行 drwtsn32------ 系統(tǒng)醫(yī)生

          rononce -p ----15秒關機 dxdiag---------檢查DirectX信息

          regedt32-------注冊表編輯器 Msconfig.exe---系統(tǒng)配置實用程序

          rsop.msc-------組策略結果集 mem.exe--------顯示內存使用情況

          regedit.exe----注冊表 winchat--------XP自帶局域網(wǎng)聊天

          progman--------程序管理器 winmsd---------系統(tǒng)信息

          perfmon.msc----計算機性能監(jiān)測程序 winver---------檢查Windows版本

          sfc /scannow-----掃描錯誤并復原 winipcfg-------IP配置

          taskmgr-----任務管理器(2000/xp/2003) command--------cmd

          fsmgmt.msc 共享文件夾 netstat -an----查看端口

          osk 屏幕鍵盤 install.asp----修改注冊網(wǎng)頁

          eventvwr.msc 事件查看器

          secpol.msc 本地安全設置

          services.msc 服務

          2K

          accwiz.exe > 輔助工具向導

          acsetups.exe > acs setup dcom server executable

          actmovie.exe > 直接顯示安裝工具

          append.exe > 允許程序打開制定目錄中的數(shù)據(jù)

          arp.exe > 顯示和更改計算機的ip與硬件物理地址的對應列表

          at.exe > 計劃運行任務

          atmadm.exe > 調用管理器統(tǒng)計

          attrib.exe > 顯示和更改文件和文件夾屬性

          autochk.exe > 檢測修復文件系統(tǒng)

          autoconv.exe > 在啟動過程中自動轉化系統(tǒng)

          autofmt.exe > 在啟動過程中格式化進程

          autolfn.exe > 使用長文件名格式

          bootok.exe > boot acceptance application for registry

          bootvrfy.exe > 通報啟動成功

          cacls.exe > 顯示和編輯acl

          calc.exe > 計算器

          cdplayer.exe > cd播放器

          change.exe > 與終端服務器相關的查詢

          charmap.exe > 字符映射表

          chglogon.exe > 啟動或停用會話記錄

          chgport.exe > 改變端口(終端服務)

          chgusr.exe > 改變用戶(終端服務)

          chkdsk.exe > 磁盤檢測程序

          chkntfs.exe > 磁盤檢測程序

          cidaemon.exe > 組成ci文檔服務

          cipher.exe > 在ntfs上顯示或改變加密的文件或目錄

          cisvc.exe > 索引內容

          ckcnv.exe > 變換cookie

          cleanmgr.exe > 磁盤清理

          cliconfg.exe > sql客戶網(wǎng)絡工具

          clipbrd.exe > 剪貼簿查看器

          clipsrv.exe > 運行clipboard服務

          clspack.exe > 建立系統(tǒng)文件列表清單

          cluster.exe > 顯示域的集群

          _cmd_.exe > 沒什么好說的!

          cmdl32.exe > 自動下載連接管理

          cmmgr32.exe > 連接管理器

          cmmon32.exe > 連接管理器監(jiān)視

          cmstp.exe > 連接管理器配置文件安裝程序

          comclust.exe > 集群

          comp.exe > 比較兩個文件和文件集的內容*

          compact.exe > 顯示或改變ntfs分區(qū)上文件的壓縮狀態(tài)

          conime.exe > ime控制臺

          control.exe > 控制面板

          convert.exe > 轉換文件系統(tǒng)到ntfs

          convlog.exe > 轉換iis日志文件格式到ncsa格式

          cprofile.exe > 轉換顯示模式

          cscript.exe > 較本宿主版本

          csrss.exe > 客戶服務器runtime進程

          csvde.exe > 日至格式轉換程序

          dbgtrace.exe > 和terminal server相關

          dcomcnfg.exe > dcom配置屬性

          dcphelp.exe > ?

          dcpromo.exe > ad安裝向導

          ddeshare.exe > dde共享

          ddmprxy.exe >

          debug.exe > 就是debug啦!

          dfrgfat.exe > fat分區(qū)磁盤碎片整理程序

          dfrgntfs.exe > ntfs分區(qū)磁盤碎片整理程序

          dfs_cmd_.exe > 配置一個dfs樹

          dfsinit.exe > 分布式文件系統(tǒng)初始化

          dfssvc.exe > 分布式文件系統(tǒng)服務器

          diantz.exe > 制作cab文件

          diskperf.exe > 磁盤性能計數(shù)器

          dllhost.exe > 所有com+應用軟件的主進程

          dllhst3g.exe >

          dmadmin.exe > 磁盤管理服務

          dmremote.exe > 磁盤管理服務的一部分

          dns.exe > dns applications dns

          doskey.exe > 命令行創(chuàng)建宏

          dosx.exe > dos擴展

          dplaysvr.exe > 直接運行幫助

          drwatson.exe > 華生醫(yī)生錯誤檢測

          drwtsn32.exe > 華生醫(yī)生顯示和配置管理

          dtcsetup.exe > installs mdtc

          dvdplay.exe > dvd播放

          dxdiag.exe > direct-x診斷工具

          edlin.exe > 命令行的文本編輯器(歷史悠久啊!)

          edlin.exe > 命令行的文本編輯器(歷史悠久啊!)

          esentutl.exe > ms數(shù)據(jù)庫工具

          eudcedit.exe > type造字程序

          eventvwr.exe > 事件查看器

          evnt_cmd_.exe > event to trap translator; configuration tool

          evntwin.exe > event to trap translator setup

          exe2bin.exe > 轉換exe文件到二進制

          expand.exe > 解壓縮

          extrac32.exe > 解cab工具

          fastopen.exe > 快速訪問在內存中的硬盤文件

          faxcover.exe > 傳真封面編輯

          faxqueue.exe > 顯示傳真隊列

          faxsend.exe > 發(fā)送傳真向導

          faxsvc.exe > 啟動傳真服務

          fc.exe > 比較兩個文件的不同

          find.exe > 查找文件中的文本行

          findstr.exe > 查找文件中的行

          finger.exe > 一個用戶并顯示出統(tǒng)計結果

          fixmapi.exe > 修復mapi文件

          flattemp.exe > 允許或者禁用臨時文件目錄

          fontview.exe > 顯示字體文件中的字體

          forcedos.exe > forces a file to start in dos mode. 強制文件在dos模式下運行

          freecell.exe > popular windows game 空當接龍

          ftp.exe > file transfer protocol used to transfer files over a network conne

          ction 就是ftp了

          gdi.exe > graphic device interface 圖形界面驅動

          grovel.exe >

          grpconv.exe > program manager group convertor 轉換程序管理員組

          help.exe > displays help for windows 2000 commands 顯示幫助

          hostname.exe > display hostname for machine. 顯示機器的hostname

          ie4uinit.exe > ie5 user install tool ie5用戶安裝工具

          ieshwiz.exe > customize folder wizard 自定義文件夾向導

          iexpress.exe > create and setup packages for install 穿件安裝包

          iisreset.exe > restart iis admin service 重啟iis服務

          internat.exe > keyboard language indicator applet 鍵盤語言指示器

          ipconfig.exe > windows 2000 ip configuration. 察看ip配置

          ipsecmon.exe > ip security monitor ip安全監(jiān)視器

          ipxroute.exe > ipx routing and source routing control program ipx路由和源路由

          控制程序

          irftp.exe > setup ftp for wireless communication 無線連接

          ismserv.exe > intersite messaging service 安裝或者刪除service control manage

          r中的服務

          jdbgmgr.exe > microsoft debugger for java 4 java4的調試器

          jetconv.exe > convert a jet engine database 轉換jet engine數(shù)據(jù)庫

          jetpack.exe > compact jet database. 壓縮jet數(shù)據(jù)庫

          jview.exe > command-line loader for java java的命令行裝載者

          krnl386.exe > core component for windows 2000 2000的核心組件

          label.exe > change label for drives 改變驅動器的卷標

          lcwiz.exe > license compliance wizard for local or remote systems. 許可證符合

          向導

          ldifde.exe > ldif cmd line manager ldif目錄交換命令行管理

          licmgr.exe > terminal server license manager 終端服務許可協(xié)議管理

          lights.exe > display connection status lights 顯示連接狀況

          llsmgr.exe > windows 2000 license manager 2000許可協(xié)議管理

          llssrv.exe > start the license server 啟動許可協(xié)議服務器

          lnkstub.exe >

          locator.exe > rpc locator 遠程定位

          lodctr.exe > load perfmon counters 調用性能計數(shù)

          logoff.exe > log current user off. 注銷用戶

          lpq.exe > displays status of a remote lpd queue 顯示遠端的lpd打印隊列的狀態(tài),

          顯示被送到基于unix的服務器的打印任務

          lpr.exe > send a print job to a network printer. 重定向打印任務到網(wǎng)絡中的打印

          機。通常用于unix客戶打印機將打印任務發(fā)送給連接了打印設備的nt的打印機服務器。

          lsass.exe > lsa executable and server dll 運行l(wèi)sa和server的dll

          lserver.exe > specifies the new dns domain for the default server 指定默認se

          rver新的dns域

          os2.exe > an os/2 warp server (os2 /o) os/2

          os2srv.exe > an os/2 warp server os/2

          os2ss.exe > an os/2 warp server os/2

          osk.exe > on screen keyboard 屏幕鍵盤

          packager.exe > windows 2000 packager manager 對象包裝程序

          pathping.exe > combination of ping and tracert 包含ping和tracert的程序

          pax.exe > is a posix program and path names used as arguments must be specif

          ied in posix format. use "http://c/users/default" instead of "c:usersdefault."

          啟動便攜式存檔互換 (pax) 實用程序

          pentnt.exe > used to check the pentium for the floating point division error

          . 檢查pentium的浮點錯誤

          perfmon.exe > starts windows performance monitor 性能監(jiān)視器

          ping.exe > packet internet groper 驗證與遠程計算機的連接

          posix.exe > used for backward compatibility with unix 用于兼容unix

          print.exe > cmd line used to print files 打印文本文件或顯示打印隊列的內容。

          progman.exe > program manager 程序管理器

          proquota.exe > profile quota program

          psxss.exe > posix subsystem application posix子系統(tǒng)應用程序

          qappsrv.exe > displays the available application terminal servers on the net

          work

          在網(wǎng)絡上顯示終端服務器可用的程序

          qprocess.exe > display information about processes local or remote 在本地或遠

          程顯示進程的信息(需終端服務)

          query.exe > query termserver user process and sessions 查詢進程和對話

          quser.exe > display information about a user logged on 顯示用戶登陸的信息(需

          終端服務)

          qwinsta.exe > display information about terminal sessions. 顯示終端服務的信息

          rasadmin.exe > start the remote access admin service 啟動遠程訪問服務

          rasautou.exe > creates a ras connection 建立一個ras連接

          rasdial.exe > dial a connection 撥號連接

          ras.exe > starts a ras connection 運行ras連接

          rcp.exe > copies a file from and to a rcp service. 在 windows 2000 計算機和運

          行遠程外殼端口監(jiān)控程序 rshd 的系統(tǒng)之間復制文件

          rdpclip.exe > rdpclip allows you to copy and paste files between a terminal

          session and client console session. 再終端和本地復制和粘貼文件

          recover.exe > recovers readable information from a bad or defective disk 從壞

          的或有缺陷的磁盤中恢復可讀取的信息。

          redir.exe > starts the redirector service 運行重定向服務

          regedt32.exe > 32-bit register service 32位注冊服務

          regini.exe > modify registry permissions from within a script 用腳本修改注冊

          許可

          register.exe > register a program so it can have special execution character

          istics. 注冊包含特殊運行字符的程序

          regsvc.exe >

          regsvr32.exe > registers and unregister's dll's. as to how and where it regi

          ster's them i dont know. 注冊和反注冊dll

          regtrace.exe > options to tune debug options for applications failing to dum

          p trace statements

          trace 設置

          regwiz.exe > registration wizard 注冊向導

          remrras.exe >

          replace.exe > replace files 用源目錄中的同名文件替換目標目錄中的文件。

          reset.exe > reset an active section 重置活動部分

          rexec.exe > runs commands on remote hosts running the rexec service. 在運行

          rexec 服務的遠程計算機上運行命令。rexec 命令在執(zhí)行指定命令前,驗證遠程計算機

          上的用戶名,只有安裝了 tcp/ip 協(xié)議后才可以使用該命令。

          risetup.exe > starts the remote installation service wizard. 運行遠程安裝向導

          服務

          route.exe > display or edit the current routing tables. 控制網(wǎng)絡路由表

          routemon.exe > no longer supported 不再支持了!

          router.exe > router software that runs either on a dedicated dos or on an os

          . 檢查pentium的浮點錯誤

          perfmon.exe > starts windows performance monitor 性能監(jiān)視器

          ping.exe > packet internet groper 驗證與遠程計算機的連接

          posix.exe > used for backward compatibility with unix 用于兼容unix

          print.exe > cmd line used to print files 打印文本文件或顯示打印隊列的內容。

          progman.exe > program manager 程序管理器

          proquota.exe > profile quota program

          psxss.exe > posix subsystem application posix子系統(tǒng)應用程序

          qappsrv.exe > displays the available application terminal servers on the net

          work

          在網(wǎng)絡上顯示終端服務器可用的程序

          qprocess.exe > display information about processes local or remote 在本地或遠

          程顯示進程的信息(需終端服務)

          query.exe > query termserver user process and sessions 查詢進程和對話

          quser.exe > display information about a user logged on 顯示用戶登陸的信息(需

          終端服務)

          qwinsta.exe > display information about terminal sessions. 顯示終端服務的信息

          rasadmin.exe > start the remote access admin service 啟動遠程訪問服務

          rasautou.exe > creates a ras connection 建立一個ras連接

          rasdial.exe > dial a connection 撥號連接

          ras.exe > starts a ras connection 運行ras連接

          rcp.exe > copies a file from and to a rcp service. 在 windows 2000 計算機和運

          行遠程外殼端口監(jiān)控程序 rshd 的系統(tǒng)之間復制文件

          rdpclip.exe > rdpclip allows you to copy and paste files between a terminal

          session and client console session. 再終端和本地復制和粘貼文件

          recover.exe > recovers readable information from a bad or defective disk 從壞

          的或有缺陷的磁盤中恢復可讀取的信息。

          redir.exe > starts the redirector service 運行重定向服務

          regedt32.exe > 32-bit register service 32位注冊服務

          regini.exe > modify registry permissions from within a script 用腳本修改注冊

          許可

          register.exe > register a program so it can have special execution character

          istics. 注冊包含特殊運行字符的程序

          regsvc.exe >

          regsvr32.exe > registers and unregister's dll's. as to how and where it regi

          ster's them i dont know. 注冊和反注冊dll

          regtrace.exe > options to tune debug options for applications failing to dum

          p trace statements

          trace 設置

          regwiz.exe > registration wizard 注冊向導

          remrras.exe >

          replace.exe > replace files 用源目錄中的同名文件替換目標目錄中的文件。

          reset.exe > reset an active section 重置活動部分

          rexec.exe > runs commands on remote hosts running the rexec service. 在運行

          rexec 服務的遠程計算機上運行命令。rexec 命令在執(zhí)行指定命令前,驗證遠程計算機

          上的用戶名,只有安裝了 tcp/ip 協(xié)議后才可以使用該命令。

          risetup.exe > starts the remote installation service wizard. 運行遠程安裝向導

          服務

          route.exe > display or edit the current routing tables. 控制網(wǎng)絡路由表

          routemon.exe > no longer supported 不再支持了!

          router.exe > router software that runs either on a dedicated dos or on an os

          /2 system. route軟件在 dos或者是os/2系統(tǒng)

          rsh.exe > runs commands on remote hosts running the rsh service 在運行 rsh 服

          務的遠程計算機上運行命令

          rsm.exe > mounts and configures remote system media 配置遠程系統(tǒng)媒體

          rsnotify.exe > remote storage notification recall 遠程存儲通知回顯

          rsvp.exe > resource reservation protocol 源預約協(xié)議

          runas.exe > run a program as another user 允許用戶用其他權限運行指定的工具和

          程序

          rundll32.exe > launches a 32-bit dll program 啟動32位dll程序

          runonce.exe > causes a program to run during startup 運行程序再開始菜單中

          rwinsta.exe > reset the session subsystem hardware and software to known ini

          tial values 重置會話子系統(tǒng)硬件和軟件到最初的值

          savedump.exe > does not write to e:winntuser.dmp 不寫入user.dmp中

          scardsvr.exe > smart card resource management server 子能卡資源管理服務器

          schupgr.exe > it will read the schema update files (.ldf files) and upgrade

          the schema. (part of adsi) 讀取計劃更新文件和更新計劃

          secedit.exe > starts security editor help 自動安全性配置管理

          services.exe > controls all the services 控制所有服務

          sethc.exe > set high contrast - changes colours and display mode logoff to s

          et it back to normal 設置高對比

          setreg.exe > shows the software publishing state key values 顯示軟件發(fā)布的國

          家語言

          setup.exe > gui box prompts you to goto control panel to configure system co

          mponents 安裝程序(轉到控制面板)

          setver.exe > set version for files 設置 ms-dos 子系統(tǒng)向程序報告的 ms-dos 版本

          sfc.exe > system file checker test and check system files for integrity 系統(tǒng)

          文件檢查

          sfmprint.exe > print services for macintosh 打印macintosh服務

          sfmpsexe.exe >

          sfmsvc.exe >

          shadow.exe > monitor another terminal services session. 監(jiān)控另外一臺中端服務

          器會話

          share.exe > windows 2000 和 ms-dos 子系統(tǒng)不使用該命令。接受該命令只是為了與

          ms-dos 文件兼容

          shmgrate.exe >

          shrpubw.exe > create and share folders 建立和共享文件夾

          sigverif.exe > file signature verification 文件簽名驗證

          skeys.exe > serial keys utility 序列號制作工具

          smlogsvc.exe > performance logs and alerts 性能日志和警報

          smss.exe >

          sndrec32.exe > starts the windows sound recorder 錄音機

          sndvol32.exe > display the current volume information 顯示聲音控制信息

          snmp.exe > simple network management protocol used for network mangement 簡單

          網(wǎng)絡管理協(xié)議

          snmptrap.exe > utility used with snmp snmp工具

          sol.exe > windows solitaire game 紙牌

          sort.exe > compares files and folders 讀取輸入、排序數(shù)據(jù)并將結果寫到屏幕、文

          件和其他設備上

          SPOOLSV.EXE > Part of the spooler service for printing 打印池服務的一部分

          sprestrt.exe >

          srvmgr.exe > Starts the Windows Server Manager 服務器管理器

          stimon.exe > WDM StillImage- > Monitor

          stisvc.exe > WDM StillImage- > Service

          subst.exe > Associates a path with a drive letter 將路徑與驅動器盤符關聯(lián)

          svchost.exe > Svchost.exe is a generic host process name for services that a

          re run from dynamic-link libraries (DLLs). DLL得主進程

          syncapp.exe > Creates Windows Briefcase. 創(chuàng)建Windows文件包

          sysedit.exe > Opens Editor for 4 system files 系統(tǒng)配置編輯器

          syskey.exe > Encrypt and secure system database NT賬號數(shù)據(jù)庫按群工具

          sysocmgr.exe > Windows 2000 Setup 2000安裝程序

          systray.exe > Starts the systray in the lower right corner. 在低權限運行syst

          ray

          macfile.exe > Used for managing MACFILES 管理MACFILES

          magnify.exe > Used to magnify the current screen 放大鏡

          makecab.exe > MS Cabinet Maker 制作CAB文件

          mdm.exe > Machine Debug Manager 機器調試管理

          mem.exe > Display current Memory stats 顯示內存狀態(tài)

          migpwd.exe > Migrate passwords. 遷移密碼

          mmc.exe > Microsoft Management Console 控制臺

          mnmsrvc.exe > Netmeeting Remote Desktop Sharing NetMeeting遠程桌面共享

          mobsync.exe > Manage Synchronization. 同步目錄管理器

          mountvol.exe > Creates, deletes, or lists a volume mount point. 創(chuàng)建、刪除或

          列出卷的裝入點。

          mplay32.exe > MS Media Player 媒體播放器

          mpnotify.exe > Multiple Provider Notification application 多提供者通知應用程

          mq1sync.exe >

          mqbkup.exe > MS Message Queue Backup and Restore Utility 信息隊列備份和恢復工

          mqexchng.exe > MSMQ Exchange Connector Setup 信息隊列交換連接設置

          mqmig.exe > MSMQ Migration Utility 信息隊列遷移工具

          mqsvc.exe > ?

          mrinfo.exe > Multicast routing using SNMP 使用SNMP多點傳送路由

          mscdexnt.exe > Installs MSCD (MS CD Extensions) 安裝MSCD

          msdtc.exe > Dynamic Transaction Controller Console 動態(tài)事務處理控制臺

          msg.exe > Send a message to a user local or remote. 發(fā)送消息到本地或遠程客戶

          mshta.exe > HTML Application HOST HTML應用程序主機

          msiexec.exe > Starts Windows Installer Program 開始Windows安裝程序

          mspaint.exe > Microsoft Paint 畫板

          msswchx.exe >

          mstask.exe > Task Schedule Program 任務計劃表程序

          mstinit.exe > Task scheduler setup 任務計劃表安裝

          narrator.exe > Program will allow you to have a narrator for reading. Micros

          oft講述人

          nbtstat.exe > Displays protocol stats and current TCP/IP connections using N

          BT 使用 NBT(TCP/IP 上的 NetBIOS)顯示協(xié)議統(tǒng)計和當前 TCP/IP 連接。

          nddeapir.exe > NDDE API Server side NDDE API服務器端

          net.exe > Net Utility 詳細用法看/?

          net1.exe > Net Utility updated version from MS Net的升級版

          netdde.exe > Network DDE will install itself into the background 安裝自己到后

          netsh.exe > Creates a shell for network information 用于配置和監(jiān)控 Windows 2

          000 命令行腳本接口。

          netstat.exe > Displays current connections. 顯示協(xié)議統(tǒng)計和當前的 TCP/IP 網(wǎng)絡

          連接。

          nlsfunc.exe > Loads country-specific information 加載特定國家(地區(qū))的信息。

          Windows 2000 和 MS-DOS 子系統(tǒng)不使用該命令。接受該命令只是為了與 MS-DOS 文件兼

          容。

          notepad.exe > Opens Windows 2000 Notepad 記事本

          nslookup.exe > Displays information for DNS 該診斷工具顯示來自域名系統(tǒng) (DNS)

          名稱服務器的信息。

          ntbackup.exe > Opens the NT Backup Utility 備份和故障修復工具

          ntbooks.exe > Starts Windows Help Utility 幫助

          ntdsutil.exe > Performs DB maintenance of the ADSI 完成ADSI的DB的維護

          ntfrs.exe > NT File Replication Service NT文件復制服務

          ntfrsupg.exe >

          ntkrnlpa.exe > Kernel patch 核心補丁

          ntoskrnl.exe > Core NT Kernel KT的核心

          ntsd.exe >

          ntvdm.exe > Simulates a 16-bit Windows environment 模擬16位Windows環(huán)境

          nw16.exe > Netware Redirector NetWare轉向器

          nwscript.exe > runs netware scripts 運行Netware腳本

          odbcad32.exe > ODBC 32-bit Administrator 32位ODBC管理

          odbcconf.exe > Configure ODBC driver's and data source's from command line 命

          令行配置ODBC驅動和數(shù)據(jù)源

          taskman.exe > Task Manager 任務管理器

          taskmgr.exe > Starts the Windows 2000 Task Manager 任務管理器

          tcmsetup.exe > telephony client wizard 電話服務客戶安裝

          tcpsvcs.exe > TCP Services TCP服務

          .exe > Telnet Utility used to connect to Telnet Server

          termsrv.exe > Terminal Server 終端服務

          tftp.exe > Trivial FTP 將文件傳輸?shù)秸谶\行 TFTP 服務的遠程計算機或從正在運行

          TFTP 服務的遠程計算機傳輸文件

          tftpd.exe > Trivial FTP Daemon

          themes.exe > Change Windows Themes 桌面主題

          tlntadmn.exe > Telnet Server Administrator Telnet服務管理

          tlntsess.exe > Display the current Telnet Sessions 顯示目前的Telnet會話

          tlntsvr.exe > Start the Telnet Server 開始Telnet服務

          tracert.exe > Trace a route to display paths 該診斷實用程序將包含不同生存時間

          (TTL) 值的 Internet 控制消息協(xié)議 (ICMP) 回顯數(shù)據(jù)包發(fā)送到目標,以決定到達目標

          采用的路由

          tsadmin.exe > Terminal Server Administrator 終端服務管理器

          tscon.exe > Attaches a user session to a terminal session. 粘貼用戶會話到終端

          對話

          tsdiscon.exe > Disconnect a user from a terminal session 斷開終端服務的用戶

          tskill.exe > Kill a Terminal server process 殺掉終端服務

          tsprof.exe > Used with Terminal Server to query results. 用終端服務得出查詢結

          tsshutdn.exe > Shutdown the system 關閉系統(tǒng)

          unlodctr.exe > Part of performance monitoring 性能監(jiān)視器的一部分

          upg351db.exe > Upgrade a jet database 升級Jet數(shù)據(jù)庫

          ups.exe > UPS service UPS服務

          user.exe > Core Windows Service Windows核心服務

          userinit.exe > Part of the winlogon process Winlogon進程的一部分

          usrmgr.exe > Start the windows user manager for domains 域用戶管理器

          utilman.exe > This tool enables an administrator to designate which computers automatically open accessibility tools when Windows 2000 starts. 指定2000啟動時自動打開那臺機器

          verifier.exe > Driver Verifier Manager Driver Verifier Manager

          vwipxspx.exe > Loads IPX/SPX VDM 調用IPX/SPX VDM

          w32tm.exe > Windows Time Server 時間服務器

          wextract.exe > Used to extract windows files 解壓縮Windows文件

          winchat.exe > Opens Windows Chat 打開Windows聊天

          winhlp32.exe > Starts the Windows Help System 運行幫助系統(tǒng)

          winlogon.exe > Used as part of the logon process. Logon進程的一部分

          winmine.exe > windows Game 挖地雷

          winmsd.exe > Windows Diagnostic utility 系統(tǒng)信息

          wins.exe > Wins Service Wins服務

          winspool.exe > Print Routing 打印路由

          winver.exe > Displays the current version of Windows 顯示W(wǎng)indows版本

          wizmgr.exe > Starts Windows Administration Wizards Windows管理向導

          wjview.exe > Command line loader for Java 命令行調用Java

          wowdeb.exe > . For starters, the 32-bit APIs require that the WOWDEB.EXE tas

          k runs in the target debugee's VM 啟動時,32位API需要

          wowexec.exe > For running Windows over Windows Applications 在Windows應用程序

          上運行Windows

          wpnpinst.exe > ?

          write.exe > Starts MS Write Program 寫字板

          wscript.exe > Windows Scripting Utility 腳本工具

          wupdmgr.exe > Starts the Windows update Wizard (Internet) 運行Windows升級向導

          xcopy.exe > 復制文件和目錄,包括子目錄


          主站蜘蛛池模板: 国精产品一区一区三区有限在线| 一区二区三区视频免费观看| 久久久综合亚洲色一区二区三区| 女人和拘做受全程看视频日本综合a一区二区视频| 精品国产免费一区二区三区香蕉| 三上悠亚一区二区观看| 国产视频一区二区在线播放| 偷拍激情视频一区二区三区| 国产精品亚洲一区二区无码| 高清一区高清二区视频| 男女久久久国产一区二区三区| 日韩一区二区三区四区不卡| 国产成人精品久久一区二区三区av | 中文字幕AV一区二区三区人妻少妇 | 亚洲AV噜噜一区二区三区| 日韩精品一区二区三区中文版| 国产一区二区三区在线观看免费| 国产精久久一区二区三区| 一区二区三区国产精品| 国产SUV精品一区二区四| 免费播放一区二区三区| 久久亚洲国产精品一区二区| 精品人妻一区二区三区毛片| 精品视频一区在线观看| 日本中文字幕一区二区有码在线| 丰满人妻一区二区三区视频| 精品视频一区二区| 日本精品视频一区二区三区| 激情久久av一区av二区av三区| 亚洲综合无码一区二区痴汉| 国产精品一区在线播放| 无码人妻精品一区二区蜜桃百度| 精品国产高清自在线一区二区三区| 中文字幕一区一区三区| 国产成人精品久久一区二区三区av| 一级毛片完整版免费播放一区| 国产在线观看一区二区三区四区 | 亚洲成AV人片一区二区| 红桃AV一区二区三区在线无码AV | 久久蜜桃精品一区二区三区| 亚洲另类无码一区二区三区|