-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update diff output to delineate between changed and unchanged files (#…
…726) * Update diff output to delineate between changed and unchanged files Signed-off-by: egibs <20933572+egibs@users.noreply.github.com> * Appease the linter; refresh sample data Signed-off-by: egibs <20933572+egibs@users.noreply.github.com> * Only report changed files when diffing Signed-off-by: egibs <20933572+egibs@users.noreply.github.com> * Appease the linter Signed-off-by: egibs <20933572+egibs@users.noreply.github.com> * Consistent casing for simple output Signed-off-by: egibs <20933572+egibs@users.noreply.github.com> * Refresh test data Signed-off-by: egibs <20933572+egibs@users.noreply.github.com> * Fix backward indicators Signed-off-by: egibs <20933572+egibs@users.noreply.github.com> * terminal.go: when diffiing, compared based on scores, not string values This meant NONE -> MEDIUM would get a different indicator then LOW -> MEDIUM. Signed-off-by: Steve Beattie <steve.beattie@chainguard.dev> * Run make fix Signed-off-by: egibs <20933572+egibs@users.noreply.github.com> --------- Signed-off-by: egibs <20933572+egibs@users.noreply.github.com> Signed-off-by: Evan Gibler <20933572+egibs@users.noreply.github.com> Signed-off-by: Steve Beattie <steve.beattie@chainguard.dev> Co-authored-by: Steve Beattie <steve.beattie@chainguard.dev>
- Loading branch information
1 parent
4a351ed
commit ca78f0f
Showing
16 changed files
with
87 additions
and
120 deletions.
There are no files selected for viewing
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
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
10 changes: 1 addition & 9 deletions
10
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,30 +1,22 @@ | ||
*** changed: linux/2023.FreeDownloadManager/freedownloadmanager_infected_postinst | ||
*** changed (20 added, 1 removed): linux/2023.FreeDownloadManager/freedownloadmanager_infected_postinst | ||
+anti-static/base64/exec | ||
+anti-static/base64/http_agent | ||
c2/tool_transfer/arch | ||
-c2/tool_transfer/os | ||
+data/base64/external | ||
+data/embedded/base64_elf | ||
+data/embedded/base64_terms | ||
+data/embedded/base64_url | ||
data/embedded/pgp_key | ||
+data/encoding/base64 | ||
+evasion/file/location/var_tmp | ||
exec/install_additional/add_apt_key | ||
+exec/shell/exec | ||
exec/shell/ignore_output | ||
+fs/directory/create | ||
+fs/file/delete_forcibly | ||
+fs/file/make_executable | ||
+fs/file/times_set | ||
fs/path/etc | ||
+fs/path/tmp | ||
fs/path/usr_bin | ||
+fs/path/var | ||
+fs/permission/modify | ||
+impact/remote_access/botnet | ||
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,27 +1,5 @@ | ||
*** changed: linux/2024.sbcl.market/sbcl.dirty | ||
*** changed (3 added, 1 removed): linux/2024.sbcl.market/sbcl.dirty | ||
+anti-static/elf/entropy | ||
c2/addr/url | ||
c2/tool_transfer/arch | ||
-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 | ||
fs/tempdir/TEMP | ||
+net/dns/txt | ||
net/url/embedded |
Binary file not shown.
Binary file not shown.
Oops, something went wrong.