Beispiel #1
0
 /**
  * Automatically setting up a Reporter
  * XssPentester constructor.
  *
  * @param MisdGuzzleBundle $guzzle A guzzle client
  * @param EntityManager $em
  */
 public function __construct($guzzle, EntityManager $em)
 {
     $this->_guzzle = $guzzle;
     $this->_em = $em;
     parent::__construct($guzzle);
     $this->_reporter = new Reporter("xss");
 }
Beispiel #2
0
 /**
  * Automatically setting up a Reporter
  * FuzzPentester constructor.
  *
  * @param MisdGuzzleBundle $guzzle A guzzle client
  * @param EntityManager $em
  */
 public function __construct($guzzle, EntityManager $em, EasyCredentials $ec)
 {
     parent::__construct($guzzle);
     $this->_em = $em;
     $this->_reporter = new Reporter("fuzz");
     $this->_easycredentials = $ec;
 }