Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Module: Sharpcradle - Execute .NET assembly from URL in memory #112

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
4 changes: 2 additions & 2 deletions core/teamserver/modules/boo/execute-assembly.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,12 @@ def payload(self):
elif self.options['Remote-Assemebly']['Value']:
with open('core/teamserver/modules/boo/src/remote-assembly.boo', 'r') as module_src:
src = module_src.read()
src = src.replace('BINARY', str(self.options['RemoteAssemebly']['Value']))
src = src.replace('BINARY', str(self.options['Remote-Assemebly']['Value']))
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assembly* - got an extraneous "e" there

src = src.replace('ASSEMBLY_ARGS', str(self.options['Arguments']['Value']))
return src

elif self.options['Remote-Project']['Value']:
with open('core/teamserver/modules/boo/src/remote-project.boo', 'r') as module_src:
src = module_src.read()
src = src.replace('PROJECT', str(self.options['RemoteProject']['Value']))
src = src.replace('PROJECT', str(self.options['Remote-Project']['Value']))
return src