Web - Serveur
Web - Serveur -Xpath Blind Injection
Bonjour,
Je suis bloque sur le challenge XPath Blind injection. Je pense ne pas trop etre loin du but, mais pouvais-vous me dire si il est normale que j’obtiens cette erreur lorsque j’essaye d’utiliser codepoints-to-strings ?
"Warning : SimpleXMLElement::xpath() : xmlXPathCompOpEval : function codepoints-to-string not found in /challenge/web-serveur/ch24/index.php on line 38 Warning : SimpleXMLElement::xpath() : Unregistered function in /challenge/web-serveur/ch24/index.php on line 38 Warning : SimpleXMLElement::xpath() : Stack usage errror in /challenge/web-serveur/ch24/index.php on line 38 Warning : SimpleXMLElement::xpath() : xmlXPathEval : 1 object left on the stack in /challenge/web-serveur/ch24/index.php on line 38 "
Ne peut-on pas utiliser la fonction codepoints-to-string() ?
Merci.
Web - Serveur -Xpath Blind Injection
Salut,
Cette fonction a été introduite dans XPath 2.0, je te laisse déduire quelle version de XPath est utilisée pour le chall 😉
Pour info, la documentation XPath :
XPath 1.0 - section Core library : https://www.w3.org/TR/xpath/#corelib
XPath 2.0 Functions and Operators : https://www.w3.org/TR/xquery-operators/
XPath and XQuery Functions and Operators 3.1 : https://www.w3.org/TR/xpath-functions-3/