Skip to content

Upgraded amass to v4#1864

Merged
Ilyesbdlala merged 33 commits intomainfrom
bugfix/amass-parser
Sep 15, 2023
Merged

Upgraded amass to v4#1864
Ilyesbdlala merged 33 commits intomainfrom
bugfix/amass-parser

Conversation

@Ilyesbdlala
Copy link
Member

@Ilyesbdlala Ilyesbdlala commented Aug 18, 2023

Description

Closes #1833

Checklist

  • Test your changes as thoroughly as possible before you commit them. Preferably, automate your test by unit/integration tests.
  • Make sure that all your commits are signed-off and that you are added to the Contributors file.
  • Make sure that all CI finish successfully.
  • Optional (but appreciated): Make sure that all commits are Verified.

@Ilyesbdlala Ilyesbdlala added the scanner Implement or update a security scanner label Aug 18, 2023
@Ilyesbdlala Ilyesbdlala self-assigned this Aug 18, 2023
@github-actions
Copy link

github-actions bot commented Aug 18, 2023

🦙 MegaLinter status: ⚠️ WARNING

Descriptor Linter Files Fixed Errors Elapsed time
⚠️ ACTION actionlint 1 3 0.07s
⚠️ DOCKERFILE hadolint 2 1 0.07s
⚠️ GO golangci-lint 2 1 0.89s
⚠️ JAVASCRIPT eslint 4 1 0.72s
✅ JSON eslint-plugin-jsonc 3 0 1.35s
⚠️ YAML prettier 7 1 2.12s

See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

MegaLinter is graciously provided by OX Security

@Zero3141 Zero3141 mentioned this pull request Aug 23, 2023
@Ilyesbdlala Ilyesbdlala force-pushed the bugfix/amass-parser branch 2 times, most recently from 5e5e030 to 9d95f66 Compare August 25, 2023 14:55
@Ilyesbdlala Ilyesbdlala marked this pull request as ready for review August 25, 2023 15:10
Copy link
Member

@J12934 J12934 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice 👍🥳
some small questions / notes

@netlify
Copy link

netlify bot commented Sep 12, 2023

Deploy Preview for docs-securecodebox ready!

Name Link
🔨 Latest commit 36f0614
🔍 Latest deploy log https://app.netlify.com/sites/docs-securecodebox/deploys/6504235efee6290007af17a9
😎 Deploy Preview https://deploy-preview-1864--docs-securecodebox.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Ilyesbdlala and others added 17 commits September 12, 2023 15:05
…of the JSON output

This is done since the JSON output is no longer supported

Signed-off-by: Ilyes Ben Dlala <[email protected]>
It now uses sqlite databases as test-files

Signed-off-by: Ilyes Ben Dlala <[email protected]>
…dependencies

This is done because sqlite3 package is now required

Signed-off-by: Ilyes Ben Dlala <[email protected]>
This triggers building custom scanner image in ./scanner/Dockerfile

Signed-off-by: Ilyes Ben Dlala <[email protected]>
It is replaced with -alts to enable (instead of disabling) generation of altered names.
ref: https://github.com/owasp-amass/amass/blob/master/doc/user_guide.md#the-enum-subcommand

Signed-off-by: Ilyes Ben Dlala <[email protected]>
It is not always available and is not required

Signed-off-by: Ilyes Ben Dlala <[email protected]>
Less Run commands and no usage of `latest`
Signed-off-by: Ilyes Ben Dlala <[email protected]>
This is done since the parser requires creating a temp file and reading from it. But the parser environemnt is ready only by default

Signed-off-by: Ilyes Ben Dlala <[email protected]>
… database instead of the path

This is what the lurker expects. A temp file is created to the reading of the database easier

Signed-off-by: Ilyes Ben Dlala <[email protected]>
…pect filecontent instead of path of database

Signed-off-by: Ilyes Ben Dlala <[email protected]>
new test, tests for when -passive arg is used

Signed-off-by: Ilyes Ben Dlala <[email protected]>
…canType

Amass parser requires that the database remains in binary format

Signed-off-by: Ilyes Ben Dlala <[email protected]>
…tentType

It's a more fitting name for types such as "Binary"

Signed-off-by: Ilyes Ben Dlala <[email protected]>
This is done to avoid the shorter lifecycle of amass docker images, and to also avoid the platform dependency

Signed-off-by: Ilyes Ben Dlala <[email protected]>
…"passive" is deprecated

Signed-off-by: Ilyes Ben Dlala <[email protected]>
…docker image does not exit directly after enum

Signed-off-by: Ilyes Ben Dlala <[email protected]>
Ilyesbdlala and others added 2 commits September 12, 2023 16:51
Signed-off-by: Ilyes Ben Dlala <[email protected]>
Signed-off-by: Jannik Hollenbach <[email protected]>
@J12934 J12934 force-pushed the bugfix/amass-parser branch from 0778430 to 36f0614 Compare September 15, 2023 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scanner Implement or update a security scanner

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Upgrade amass to v4.x

2 participants