Skip to content

Instantly share code, notes, and snippets.

@jcbf
Last active June 10, 2021 09:42
Show Gist options
  • Save jcbf/eb0cd98bcfd5ae5250fb9a53be917cb3 to your computer and use it in GitHub Desktop.
Save jcbf/eb0cd98bcfd5ae5250fb9a53be917cb3 to your computer and use it in GitHub Desktop.
OLEFY docker test
docker container run --mount type=tmpfs,destination=/tmp -p 10050:10050 -d --name olefy a16bitsysop/olefy
(
echo -ne "OLEFY/1.0\nMethod: oletools\nRspamd-ID: asad\n\n"
cat /tmp/qq/Qx.7475.xls
) | nc -w5 127.0.0.1 10050 | jq .
@jcbf
Copy link
Author

jcbf commented Jun 10, 2021

Above is for MacOS
In Linux must use nc -w5 -N 127.0.0.1 10050

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment