crimson-unicorn / parsers

GNU General Public License v2.0
22 stars 18 forks source link

how to get the benign or attack files of the cadets #2

Open lingerlingerling opened 2 years ago

lingerlingerling commented 2 years ago

In Makefile

number=0 ; while [ $$number -le 8 ] ; do \ cd ../../../data/cadets-e3/benign && mkdir cadets-e3-benign-$$number && tar zxvf cadets-e3-benign-$$number.gz.tar -C cadets-e3-benign-$$number && mv cadets-e3-benign-$$number/cadets-e3-benign.txt.* ../edgelists_benign ; \ cd ../../../data/cadets-e3/benign && rm -f cadets-e3-benign-$$number.gz.tar && rm -rf cadets-e3-benign-$$number ; \ number=expr $$number + 1 ; \ done

How to get benign or attack files of the cadets(e.g. cadets-e3-benign-0.gz.tar)?

C0ldstudy commented 2 years ago

Same question here! Any possible solution?

Win7ery commented 2 months ago

I have the same problem. How does Unicorn solve the data in the Darpa data set?

您好,我遇到了同样的问题,Unicorn如何解决Darpa数据集中的数据呢?

lingerlingerling commented 2 months ago

Here's a link to get some ideas on how to work with the data: https://github.com/crimson-unicorn/parsers/tree/master/cdm

First, the tojson in the Makefile guides how to convert a bin file into a json file. convert.pycan then instruct you how to process the json file.