added WIP poc
Signed-off-by: Ava Affine <ava@sunnypup.io>
This commit is contained in:
parent
921e96b9fb
commit
ed69931ccf
2 changed files with 569 additions and 0 deletions
15
Makefile
Normal file
15
Makefile
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
CC ?= gcc
|
||||
FLAGS = -lssl -lcrypto
|
||||
|
||||
.PHONY: run
|
||||
run:
|
||||
$(CC) $(FLAGS) cross_process_ssl_poc.c -g -O0 -o test
|
||||
openssl req -x509 \
|
||||
-newkey rsa:4096 \
|
||||
-keyout key.pem \
|
||||
-out cert.pem \
|
||||
-sha256 -nodes \
|
||||
-days 3650 \
|
||||
-quiet \
|
||||
-subj "/C=XX/ST=StateName/L=CityName/O=CompanyName/OU=CompanySectionName/CN=example.com"
|
||||
./test
|
||||
Loading…
Add table
Add a link
Reference in a new issue