diff options
| author | Louis Burda <quent.burda@gmail.com> | 2021-05-10 15:05:25 +0200 |
|---|---|---|
| committer | Louis Burda <quent.burda@gmail.com> | 2021-05-10 15:05:25 +0200 |
| commit | 2a8416eaa85af6348fe34859859a7fb39db2003d (patch) | |
| tree | aa05283f66bf509d75352dbddc8380ab56a27a46 /service/src/test.sh | |
| parent | 65a1a51121278e54e40e2a04ae096053d5a3c47d (diff) | |
| download | enowars5-service-stldoctor-2a8416eaa85af6348fe34859859a7fb39db2003d.tar.gz enowars5-service-stldoctor-2a8416eaa85af6348fe34859859a7fb39db2003d.zip | |
save scan info and model, added vuln in load info, small tweaks
create result directory with serialized info struct and model file after successful scan, dont modify the stl file contents during parsing, EOF getc vuln to truncate loaded hash added in load_info
Diffstat (limited to 'service/src/test.sh')
| -rw-r--r-- | service/src/test.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/service/src/test.sh b/service/src/test.sh index 4627d81..9a905b7 100644 --- a/service/src/test.sh +++ b/service/src/test.sh @@ -24,6 +24,8 @@ checkleaks() { fi } +export RESULTDIR="scans" + announce "Trying ASCII STL" ( echo "submit" @@ -36,5 +38,14 @@ announce "Trying BIN STL" echo "submit" cat tests/sample-binary.stl | wc -c cat tests/sample-binary.stl + echo "testname" +) | checkleaks + + +announce "Testing Proof-Of-Concept" +( + echo "submit" + cat tests/evil1.stl | wc -c + cat tests/evil1.stl ) | checkleaks |
