-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from jabra-/makefile-build-all
- Loading branch information
Showing
16 changed files
with
118 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: build | ||
|
||
on: [pull_request, push] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up MinGW | ||
uses: egor-tensin/setup-mingw@v2 | ||
with: | ||
platform: x64 | ||
|
||
- name: apt update | ||
run: sudo apt-get update | ||
|
||
- name: Install pefile | ||
run: sudo apt-get -y install python3-pefile | ||
|
||
- name: Install nasm | ||
run: sudo apt-get -y install nasm | ||
|
||
- name: Build BOFs | ||
run: make |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,16 @@ | ||
[submodule "RemoteOps/CS-Remote-OPs-BOF"] | ||
path = RemoteOps/CS-Remote-OPs-BOF | ||
url = https://github.com/trustedsec/CS-Remote-OPs-BOF | ||
|
||
[submodule "NoConsolation/No-Consolation"] | ||
path = NoConsolation/No-Consolation | ||
url = https://github.com/fortra/No-Consolation | ||
|
||
[submodule "nanodump/nanodump"] | ||
path = nanodump/nanodump | ||
url = https://github.com/fortra/nanodump | ||
|
||
[submodule "SituationalAwareness/CS-Situational-Awareness-BOF"] | ||
path = SituationalAwareness/CS-Situational-Awareness-BOF | ||
url = https://github.com/trustedsec/CS-Situational-Awareness-BOF | ||
|
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
SUBDIRS := $(wildcard */) | ||
|
||
.PHONY: all $(SUBDIRS) | ||
|
||
all: $(SUBDIRS) | ||
|
||
$(SUBDIRS): | ||
@if [ -f $@/makefile ]; then \ | ||
echo "Building $@"; \ | ||
$(MAKE) -C $@; \ | ||
else \ | ||
echo "Skipping $@ (makefile not found)"; \ | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
SUBDIRS := $(wildcard */) | ||
|
||
.PHONY: all $(SUBDIRS) | ||
|
||
all: $(SUBDIRS) | ||
|
||
$(SUBDIRS): | ||
@if [ -f $@/makefile ]; then \ | ||
echo "Building $@"; \ | ||
$(MAKE) -C $@; \ | ||
else \ | ||
echo "Skipping $@ (makefile not found)"; \ | ||
fi |
Submodule No-Consolation
added at
dbac90
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
NAME = No-Consolation | ||
BIN = bin | ||
|
||
all: | ||
@ cd $(NAME); make | ||
@ find $(NAME)/dist -name '*.o' -exec cp {} $(BIN)/ \; | ||
|
||
clean: | ||
rm $(BIN)/*.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule CS-Remote-OPs-BOF
added at
656803
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
NAME = CS-Remote-OPs-BOF | ||
BIN = bin | ||
|
||
all: | ||
@ cd $(NAME); chmod +x make_all.sh; bash ./make_all.sh | ||
@ find $(NAME)/Injection -name '*.o' -exec cp {} $(BIN)/ \; | ||
@ find $(NAME)/Remote -name '*.o' -exec cp {} $(BIN)/ \; | ||
|
||
clean: | ||
rm $(BIN)/*.o |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
SUBDIRS := $(filter-out Template, $(shell echo */)) | ||
|
||
.PHONY: all $(SUBDIRS) | ||
|
||
all: UPDATE $(SUBDIRS) | ||
|
||
UPDATE: | ||
@ echo "Updating submodules" | ||
@ git submodule update --init --recursive | ||
|
||
$(SUBDIRS): | ||
@ if [ -f $@/makefile -o -f $@/Makefile ]; then \ | ||
echo "Building $@"; \ | ||
$(MAKE) -C $@; \ | ||
else \ | ||
echo "Skipping $@ (Makefile not found)"; \ | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
NAME = nanodump | ||
BIN = bin | ||
|
||
all: | ||
@ make -C $(NAME) -f Makefile.mingw | ||
@ find $(NAME)/dist -name '*.o' -exec cp {} $(BIN)/ \; | ||
|
||
clean: | ||
rm $(BIN)/*.o |