SharpGen icon indicating copy to clipboard operation
SharpGen copied to clipboard

How to update SharpSploit source

Open fastlorenzo opened this issue 6 years ago • 4 comments

First of all, thanks for this awesome tool!

I was trying to update the SharpSploit source from the Source/ directory, but when I run the dotnet build command I get some errors.

Any hints on how to do it the "correct" way?

Thanks!

fastlorenzo avatar Dec 28 '19 11:12 fastlorenzo

You could try to: rm -r ./SharpSploit && git clone https://github.com/cobbr/SharpSploit You may have to manually delete the .csproj file as well.

cobbr avatar Dec 28 '19 18:12 cobbr

I did try that way, removed all .sln and .csproj file from SharpSploit repo, as well as SharpSploit.Tests folder. I still receive many errors: image

Might be that new references have been added and need to be manually put in SharpGen.csproj?

fastlorenzo avatar Dec 29 '19 08:12 fastlorenzo

ok, figured out the issue. There are new classes added in the latest SharpSploit version, which needs to be added in the SharpGen.csproj file

fastlorenzo avatar Dec 29 '19 11:12 fastlorenzo

I made a PR to add SharpSploit as a submodule, let me know if this is fine for you. #7

fastlorenzo avatar Dec 29 '19 12:12 fastlorenzo