Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: zscan example #21

Merged

Conversation

GangGreenTemperTatum
Copy link
Collaborator

local testing: (see PR 6 from the source repo)

docker build -t zscan:latest -f zscan.Dockerfile .
docker run --rm -it zscan:latest  

ie example usage:

[2024-11-25T13:17:05Z INFO ] pre building container for function zscan_full_scan ...
[2024-11-25T13:17:05Z INFO ] building image 'zscan_local' from '/Users/x/.robopages/robopages-main/cybersecurity/offensive/information-gathering/zscan.Dockerfile'
[2024-11-25T13:17:06Z INFO ] sha256:x
[2024-11-25T13:17:06Z INFO ] pre building container for function nikto_scan ...
[2024-11-25T13:17:06Z INFO ] pre building container for function nuclei_basic_scan ...
[2024-11-25T13:17:06Z INFO ] pre building container for function nuclei_severity_scan ...
[2024-11-25T13:17:06Z INFO ] pre building container for function nuclei_tag_template_scan ...
[2024-11-25T13:17:06Z INFO ] pre building container for function sqlmap_scan ...
[2024-11-25T13:17:06Z INFO ] pre building container for function wpscan_scan ...
[2024-11-25T13:17:06Z INFO ] pre building container for function wpscan_scan_stealthy ...
[2024-11-25T13:17:06Z INFO ] pre building container for function zap_api_scan ...
[2024-11-25T13:17:06Z INFO ] pre building container for function zap_authenticated_scan ...
[2024-11-25T13:17:06Z INFO ] pre building container for function zap_baseline_scan ...
[2024-11-25T13:17:06Z INFO ] pre building container for function zap_full_scan ...
[2024-11-25T13:17:06Z INFO ] pre building container for function zap_scan_host_container ...
[2024-11-25T13:17:06Z INFO ] pre building container for function zap_scan_host_os_app ...
[2024-11-25T13:17:06Z INFO ] pre building container for function http_get ...
[2024-11-25T13:17:06Z INFO ] pre building container for function http_post ...
[2024-11-25T13:17:06Z INFO ] serving 22 pages on http://127.0.0.1:8000 with 12 max running tasks
➜  information-gathering robopages run --function zscan_default_scan
>> enter value for argument 'target': 127.0.0.1

[2024-11-25T13:17:09Z INFO ] building image 'zscan_local' from '/Users/x/.robopages/robopages-main/cybersecurity/offensive/information-gathering/zscan.Dockerfile'
[2024-11-25T13:17:10Z INFO ] sha256:x
[2024-11-25T13:17:10Z WARN ] executing: /usr/local/bin/docker run --rm -v/Users/x/.robopages/robopages-main/cybersecurity/offensive/information-gathering:/data --net=host zscan_local -target 127.0.0.1
>> enter 'y' to proceed or any other key to cancel: y



[*] Processing target: 127.0.0.1
[+] Detected IP address format
{
  "nodes": [
...

@GangGreenTemperTatum GangGreenTemperTatum requested a review from a team as a code owner November 25, 2024 13:20
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Validation Results (2024-11-25T13:21:14.338Z)

❌ Validation failed

Please ensure your contribution follows the required format.

🔍 View Full Validation Details


Run ID: 12010925059
Workflow: Validate Contributions

@evilsocket
Copy link
Collaborator

@GangGreenTemperTatum validation seems to fail here, even tho categories are not mandatory ... how should we handle this?

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Validation Results (2024-11-25T13:30:24.041Z)

❌ Validation failed

Please ensure your contribution follows the required format.

🔍 View Full Validation Details


Run ID: 12011089528
Workflow: Validate Contributions

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Validation Results (2024-11-25T13:39:24.339Z)

✅ Validation successful

Please ensure your contribution follows the required format.

🔍 View Full Validation Details


Run ID: 12011250344
Workflow: Validate Contributions

@GangGreenTemperTatum
Copy link
Collaborator Author

@GangGreenTemperTatum validation seems to fail here, even tho categories are not mandatory ... how should we handle this?

hey @evilsocket , my bad on the workflow - i will fix this (ENG-262)
i added the categories for now as a workaround and will fix the workflow/test/verify on another branch if thats cool with ya?

@evilsocket evilsocket merged commit 801a553 into main Nov 25, 2024
1 check passed
@evilsocket evilsocket deleted the ads/eng-258-feature-dockerize-zscan-and-robopages-example branch November 25, 2024 14:20
@GangGreenTemperTatum
Copy link
Collaborator Author

GangGreenTemperTatum commented Nov 25, 2024

@GangGreenTemperTatum validation seems to fail here, even tho categories are not mandatory ... how should we handle this?

hey @evilsocket , my bad on the workflow - i will fix this (ENG-262) i added the categories for now as a workaround and will fix the workflow/test/verify on another branch if thats cool with ya?

thanks @evilsocket for bearing with me, i think we should be good to roll in this follow up PR :) #24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants