René's URL Explorer Experiment


Title: Added the tunnel variable from the nmap results to be used in CascadingRules. by luckolen · Pull Request #369 · secureCodeBox/secureCodeBox · GitHub

Open Graph Title: Added the tunnel variable from the nmap results to be used in CascadingRules. by luckolen · Pull Request #369 · secureCodeBox/secureCodeBox

X Title: Added the tunnel variable from the nmap results to be used in CascadingRules. by luckolen · Pull Request #369 · secureCodeBox/secureCodeBox

Description: Description NMAP reports the tunnel detected in the service when showing the normal result: $ nmap -p 993 imap.gmail.com -sV -Pn [...] PORT STATE SERVICE VERSION 993/tcp open ssl/imap Google Gmail imapd (b9mb63645759edy) [...] SecureCodeBox makes use of the XML output, this is shown by the -oX parameter: $ nmap -p 993 imap.gmail.com -oX - -sV -Pn [...] [...] The NMAP XML results report the service name as imap and the tunnel as ssl. The SecureCodeBox NMAP parser does read this tunnel value secureCodeBox/scanners/nmap/parser/parser.js Line 279 in 1f26c9f const tunnel = get(portItem, ["service",0,"$","tunnel"]); However this value is later ignored in the portFindings variable secureCodeBox/scanners/nmap/parser/parser.js Lines 13 to 61 in 1f26c9f const portFindings = hosts.flatMap(({ openPorts = [], ...hostInfo }) => { if(openPorts === null){ return []; } return openPorts.map(openPort => { return { name: openPort.service, description: `Port ${openPort.port} is ${openPort.state} using ${openPort.protocol} protocol.`, category: 'Open Port', location: `${openPort.protocol}://${hostInfo.ip}:${openPort.port}`, osi_layer: 'NETWORK', severity: 'INFORMATIONAL', attributes: { port: openPort.port, state: openPort.state, ip_address: hostInfo.ip, mac_address: hostInfo.mac, protocol: openPort.protocol, hostname: hostInfo.hostname, method: openPort.method, operating_system: hostInfo.osNmap, service: openPort.service, serviceProduct: openPort.serviceProduct || null, serviceVersion: openPort.serviceVersion || null, scripts: openPort.scriptOutputs || null, }, }; }); }); const hostFindings = hosts.map(({ hostname, ip, osNmap }) => { return { name: `Host: ${hostname}`, category: 'Host', description: 'Found a host', location: hostname, severity: 'INFORMATIONAL', osi_layer: 'NETWORK', attributes: { ip_address: ip, hostname: hostname, operating_system: osNmap, }, }; }); return [...portFindings, ...hostFindings, ...scriptFindings]; } As a result this tunnel value was unable to be used for CascadingRules. This is fixed by this update and as an example the CascadingRules used for SSLYZE have been updated. Checklist Test your changes as thoroughly as possible before you commit them. Preferably, automate your test by unit/integration tests. Make sure npm test runs for the whole project. Make codeclimate checks happy

Open Graph Description: Description NMAP reports the tunnel detected in the service when showing the normal result: $ nmap -p 993 imap.gmail.com -sV -Pn [...] PORT STATE SERVICE VERSION 993/tcp open ssl/imap Google ...

X Description: Description NMAP reports the tunnel detected in the service when showing the normal result: $ nmap -p 993 imap.gmail.com -sV -Pn [...] PORT STATE SERVICE VERSION 993/tcp open ssl/imap Google ...

