BC-SECURITY / Starkiller

Starkiller is a Frontend for PowerShell Empire.
https://www.bc-security.org/post/an-introduction-to-starkiller
MIT License
1.37k stars 196 forks source link

Update package.json #54

Closed necrose99 closed 3 years ago

necrose99 commented 3 years ago

yarn run build --linux --arm64 --armv7l , -mwl , https://www.electron.build/multi-platform-build
rpm/deb /built-taballs ie for gentoo ebuild would be a plus too. https://github.com/Zerx0r/Kage # 21 i was able to rig a copy of kage on rpi4-64bit aarch64 rig a tarball build in much same way..

vinnybod commented 3 years ago

Thanks for the contribution! Can you elaborate a bit on what benefit this provides to the build? Will this cause the linux build to output multiple files?

necrose99 commented 3 years ago

this should add linux arm/arm64 also

Thanks for the contribution! Can you elaborate a bit on what benefit this provides to the build? Will this cause the linux build to output multiple files? should add arm/arm64 also.

https://github.com/Zerx0r/Kage i hacked thier json locally # 21 issue per documentation , gave back documentation.

(a built tarball for @pentoo Linux (Gentoo Linux) rpm2tgz or deb2tgz is also way more preferable if installing. especially on say a raspberry pi ie https://raspad.com/ for doing field work .. as it makes far easier to package as a package. ebuild inherit rpm .... can just swipe a rpm. and dump to root in gentoo format tarball ( and add gentoo metadata etc.) hak5 pay only $$$$ ... or just get a raspberry pi kit from the shelf 125 with etc's vs 550 hak5 more rpi4 bit more expendable on a pentesting engagement if using as a jumpbox./ www.telesploit.com plus Rpi4 is modular and more that DIY-feeling of satisfaction . )

yarn run build --linux --arm64 --armv7l , -mwl , you can say add arches --x86 --x64
-m macos , -w windows -l linux

https://www.electron.build/multi-platform-build i found this as kage uses yarn/then electron worked like a charm , i could get rpm's or tarballs out insted of app images. or having to use squashfs-ng and one of the tools to convert the image to tarball

hopefully lets you build some arm64/arm versions ..

vinnybod commented 3 years ago

We had to take a different route because in general the builds only work on the platform that is being targetted. I also had to make some package changes in 1.8 to fix builds on ARM.

I added instructions to the README https://github.com/BC-SECURITY/Starkiller#compile-and-minify-for-production for building other platforms.