websecurity@lists.webappsec.org

The Web Security Mailing List

View all threads

Error with installing beef php version?

K
Kylah
Wed, Jan 9, 2013 3:56 AM

I am trying to install the PHP version of BEEF and I've pretty much done
everything I was supposed to. So when I go to the beef installation page on my
server which is localhost/beef I get this error:

array("min_range"=>0, "max_range"=>65535)); return filter_var($port,
FILTER_VALIDATE_INT, $int_options); } function valid_url($url) { if(
preg_match("/../", $url) ) return FALSE; if( ! preg_match("/^[a-zA-Z0-
9._:/]*$/", $url) ) return FALSE; return filter_var($url, FILTER_VALIDATE_URL,
FILTER_FLAG_SCHEME_REQUIRED); } function valid_url_without_query($url) {
if(filter_var($url, FILTER_FLAG_QUERY_REQUIRED)) return FALSE; return
valid_url($url); } ?>

Fatal error: Call to undefined function valid_url_without_query() in
C:\xampp\htdocs\beef\index.php on line 40

They've basically shown me what was in index.php and where the error was but I
have no idea how to fix the error. Anyone have any ideas?

I am trying to install the PHP version of BEEF and I've pretty much done everything I was supposed to. So when I go to the beef installation page on my server which is localhost/beef I get this error: array("min_range"=>0, "max_range"=>65535)); return filter_var($port, FILTER_VALIDATE_INT, $int_options); } function valid_url($url) { if( preg_match("/\.\./", $url) ) return FALSE; if( ! preg_match("/^[a-zA-Z0- 9\._:\/]*$/", $url) ) return FALSE; return filter_var($url, FILTER_VALIDATE_URL, FILTER_FLAG_SCHEME_REQUIRED); } function valid_url_without_query($url) { if(filter_var($url, FILTER_FLAG_QUERY_REQUIRED)) return FALSE; return valid_url($url); } ?> Fatal error: Call to undefined function valid_url_without_query() in C:\xampp\htdocs\beef\index.php on line 40 They've basically shown me what was in index.php and where the error was but I have no idea how to fix the error. Anyone have any ideas?
CF
Christian Frichot
Wed, Jan 9, 2013 4:03 AM

Hi Kylah,

Unfortunately the PHP version of BeEF has been discontinued for quite
sometime so fixing this issue might not occur anytime soon (if ever?).

Regardless, you can try and shoot off this query to the beef issue tracker
or mailing list (visit beefproject.com).

Cheers,

Christian

On Wed, Jan 9, 2013 at 11:56 AM, Kylah krystal_klass.kyky@yahoo.com wrote:

I am trying to install the PHP version of BEEF and I've pretty much done
everything I was supposed to. So when I go to the beef installation page
on my
server which is localhost/beef I get this error:

array("min_range"=>0, "max_range"=>65535)); return filter_var($port,
FILTER_VALIDATE_INT, $int_options); } function valid_url($url) { if(
preg_match("/../", $url) ) return FALSE; if( ! preg_match("/^[a-zA-Z0-
9._:/]*$/", $url) ) return FALSE; return filter_var($url,
FILTER_VALIDATE_URL,
FILTER_FLAG_SCHEME_REQUIRED); } function valid_url_without_query($url) {
if(filter_var($url, FILTER_FLAG_QUERY_REQUIRED)) return FALSE; return
valid_url($url); } ?>

Fatal error: Call to undefined function valid_url_without_query() in
C:\xampp\htdocs\beef\index.php on line 40

They've basically shown me what was in index.php and where the error was
but I
have no idea how to fix the error. Anyone have any ideas?


The Web Security Mailing List

WebSecurity RSS Feed
http://www.webappsec.org/rss/websecurity.rss

Join WASC on LinkedIn http://www.linkedin.com/e/gis/83336/4B20E4374DBA

WASC on Twitter
http://twitter.com/wascupdates

websecurity@lists.webappsec.org
http://lists.webappsec.org/mailman/listinfo/websecurity_lists.webappsec.org

Hi Kylah, Unfortunately the PHP version of BeEF has been discontinued for quite sometime so fixing this issue might not occur anytime soon (if ever?). Regardless, you can try and shoot off this query to the beef issue tracker or mailing list (visit beefproject.com). Cheers, Christian On Wed, Jan 9, 2013 at 11:56 AM, Kylah <krystal_klass.kyky@yahoo.com> wrote: > I am trying to install the PHP version of BEEF and I've pretty much done > everything I was supposed to. So when I go to the beef installation page > on my > server which is localhost/beef I get this error: > > array("min_range"=>0, "max_range"=>65535)); return filter_var($port, > FILTER_VALIDATE_INT, $int_options); } function valid_url($url) { if( > preg_match("/\.\./", $url) ) return FALSE; if( ! preg_match("/^[a-zA-Z0- > 9\._:\/]*$/", $url) ) return FALSE; return filter_var($url, > FILTER_VALIDATE_URL, > FILTER_FLAG_SCHEME_REQUIRED); } function valid_url_without_query($url) { > if(filter_var($url, FILTER_FLAG_QUERY_REQUIRED)) return FALSE; return > valid_url($url); } ?> > > Fatal error: Call to undefined function valid_url_without_query() in > C:\xampp\htdocs\beef\index.php on line 40 > > > They've basically shown me what was in index.php and where the error was > but I > have no idea how to fix the error. Anyone have any ideas? > > > _______________________________________________ > The Web Security Mailing List > > WebSecurity RSS Feed > http://www.webappsec.org/rss/websecurity.rss > > Join WASC on LinkedIn http://www.linkedin.com/e/gis/83336/4B20E4374DBA > > WASC on Twitter > http://twitter.com/wascupdates > > websecurity@lists.webappsec.org > http://lists.webappsec.org/mailman/listinfo/websecurity_lists.webappsec.org >