Jump to content

ootuoyetahi

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by ootuoyetahi

  1. So I know this is not a Ducky issue but I am hoping I can get a little help from some of the more experienced programmers here.

    I am trying to get the Security Awareness PHP code working Darren and team demonstrated at AUScert last year.

    https://hakshop.com/blogs/news/what-is-the-best-security-awareness-payload-for-the-rubber-ducky

    The line I am having issue with:

    $data = json_encode(array("headers" => getallheaders(), "server" => $_SERVER, "request" => $_REQUEST));

    I am getting the following error in the /var/log/apache2/error.log

    Quote

    PHP Parse error: syntax error, unexpected '=', expecting ')' in <path to html file>

    I am assuming the "=&amp;amp;gt;" are the strings with the issues, but I cant quite figure out how to resolve it.

     

    Thanks!

×
×
  • Create New...