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

pdcp result chunked upload #4662

Merged
merged 3 commits into from Jan 20, 2024
Merged

pdcp result chunked upload #4662

merged 3 commits into from Jan 20, 2024

Conversation

tarunKoyalwar
Copy link
Member

@tarunKoyalwar tarunKoyalwar commented Jan 18, 2024

Proposed Changes

@tarunKoyalwar tarunKoyalwar self-assigned this Jan 18, 2024
@tarunKoyalwar tarunKoyalwar changed the title issue 4634 pdcp upload fix pdcp result chunked upload Jan 18, 2024
@tarunKoyalwar tarunKoyalwar marked this pull request as ready for review January 18, 2024 19:19
@tarunKoyalwar
Copy link
Member Author

$ ./nuclei -u scanme.sh -c 1000 -etags exposure -stats -cup

                     __     _
   ____  __  _______/ /__  (_)
  / __ \/ / / / ___/ / _ \/ /
 / / / / /_/ / /__/ /  __/ /
/_/ /_/\__,_/\___/_/\___/_/   v3.1.5

		projectdiscovery.io

[INF] Current nuclei version: v3.1.5 (latest)
[INF] Current nuclei-templates version: v9.7.4 (latest)
[INF] To view results on cloud dashboard, visit https://cloud.projectdiscovery.io/scans upon scan completion.
[INF] New templates added in latest release: 6
[INF] Templates loaded for current scan: 6587
[INF] Executing 6609 signed templates from projectdiscovery/nuclei-templates
[INF] Targets loaded for current scan: 1
[INF] Running httpx on input host
[INF] Found 1 URL from httpx
[INF] Templates clustered: 962 (Reduced 899 Requests)
[caa-fingerprint] [dns] [info] scanme.sh
[0:00:05] | Templates: 6587 | Hosts: 1 | RPS: 217 | Matched: 1 | Errors: 1067 | Requests: 1088/9387 (11%)
[nameserver-fingerprint] [dns] [info] scanme.sh ["ns69.domaincontrol.com.","ns70.domaincontrol.com."]
[INF] Using Interactsh Server: oast.me
[0:00:10] | Templates: 6587 | Hosts: 1 | RPS: 178 | Matched: 2 | Errors: 1068 | Requests: 1790/9387 (19%)
[0:00:15] | Templates: 6587 | Hosts: 1 | RPS: 162 | Matched: 2 | Errors: 1069 | Requests: 2431/9387 (25%)
[0:00:20] | Templates: 6587 | Hosts: 1 | RPS: 154 | Matched: 2 | Errors: 1071 | Requests: 3085/9387 (32%)
[0:00:25] | Templates: 6587 | Hosts: 1 | RPS: 151 | Matched: 2 | Errors: 1073 | Requests: 3781/9387 (40%)
[http-missing-security-headers:strict-transport-security] [http] [info] https://scanme.sh
[http-missing-security-headers:permissions-policy] [http] [info] https://scanme.sh
[http-missing-security-headers:x-content-type-options] [http] [info] https://scanme.sh
[http-missing-security-headers:cross-origin-embedder-policy] [http] [info] https://scanme.sh
[http-missing-security-headers:cross-origin-resource-policy] [http] [info] https://scanme.sh
[http-missing-security-headers:content-security-policy] [http] [info] https://scanme.sh
[http-missing-security-headers:x-frame-options] [http] [info] https://scanme.sh
[http-missing-security-headers:x-permitted-cross-domain-policies] [http] [info] https://scanme.sh
[http-missing-security-headers:referrer-policy] [http] [info] https://scanme.sh
[http-missing-security-headers:clear-site-data] [http] [info] https://scanme.sh
[http-missing-security-headers:cross-origin-opener-policy] [http] [info] https://scanme.sh
[0:00:30] | Templates: 6587 | Hosts: 1 | RPS: 150 | Matched: 13 | Errors: 1075 | Requests: 4512/9387 (48%)
[0:00:35] | Templates: 6587 | Hosts: 1 | RPS: 149 | Matched: 13 | Errors: 1075 | Requests: 5242/9387 (55%)
[ssh-auth-methods] [javascript] [info] scanme.sh:22 ["[\"publickey\",\"password\"]"]
[ssh-password-auth] [javascript] [info] scanme.sh:22
[ssh-server-enumeration] [javascript] [info] scanme.sh:22 ["SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.11"]
[ssh-sha1-hmac-algo] [javascript] [info] scanme.sh:22
[openssh-detect] [tcp] [info] scanme.sh:22 ["SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.11"]
[ssl-issuer] [ssl] [info] scanme.sh:443 ["pd"]
[mismatched-ssl-certificate] [ssl] [low] scanme.sh:443 ["CN: scanme"]
[self-signed-ssl] [ssl] [low] scanme.sh:443
[tls-version] [ssl] [info] scanme.sh:443 ["tls10"]
[weak-cipher-suites:tls-1.0] [ssl] [low] scanme.sh:443 ["[tls10 TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA]"]
[tls-version] [ssl] [info] scanme.sh:443 ["tls11"]
[weak-cipher-suites:tls-1.1] [ssl] [low] scanme.sh:443 ["[tls11 TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA]"]
[deprecated-tls] [ssl] [info] scanme.sh:443 ["tls10"]
[tls-version] [ssl] [info] scanme.sh:443 ["tls12"]
[deprecated-tls] [ssl] [info] scanme.sh:443 ["tls11"]
[tls-version] [ssl] [info] scanme.sh:443 ["tls13"]
[0:00:40] | Templates: 6587 | Hosts: 1 | RPS: 151 | Matched: 29 | Errors: 1115 | Requests: 6044/9387 (64%)
[0:00:45] | Templates: 6587 | Hosts: 1 | RPS: 150 | Matched: 29 | Errors: 1118 | Requests: 6753/9387 (71%)
[0:00:50] | Templates: 6587 | Hosts: 1 | RPS: 149 | Matched: 29 | Errors: 1160 | Requests: 7490/9387 (79%)
[0:00:55] | Templates: 6587 | Hosts: 1 | RPS: 142 | Matched: 29 | Errors: 1161 | Requests: 7854/9387 (83%)
[0:01:00] | Templates: 6587 | Hosts: 1 | RPS: 134 | Matched: 29 | Errors: 1214 | Requests: 8066/9387 (85%)
[0:01:05] | Templates: 6587 | Hosts: 1 | RPS: 126 | Matched: 29 | Errors: 1214 | Requests: 8196/9387 (87%)
[0:01:10] | Templates: 6587 | Hosts: 1 | RPS: 118 | Matched: 29 | Errors: 1214 | Requests: 8297/9387 (88%)
[0:01:15] | Templates: 6587 | Hosts: 1 | RPS: 111 | Matched: 29 | Errors: 1214 | Requests: 8341/9387 (88%)
[0:01:20] | Templates: 6587 | Hosts: 1 | RPS: 104 | Matched: 29 | Errors: 1215 | Requests: 8366/9387 (89%)
[0:01:25] | Templates: 6587 | Hosts: 1 | RPS: 98 | Matched: 29 | Errors: 1215 | Requests: 8391/9387 (89%)
[0:01:30] | Templates: 6587 | Hosts: 1 | RPS: 93 | Matched: 29 | Errors: 1215 | Requests: 8412/9387 (89%)
[INF] 29 Scan results uploaded to cloud, you can view scan results at https://cloud.projectdiscovery.io/scans/cmknipqv7gms73f12db0
[0:01:34] | Templates: 6587 | Hosts: 1 | RPS: 89 | Matched: 29 | Errors: 1215 | Requests: 8412/9387 (89%)

