forked from chainguard-dev/malcontent
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make diff behave like diff(1); report consistent behaviors (chainguar…
…d-dev#628) * Make diff behave like diff(1); report consistent behaviors Signed-off-by: egibs <[email protected]> * Remove NoDiff field from Behavior struct; remove ~ from consistent behaviors Signed-off-by: egibs <[email protected]> * Remove redundant fmt.Sprintf Signed-off-by: egibs <[email protected]> * Handle archives like directories since we scan the extracted tmp dir Signed-off-by: egibs <[email protected]> * Small tweaks Signed-off-by: egibs <[email protected]> * Correctly handle file moves for .so/.spdx.json files Signed-off-by: egibs <[email protected]> --------- Signed-off-by: egibs <[email protected]>
- Loading branch information
Showing
20 changed files
with
342 additions
and
258 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
tests/javascript/2024.lottie-player/lottie-player.min.js.mdiff
Large diffs are not rendered by default.
Oops, something went wrong.
24 changes: 8 additions & 16 deletions
24
tests/linux/2023.FreeDownloadManager/freedownloadmanager.sdiff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,29 @@ | ||
--- missing: freedownloadmanager_clear_postinst | ||
-data/embedded/pgp_key | ||
-exec/install_additional/add_apt_key | ||
-exec/shell/ignore_output | ||
-fs/path/etc | ||
-fs/path/usr_bin | ||
-net/download | ||
-net/url/embedded | ||
++++ added: freedownloadmanager_infected_postinst | ||
*** changed: linux/2023.FreeDownloadManager/freedownloadmanager_infected_postinst | ||
+3P/threat_hunting/touch | ||
+anti-static/base64/exec | ||
+anti-static/base64/http_agent | ||
+data/base64/external | ||
+data/embedded/base64_elf | ||
+data/embedded/base64_terms | ||
+data/embedded/base64_url | ||
+data/embedded/pgp_key | ||
data/embedded/pgp_key | ||
+data/encoding/base64 | ||
+evasion/file/location/var_tmp | ||
+exec/install_additional/add_apt_key | ||
exec/install_additional/add_apt_key | ||
+exec/shell/exec | ||
+exec/shell/ignore_output | ||
exec/shell/ignore_output | ||
+fs/directory/create | ||
+fs/file/delete_forcibly | ||
+fs/file/make_executable | ||
+fs/file/times_set | ||
+fs/path/etc | ||
fs/path/etc | ||
+fs/path/tmp | ||
+fs/path/usr_bin | ||
fs/path/usr_bin | ||
+fs/path/var | ||
+fs/permission/modify | ||
+impact/remote_access/botnet | ||
+net/download | ||
+net/url/embedded | ||
net/download | ||
net/url/embedded | ||
+persist/cron/etc_d | ||
+persist/cron/tab | ||
+sus/geopolitics |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,24 @@ | ||
--- missing: sbcl.clean | ||
-crypto/rc4 | ||
-data/compression/zstd | ||
-discover/user/HOME | ||
-discover/user/USER | ||
-evasion/file/location/var_tmp | ||
-exec/dylib/address_check | ||
-exec/dylib/symbol_address | ||
-exec/program | ||
-exec/program/background | ||
-exec/shell/echo | ||
-fs/file/delete | ||
-fs/file/truncate | ||
-fs/link_read | ||
-fs/path/dev | ||
-fs/path/tmp | ||
-fs/path/var | ||
-fs/permission/modify | ||
-fs/proc/self_exe | ||
-fs/symlink_resolve | ||
-net/url/embedded | ||
++++ added: sbcl.dirty | ||
*** changed: linux/2024.sbcl.market/sbcl.dirty | ||
+anti-static/elf/entropy | ||
+data/compression/zstd | ||
-crypto/rc4 | ||
data/compression/zstd | ||
+data/embedded/zstd | ||
+discover/user/HOME | ||
+discover/user/USER | ||
+evasion/file/location/var_tmp | ||
+exec/dylib/address_check | ||
+exec/dylib/symbol_address | ||
+exec/program | ||
+exec/program/background | ||
+exec/shell/echo | ||
+fs/file/delete | ||
+fs/file/truncate | ||
+fs/link_read | ||
+fs/path/dev | ||
+fs/path/tmp | ||
+fs/path/var | ||
+fs/permission/modify | ||
+fs/proc/self_exe | ||
+fs/symlink_resolve | ||
discover/user/HOME | ||
discover/user/USER | ||
evasion/file/location/var_tmp | ||
exec/dylib/address_check | ||
exec/dylib/symbol_address | ||
exec/program | ||
exec/program/background | ||
exec/shell/echo | ||
fs/file/delete | ||
fs/file/truncate | ||
fs/link_read | ||
fs/path/dev | ||
fs/path/tmp | ||
fs/path/var | ||
fs/permission/modify | ||
fs/proc/self_exe | ||
fs/symlink_resolve | ||
+net/dns/txt | ||
+net/url/embedded | ||
net/url/embedded |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
>>> moved: linux/clean/aws-c-io/aws-c-io-0.14.10-r0.spdx.json -> linux/clean/aws-c-io/aws-c-io-0.14.11-r0.spdx.json (score: 0.979310) | ||
>>> moved: linux/clean/aws-c-io/aws-c-io-0.14.10-r0.spdx.json -> linux/clean/aws-c-io/aws-c-io-0.14.11-r0.spdx.json (score: 0.988000) | ||
net/download | ||
net/url/embedded |
Binary file not shown.
Binary file not shown.
Oops, something went wrong.