前回はPostgreSQLを例に、 データベースシステムでXPathがどのように利用できるか解説しました。PHP本体にもXML機能が組み込まれています。今回はPHP本体のXML機能を使ってXPathの利用方法を解説します。XPathインジェクションの解説は次回行います。今しばらく ...
新しいシステムや規格が登場した場合、 そのシステムや規格の仕様を理解してから使わないとセキュリティ上の問題が発生します。何も考えないで 「動くだけ」 のコードを書いても問題ない場合もありますが、 多くの場合、 規格や仕様を理解していない ...
関数でできること IMPORTXML関数とIMPORTHTML関数は、Webページから直接データを取り込むための関数です。 手動でコピペしていた作業が、関数1つで自動化できます。 IMPORTXML/IMPORTHTMLの書き方(構文) =IMPORTXML(URL, XPathクエリ) =IMPORTHTML(URL, クエリ, インデックス) ...
Abstract: The XPath language is based on a tree representation of the XML document, and provides the ability to navigate around the tree, selecting nodes by a variety of criteria. Here an optimization ...
Abstract: Contemporary XPath query engines evaluate queries in time exponential in the sizes of input queries, a fact that has gone unnoticed for a long time. Recently, the first main-memory ...
XPathインジェクション攻撃は、WebアプリケーションがXMLデータベースに対してユーザー入力に基づくXPathクエリを実行する際に発生する脆弱性です。攻撃者は、ユーザー入力に悪意のあるXPathクエリを含めることで、データベースから意図しない情報を取得し ...
Have you ever wished there was a query language for sifting, filtering, and sorting deeply-nested JSON or Js objects to find exactly the values you're looking for? That language already exists, and it ...
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する