Esempio n. 1
0
 public function stepBrut($form)
 {
     $Curl = $this->Curl;
     $Curl->host = $this->host;
     $Curl->cookies = $this->cookies;
     $Curl->referer = $this->form_url;
     $Curl->submitform($this->form_url, $form);
     $Curl->setcookies();
     $this->setCookies($Curl->cookies);
     $FormParser = new FormParser();
     if ($FormParser->Parsing($Curl->resultsform)) {
         $form = $FormParser->Parsing($Curl->resultsform);
         $form['eeee'] = 444;
         $this->setForm($form);
     }
     $this->html = $Curl->results;
     $this->headers = array_map('trim', $Curl->headers);
     $this->response_code = trim($Curl->response_code);
 }