ootuoyetahi Posted July 19, 2018 Share Posted July 19, 2018 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" =&amp;gt; getallheaders(), "server" =&amp;gt; $_SERVER, "request" =&amp;gt; $_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;gt;" are the strings with the issues, but I cant quite figure out how to resolve it. Thanks! Quote Link to comment Share on other sites More sharing options...
i8igmac Posted July 19, 2018 Share Posted July 19, 2018 Arr("Stuff", "more stuff", "and more") Get sublime text editor and set php syntax hilighting Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.