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

Added Awesome Search Queries (-cpe) and Passive Wordpress Plugins and Themes ( -wp, -wordpress ) flags #1976

Draft
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

parthmalhotra
Copy link
Member

@parthmalhotra parthmalhotra commented Oct 30, 2024

Awesome Search Queries Integration (-cpe)

Product and Vendor extraction based on awesome-search-queries, The title, favicon and body based queries in awesome-search-queries gets matched with the result of the host probed by httpx, On matching queries the product and vendor and CPE information is added to the results.

parth@Parths-Laptop httpx % echo https://example.com/ | ./httpx -cpe

    __    __  __       _  __
   / /_  / /_/ /_____ | |/ /
  / __ \/ __/ __/ __ \|   /
 / / / / /_/ /_/ /_/ /   |
/_/ /_/\__/\__/ .___/_/|_|
             /_/

                projectdiscovery.io

[INF] Current httpx version v1.6.9 (latest)
[WRN] UI Dashboard is disabled, Use -dashboard option to enable
https://example.com/ [cpe:2.3:a:papercut:papercut_mf:*:*:*:*:*:*:*:*] [papercut] [papercut_mf]
parth@Parths-Laptop httpx % 

With -json

  "product": "papercut_mf",
  "vendor": "papercut",
  "cpe": "cpe:2.3:a:papercut:papercut_mf:*:*:*:*:*:*:*:*"

Passive Wordpress Plugins and Themes Detection ( -wp, -wordpress )

parth@Parths-Laptop httpx % echo https://wordpress.example.com/ | ./httpx -wp             

    __    __  __       _  __
   / /_  / /_/ /_____ | |/ /
  / __ \/ __/ __/ __ \|   /
 / / / / /_/ /_/ /_/ /   |
/_/ /_/\__/\__/ .___/_/|_|
             /_/

                projectdiscovery.io

[INF] Current httpx version v1.6.9 (latest)
[WRN] UI Dashboard is disabled, Use -dashboard option to enable
https://wordpress.example.com/ [WP Plugins: gutenberg,accordion-blocks,contact-form-7,svg-support,woocommerce,ultimate-addons-for-gutenberg] [WP Themes: swiss]
parth@Parths-Laptop httpx % 

With -json :

  "wordpress": {
    "plugins": [
      "gutenberg",
      "accordion-blocks",
      "contact-form-7",
      "svg-support",
      "woocommerce",
      "ultimate-addons-for-gutenberg"
    ],
    "themes": [
      "swiss"
    ]
  }

Closes #1975

… plugin and theme detection (-wp, -wordpress) flag
@ehsandeep ehsandeep changed the base branch from main to dev October 30, 2024 11:40
@ehsandeep ehsandeep marked this pull request as draft October 30, 2024 11:55
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.

Passive CPE and Wordpress Plugin / Theme Detection
2 participants