Web - Serveur

jeudi 18 janvier 2018, 00:42  #1
Web - Serveur -Xpath Blind Injection
Liftu
  • 4 posts

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.

samedi 20 janvier 2018, 01:50  #2
Web - Serveur -Xpath Blind Injection
jrrdev
  • 4 posts

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/

samedi 20 janvier 2018, 12:58  #3
Web - Serveur -Xpath Blind Injection
Liftu
  • 4 posts

Je te remercie pour l’info  🙂