Opengraph URL: https://github.com/secureCodeBox/secureCodeBox/pull/369

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:e086237a-abd6-1799-f553-f3a485b1b015
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8406:B3BA4:31AA0C:418C19:69767A92
html-safe-nonce17c1fa8fb1fa8acab0098273fb9b0b901533729559fa7ca8bc619639c5c4dfd6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NDA2OkIzQkE0OjMxQUEwQzo0MThDMTk6Njk3NjdBOTIiLCJ2aXNpdG9yX2lkIjoiNTg2ODU5ODk2NTE5MTQ3MzgxMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac951cc44cd077f6d8205084fc661af1a61b27606555ec10b192c6d48579a9ef77
hovercard-subject-tagpull_request:613705198
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/secureCodeBox/secureCodeBox/pull/369/files
twitter:imagehttps://avatars.githubusercontent.com/u/678666?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/678666?s=400&v=4
og:image:altDescription NMAP reports the tunnel detected in the service when showing the normal result: $ nmap -p 993 imap.gmail.com -sV -Pn [...] PORT STATE SERVICE VERSION 993/tcp open ssl/imap Google ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None032152924a283b83384255d9489e7b93b54ba01da8d380b05ecd3953b3212411
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/secureCodeBox/secureCodeBox git https://github.com/secureCodeBox/secureCodeBox.git
octolytics-dimension-user_id34573705
octolytics-dimension-user_loginsecureCodeBox
octolytics-dimension-repository_id80711933
octolytics-dimension-repository_nwosecureCodeBox/secureCodeBox
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id80711933
octolytics-dimension-repository_network_root_nwosecureCodeBox/secureCodeBox
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release5b577f6be6482e336e3c30e8daefa30144947b17
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/secureCodeBox/secureCodeBox/pull/369/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FsecureCodeBox%2FsecureCodeBox%2Fpull%2F369%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FsecureCodeBox%2FsecureCodeBox%2Fpull%2F369%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=secureCodeBox%2FsecureCodeBox
Reloadhttps://github.com/secureCodeBox/secureCodeBox/pull/369/files
Reloadhttps://github.com/secureCodeBox/secureCodeBox/pull/369/files
Reloadhttps://github.com/secureCodeBox/secureCodeBox/pull/369/files
secureCodeBox https://github.com/secureCodeBox
secureCodeBoxhttps://github.com/secureCodeBox/secureCodeBox
Notifications https://github.com/login?return_to=%2FsecureCodeBox%2FsecureCodeBox
Fork 175 https://github.com/login?return_to=%2FsecureCodeBox%2FsecureCodeBox
Star 941 https://github.com/login?return_to=%2FsecureCodeBox%2FsecureCodeBox
Code https://github.com/secureCodeBox/secureCodeBox
Issues 72 https://github.com/secureCodeBox/secureCodeBox/issues
Pull requests 3 https://github.com/secureCodeBox/secureCodeBox/pulls
Discussions https://github.com/secureCodeBox/secureCodeBox/discussions
Actions https://github.com/secureCodeBox/secureCodeBox/actions
Projects 1 https://github.com/secureCodeBox/secureCodeBox/projects
Security 1 https://github.com/secureCodeBox/secureCodeBox/security
Insights https://github.com/secureCodeBox/secureCodeBox/pulse
Code https://github.com/secureCodeBox/secureCodeBox
Issues https://github.com/secureCodeBox/secureCodeBox/issues
Pull requests https://github.com/secureCodeBox/secureCodeBox/pulls
Discussions https://github.com/secureCodeBox/secureCodeBox/discussions
Actions https://github.com/secureCodeBox/secureCodeBox/actions
Projects https://github.com/secureCodeBox/secureCodeBox/projects
Security https://github.com/secureCodeBox/secureCodeBox/security
Insights https://github.com/secureCodeBox/secureCodeBox/pulse
Sign up for GitHub https://github.com/signup?return_to=%2FsecureCodeBox%2FsecureCodeBox%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FsecureCodeBox%2FsecureCodeBox%2Fissues%2Fnew%2Fchoose
J12934https://github.com/J12934
secureCodeBox:mainhttps://github.com/secureCodeBox/secureCodeBox/tree/main
Conversation 1 https://github.com/secureCodeBox/secureCodeBox/pull/369
Commits 5 https://github.com/secureCodeBox/secureCodeBox/pull/369/commits
Checks 0 https://github.com/secureCodeBox/secureCodeBox/pull/369/checks
Files changed https://github.com/secureCodeBox/secureCodeBox/pull/369/files
Please reload this pagehttps://github.com/secureCodeBox/secureCodeBox/pull/369/files
Added the tunnel variable from the nmap results to be used in CascadingRules. https://github.com/secureCodeBox/secureCodeBox/pull/369/files#top
Show all changes 5 commits https://github.com/secureCodeBox/secureCodeBox/pull/369/files
6f24129 Update fork to include changes on secureCodeBox/secureCodeBox:main luckolen Apr 12, 2021 https://github.com/secureCodeBox/secureCodeBox/pull/369/commits/6f24129fa3a9857f61b32d553262471b0bebb85d
844e0b8 Added tunnel variable to attribute list in nmap parser luckolen-secura Apr 12, 2021 https://github.com/secureCodeBox/secureCodeBox/pull/369/commits/844e0b85414b3a7489230fa95b7dae3f0eb5c4e0
2e2f5db Updated sslyze CascadingRules luckolen-secura Apr 12, 2021 https://github.com/secureCodeBox/secureCodeBox/pull/369/commits/2e2f5dbd28a9d3a504aa72526951f410a7bd03e5
4cbdc9b Added ftp via ssl tunnel to sslyze rules luckolen-secura Apr 12, 2021 https://github.com/secureCodeBox/secureCodeBox/pull/369/commits/4cbdc9b71c1d11f19f50c682e0c4832e3d0662bb
7f48f90 Merge branch 'main' into nmap-parser-tunnel J12934 Apr 19, 2021 https://github.com/secureCodeBox/secureCodeBox/pull/369/commits/7f48f904db1c9a8b774c48795e2e77f4baa26e59
Clear filters https://github.com/secureCodeBox/secureCodeBox/pull/369/files
Please reload this pagehttps://github.com/secureCodeBox/secureCodeBox/pull/369/files
Please reload this pagehttps://github.com/secureCodeBox/secureCodeBox/pull/369/files
parser.js https://github.com/secureCodeBox/secureCodeBox/pull/369/files#diff-cf0edbb85f12f221324d7e3ff90e975e2ed8c27f6a36cc5270ef32d49a9159cc
ftps.yaml https://github.com/secureCodeBox/secureCodeBox/pull/369/files#diff-81cc0dfcb4c229107ffb983730e07781f751e4336632e97613669f81a4533a77
https.yaml https://github.com/secureCodeBox/secureCodeBox/pull/369/files#diff-e4ba1be6935d5183dbf3e7cedc7edc34e67d456dd49d113c9b5f25c7353ac505
ldaps.yaml https://github.com/secureCodeBox/secureCodeBox/pull/369/files#diff-70badfcdababb6d28b8cc86583942c8df8bd836200042ccb3c487bbebe0d1ad9
mail.yaml https://github.com/secureCodeBox/secureCodeBox/pull/369/files#diff-430a2eb3d741cae355d06754bc88a9963a914971b9a4f55de18af4db5b605f1b
scanners/nmap/parser/parser.jshttps://github.com/secureCodeBox/secureCodeBox/pull/369/files#diff-cf0edbb85f12f221324d7e3ff90e975e2ed8c27f6a36cc5270ef32d49a9159cc
View file https://github.com/secureCodeBox/secureCodeBox/blob/7f48f904db1c9a8b774c48795e2e77f4baa26e59/scanners/nmap/parser/parser.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/secureCodeBox/secureCodeBox/pull/369/{{ revealButtonHref }}
https://github.com/secureCodeBox/secureCodeBox/pull/369/files#diff-cf0edbb85f12f221324d7e3ff90e975e2ed8c27f6a36cc5270ef32d49a9159cc
https://github.com/secureCodeBox/secureCodeBox/pull/369/files#diff-cf0edbb85f12f221324d7e3ff90e975e2ed8c27f6a36cc5270ef32d49a9159cc
scanners/sslyze/cascading-rules/ftps.yamlhttps://github.com/secureCodeBox/secureCodeBox/pull/369/files#diff-81cc0dfcb4c229107ffb983730e07781f751e4336632e97613669f81a4533a77
View file https://github.com/secureCodeBox/secureCodeBox/blob/7f48f904db1c9a8b774c48795e2e77f4baa26e59/scanners/sslyze/cascading-rules/ftps.yaml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/secureCodeBox/secureCodeBox/pull/369/{{ revealButtonHref }}
https://github.com/secureCodeBox/secureCodeBox/pull/369/files#diff-81cc0dfcb4c229107ffb983730e07781f751e4336632e97613669f81a4533a77
https://github.com/secureCodeBox/secureCodeBox/pull/369/files#diff-81cc0dfcb4c229107ffb983730e07781f751e4336632e97613669f81a4533a77
scanners/sslyze/cascading-rules/https.yamlhttps://github.com/secureCodeBox/secureCodeBox/pull/369/files#diff-e4ba1be6935d5183dbf3e7cedc7edc34e67d456dd49d113c9b5f25c7353ac505
View file https://github.com/secureCodeBox/secureCodeBox/blob/7f48f904db1c9a8b774c48795e2e77f4baa26e59/scanners/sslyze/cascading-rules/https.yaml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/secureCodeBox/secureCodeBox/pull/369/{{ revealButtonHref }}
https://github.com/secureCodeBox/secureCodeBox/pull/369/files#diff-e4ba1be6935d5183dbf3e7cedc7edc34e67d456dd49d113c9b5f25c7353ac505
scanners/sslyze/cascading-rules/ldaps.yamlhttps://github.com/secureCodeBox/secureCodeBox/pull/369/files#diff-70badfcdababb6d28b8cc86583942c8df8bd836200042ccb3c487bbebe0d1ad9
View file https://github.com/secureCodeBox/secureCodeBox/blob/7f48f904db1c9a8b774c48795e2e77f4baa26e59/scanners/sslyze/cascading-rules/ldaps.yaml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/secureCodeBox/secureCodeBox/pull/369/{{ revealButtonHref }}
https://github.com/secureCodeBox/secureCodeBox/pull/369/files#diff-70badfcdababb6d28b8cc86583942c8df8bd836200042ccb3c487bbebe0d1ad9
https://github.com/secureCodeBox/secureCodeBox/pull/369/files#diff-70badfcdababb6d28b8cc86583942c8df8bd836200042ccb3c487bbebe0d1ad9
scanners/sslyze/cascading-rules/mail.yamlhttps://github.com/secureCodeBox/secureCodeBox/pull/369/files#diff-430a2eb3d741cae355d06754bc88a9963a914971b9a4f55de18af4db5b605f1b
View file https://github.com/secureCodeBox/secureCodeBox/blob/7f48f904db1c9a8b774c48795e2e77f4baa26e59/scanners/sslyze/cascading-rules/mail.yaml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/secureCodeBox/secureCodeBox/pull/369/{{ revealButtonHref }}
https://github.com/secureCodeBox/secureCodeBox/pull/369/files#diff-430a2eb3d741cae355d06754bc88a9963a914971b9a4f55de18af4db5b605f1b
https://github.com/secureCodeBox/secureCodeBox/pull/369/files#diff-430a2eb3d741cae355d06754bc88a9963a914971b9a4f55de18af4db5b605f1b
https://github.com/secureCodeBox/secureCodeBox/pull/369/files#diff-430a2eb3d741cae355d06754bc88a9963a914971b9a4f55de18af4db5b605f1b
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.