Johannes Bader
cb3b655463
fix: Correct FileObject import
...
The FileObject import has been moved outside the try-except-block
related to lief, as the import is needed regardless whether lief
is available or not.
2024-02-27 16:38:19 +01:00
Raphaël Vinot
8fb34a2892
fix: Import FileObject as needed.
2024-02-01 14:56:57 +01:00
Raphaël Vinot
9853f23683
chg: Add a bunch more typing.
2024-01-31 15:20:31 +01:00
Raphaël Vinot
ca0fb8dc99
chg: Use typing info of lief
2024-01-31 12:59:49 +01:00
Raphaël Vinot
3a74ca8704
chg: Update typing to please lief
2024-01-22 13:45:25 +01:00
Raphaël Vinot
0562c63cec
chg: Initial changes to use new annotations
2024-01-17 13:28:51 +01:00
Raphaël Vinot
ec170103cb
fix: Extra print breaking the CI on MISP side
2023-05-12 16:06:26 +02:00
Raphaël Vinot
5f698a1247
fix: properly use lief on a file
2023-05-12 11:58:38 +02:00
Raphaël Vinot
75435df663
fix: Update lief code to v0.13
2023-04-19 11:47:41 +03:00
Raphaël Vinot
c41a2f1549
chg: Remove critical warning if lief is not installed
...
Fix https://github.com/MISP/MISP/issues/6908
2021-01-26 13:14:03 +01:00
Raphaël Vinot
c5c1d84bcf
fix: Better warning if lief is outdated.
2021-01-21 11:55:30 +01:00
Raphaël Vinot
76c4f92c17
chg: Use lief 0.11.0, generate authenticode entries
2021-01-19 15:44:58 +01:00
Paal Braathen
ff62f1c19c
Linting/Add missing whitespace
2020-07-28 20:05:42 +02:00
Raphaël Vinot
11353f8ae2
fix: Make lief optional again
...
fix #538
2020-02-07 11:51:48 +01:00
Raphaël Vinot
b0e95fd5af
chg: Refactorize typing, validate
2020-01-23 10:27:40 +01:00
Christophe Vandeplas
494e70eb69
fix: prevents exception when lief is not installed
2019-10-30 14:23:37 +01:00
Pierre-Jean Grenier
a2aa5646df
chg: Return empty list instead of None
...
In all cases but one, the 3rd returned object is a (potentially empty) list.
2019-08-08 14:35:51 +02:00
Raphaël Vinot
d477a3688c
chg: Rename relationship included-in -> includes
2019-07-24 13:57:36 +02:00
Raphaël Vinot
fe91d06b91
chg: Remove dependency on six
2019-02-06 11:31:05 +01:00
Raphaël Vinot
e17349cba2
chg: Remove old warning.
2018-01-11 14:07:31 +01:00
Raphaël Vinot
4a1d43c7e2
fix: Fix typo
2017-12-20 14:27:31 +01:00
Raphaël Vinot
d19a10ddcc
chg: Make the library easier to use
2017-12-13 15:45:02 +01:00
Raphaël Vinot
7946e2ef83
fix: Disable pseudofile support in py2, skip tests.
2017-12-09 13:35:44 +01:00
Raphaël Vinot
52e079fea2
chg: Allow to pass a pseudofile to LIEF
2017-12-09 13:12:04 +01:00
c-goes
b514600965
Make FileObject creation work if lief parsing fails
2017-12-04 17:52:13 +01:00
Raphaël Vinot
134df0cafb
chg: Properly use python logging module.
2017-11-07 18:10:04 -08:00
Raphaël Vinot
3e73ae826f
Fix: create file object
...
Was broken in case the file was neither PE/ELF/Mach-O
2017-09-27 16:05:06 +02:00
Raphaël Vinot
d3d34d5953
update: make make_binary_objects more flexible
...
fix: use proper exception handlers
2017-09-20 11:44:55 +01:00
Raphaël Vinot
74037cb6fa
Some more refactoring and cleanup
2017-08-30 12:47:32 +02:00
Raphaël Vinot
2bc0745fbf
Refactoring in order to load objects
2017-08-28 19:16:20 +02:00
Raphaël Vinot
ed441d6356
Remove some python versions from travis
2017-08-25 18:35:53 +02:00
Raphaël Vinot
a5531990ae
Do not try to run code requiring lief
2017-08-25 17:41:58 +02:00
Raphaël Vinot
9ff3739753
Remove ImportError
2017-08-25 17:37:35 +02:00
Raphaël Vinot
44008d1c0c
Add support for ELF and MachO objects
2017-08-25 15:57:12 +02:00
Raphaël Vinot
c09ce0032c
Refactor all the things
...
Add script for MISP core, make everything generic.
2017-08-24 19:21:52 +02:00
Raphaël Vinot
77845bd813
Update file/pe/pe-sections objects creator.
2017-08-23 15:37:04 +02:00
Raphaël Vinot
2fd3b05202
Update accordingly to the current server implementation
2017-07-24 17:16:40 +02:00
Raphaël Vinot
78488db7aa
Initial commit supporting MISP Objects
2017-07-21 20:34:56 +02:00