-
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.
add sha256 guid and detection when scan is malicious (#35)
* add sha256 guid and detection when scan is malicious * adds the functonallity to reset the findings * add a how-to rebuilding the plugin without always rebuilding the container * provide a switch for a "live" development mode this changes the mount of the compose file and the mount point for the debugger. once switch all changes that you do are directly changed in the container aswell, so you don't have to run the scoper again and restart the compose. but please be aware you still have to test in scoped mode because that's what we release to the customers. * after the scoper install with dev dependencies * enable debug mode * add a function to reset findings * catching the specific exceptions didn't work, so I this will now reconnect on every exception once the connection gets lost, because scanning 100 or more files takes its time and in between there is no ping in this version of the sdk. will be fixed with the full async version * add detection and sha256 to the findings page * add changelog * fix bug with scoping * composer update --------- Co-authored-by: Kevin Heise <[email protected]> Co-authored-by: PT-ATA No One <[email protected]>
- Loading branch information
1 parent
d515723
commit 9c71683
Showing
15 changed files
with
209 additions
and
89 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,4 +17,5 @@ test.sh | |
gdata-antivirus.zip | ||
test.php | ||
scoped-code/ | ||
/svn/ | ||
/svn/ | ||
eicar* |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?php | ||
|
||
namespace Gdatacyberdefenseag\GdataAntivirus\Infrastructure\Database; | ||
|
||
class DetectedFile { | ||
public function __construct(public string $path, public string $detection, public string $sha256) {} | ||
} |
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
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
Oops, something went wrong.