public bool demmareAnalyseFast(string url) { checked { string url_racine = url.Split('?')[0]; HttpRequete hr = new HttpRequete(); chaine ch = new chaine(); _param = ch.analyseParam(url); for (int i = 0; i < _param.Count; i++) { string url_c = url_racine + ch.genParamParIndex(_param, 0, i + 1) + sqli + ch.genParamParIndex(_param, i + 1, _param.Count); string page = hr.get(url_c); if (verifPage(page)) { return(true); } } return(false); } }
public bool demmareAnalyseAvanced(string url) { checked { string url_racine = url.Split('?')[0]; HttpRequete hr = new HttpRequete(); chaine ch = new chaine(); _param = ch.analyseParam(url); string param_curr = baseI.Replace(var_n, baseF.Replace(var_n, ch.getHex(separateur) + "," + ch.getHex(testSTR) + "," + ch.getHex(separateur))); for (int i = 0; i < _param.Count; i++) { string url_c = url_racine + ch.ViderDernierParam(ch.genParamParIndex(_param, 0, i + 1)) + ch.Encode(param_curr) + ch.genParamParIndex(_param, i + 1, _param.Count); string page = hr.get(url_c); if (verifPageAdvenced(page)) { return(true); } } return(false); } }