@tarunKoyalwar
Copy link
Member Author

$ ./nuclei -u scanme.sh -c 1000 -stats -sid cmknvrvsii6s73au799g           

                     __     _
   ____  __  _______/ /__  (_)
  / __ \/ / / / ___/ / _ \/ /
 / / / / /_/ / /__/ /  __/ /
/_/ /_/\__,_/\___/_/\___/_/   v3.1.5

		projectdiscovery.io

[INF] Current nuclei version: v3.1.5 (latest)
[INF] Current nuclei-templates version: v9.7.4 (latest)
[INF] To view results on cloud dashboard, visit https://cloud.projectdiscovery.io/scans upon scan completion.
[INF] New templates added in latest release: 6
[INF] Templates loaded for current scan: 7432
[INF] Executing 7454 signed templates from projectdiscovery/nuclei-templates
[INF] Targets loaded for current scan: 1
[INF] Running httpx on input host
[INF] Found 1 URL from httpx
[INF] Templates clustered: 1267 (Reduced 1233 Requests)
[INF] Using Interactsh Server: oast.site
[0:00:05] | Templates: 7432 | Hosts: 1 | RPS: 219 | Matched: 0 | Errors: 1059 | Requests: 1098/11183 (9%)
[caa-fingerprint] [dns] [info] scanme.sh
[nameserver-fingerprint] [dns] [info] scanme.sh ["ns69.domaincontrol.com.","ns70.domaincontrol.com."]
[0:00:10] | Templates: 7432 | Hosts: 1 | RPS: 179 | Matched: 2 | Errors: 1069 | Requests: 1794/11183 (16%)
[0:00:15] | Templates: 7432 | Hosts: 1 | RPS: 162 | Matched: 2 | Errors: 1069 | Requests: 2434/11183 (21%)
[0:00:20] | Templates: 7432 | Hosts: 1 | RPS: 155 | Matched: 2 | Errors: 1074 | Requests: 3103/11183 (27%)
^C[INF] CTRL+C pressed: Exiting
[INF] Attempting graceful shutdown...
[INF] Uploading scan results to cloud...
[0:00:25] | Templates: 7432 | Hosts: 1 | RPS: 151 | Matched: 2 | Errors: 1074 | Requests: 3781/11183 (33%)
[INF] Uploaded results chunk, you can view scan results at https://cloud.projectdiscovery.io/scans/cmknvrvsii6s73au799g
[INF] 2 Scan results uploaded to cloud, you can view scan results at https://cloud.projectdiscovery.io/scans/cmknvrvsii6s73au799g
[0:00:26] | Templates: 7432 | Hosts: 1 | RPS: 150 | Matched: 2 | Errors: 1074 | Requests: 3924/11183 (35%)
[INF] Creating resume file: /Users/tarun/Library/Caches/nuclei/resume-cmko4i4o47mmvskvj5v0.cfg

@ehsandeep ehsandeep merged commit 29b69a1 into dev Jan 20, 2024
10 of 12 checks passed
@ehsandeep ehsandeep deleted the issue-4634-pdcp-upload-fix branch January 20, 2024 20:56
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.

Results failed to upload to PDCP when results size > 10 MB
2 participants