143 Commits

Author SHA1 Message Date
husler 3a70ccf397 Fixed typos
I polished the README by fixing a few grammatical errors in the features list and adding missing punctuation to the 'Running httpx' section.
2026-04-28 22:26:02 +04:00
Doğan Can Bakır 1c4561ba07 feat: replace page classifier with dit, add -fpt flag
Closes #2403
2026-03-03 21:03:32 +03:00
Dogan Can Bakir 96ac054c2c Merge branch 'dev' into feature/database-output 2026-01-19 21:18:38 +07:00
Doğan Can Bakır 93633d2e82 docs: add secret file authentication documentation 2026-01-12 15:38:45 +03:00
Mzack9999 f445b0aa72 docs update + flags validation + debug logging 2026-01-12 15:34:24 +04:00
Doğan Can Bakır 2ea576f175 feat: add database output support for storing scan results
Add support for storing httpx scan results directly to databases with
both CLI flags and YAML config file options.

Supported databases:
- MongoDB
- PostgreSQL
- MySQL

Features:
- Batched writes for performance (configurable batch size)
- Auto-flush with configurable interval
- Individual columns for each Result field (not JSON blob)
- Support for environment variable HTTPX_DB_CONNECTION_STRING
- Option to omit raw request/response data (-rdbor)

New CLI flags under OUTPUT group:
- -rdb, -result-db: enable database storage
- -rdbc, -result-db-config: path to YAML config file
- -rdbt, -result-db-type: database type (mongodb, postgres, mysql)
- -rdbcs, -result-db-conn: connection string
- -rdbn, -result-db-name: database name (default: httpx)
- -rdbtb, -result-db-table: table/collection name (default: results)
- -rdbbs, -result-db-batch-size: batch size (default: 100)
- -rdbor, -result-db-omit-raw: omit raw data

Closes #1973
Closes #2360
Closes #2361
Closes #2362
2026-01-12 12:25:22 +03:00
Doğan Can Bakır 81461d35e8 feat: add passive CPE and WordPress detection
Add support for passive detection of CPE (Common Platform Enumeration)
identifiers and WordPress plugins/themes using awesome-search-queries.

CPE Detection (-cpe flag):
- Matches response title, body, and favicon hash against patterns
- Extracts product, vendor, and generates CPE 2.3 identifiers
- Uses patterns from Shodan, FOFA, Google dorks

WordPress Detection (-wp flag):
- Detects plugins via /wp-content/plugins/[name]/ patterns
- Detects themes via /wp-content/themes/[name]/ patterns
- Validates against known plugins/themes list

New CLI flags in PROBES group:
- -cpe: display CPE based on awesome-search-queries
- -wp, -wordpress: display WordPress plugins and themes

Both are automatically included in JSON/CSV output.

Closes #1975
2026-01-06 13:22:43 +03:00
Mzack9999 78bf9c393a restoring original logic + limiting read to 512Mb + lint 2025-12-24 15:00:10 +04:00
Connor Larson a28b9fa3d6 fix: updated README max response size to match edit 2025-12-22 12:31:44 -07:00
Mzack9999 ef56623b85 updating docs 2025-10-24 14:38:08 +04:00
Mzack9999 f94f72d546 Merge pull request #2287 from ayanrajpoot10/dev
feat: add shorthand flag for websocket option in command line
2025-10-15 17:43:04 +02:00
Haozhe Zhang 4346dfec45 Update Go version requirement from 1.21 to 1.24 for httpx v1.7.1 installation
The actual code requires go >= 1.24.0 but the documentation still mentions 1.21. Updated to reflect the correct requirement.
2025-10-10 12:32:18 -07:00
ayanrajpoot10 8f33284c4f feat: add shorthand flag for websocket option in command line 2025-10-10 20:51:55 +05:30
Mzack9999 d85379f8fa Merge pull request #2263 from projectdiscovery/1803_add_custom_fingerprint_support
add custom fingerprint support
2025-09-10 15:43:51 +02:00
ayanrajpoot10 29246f42ba docs: remove redundant usage section from README 2025-09-09 21:19:44 +05:30
Doğan Can Bakır da1e3b2940 add custom fingerprint support 2025-09-09 17:09:47 +03:00
Mzack9999 a8a49695f6 update readme 2025-09-03 12:40:46 +02:00
Mzack9999 281ed1678f doc 2025-08-28 16:47:47 +02:00
Mzack9999 53f53c1d73 removing sfp 2025-04-02 20:08:20 +02:00
Mzack9999 f886c404e9 reverse logic 2025-04-02 20:01:09 +02:00
yoshino-s ad67e70a25 feat(headless): add options to specific if screenshot with full page 2025-03-27 14:11:38 +08:00
sandeep 719aa8be74 readme update 2024-10-21 03:49:03 +05:30
Dogan Can Bakir a5f8198169 add auth cred file flag (#1912)
* add auth cred file flag

* update readme

* rename
2024-09-16 23:59:37 +05:30
sandeep 56f4474f30 updated docs to include dashboard options 2024-08-01 00:12:59 +05:30
Dogan Can Bakir fe00d47fbf introduce path flag for -fep (#1830)
Co-authored-by: Sandeep Singh <sandeep@projectdiscovery.io>
2024-07-30 22:13:17 +05:30
SAEED 736ed3299c Added the Functionality of storing raw request response headers (#1671)
* implemented storing header

* Revert "chore(deps): bump github.com/quic-go/quic-go from 0.37.7 to 0.42.0"

This reverts commit a88d85acd6.

* implemented req/resp headers storing feature

* implemented req/resp headers storing feature

* update readme

* commit to last commit

* add `-ob, -omit-body` flag

---------

Co-authored-by: Sandeep Singh <sandeep@projectdiscovery.io>
Co-authored-by: Doğan Can Bakır <dogancanbakir@protonmail.com>
Co-authored-by: Mzack9999 <mzack9999@protonmail.com>
2024-06-13 02:37:14 +05:30
Mzack9999 6811b18e85 removing redundant code + update readme 2024-06-12 15:36:16 +02:00
Doğan Can Bakır 812d7d892f update README 2024-06-11 12:07:28 +03:00
sandeep 870a621f2e readme update 2024-05-19 23:16:21 +05:30
Yoshino-s b57c8c31db feat(flags): add screenshot-timeout flag (#1516)
* chore(deps): bump golang.org/x/net from 0.14.0 to 0.17.0 (#1400)

Bumps [golang.org/x/net](https://github.com/golang/net) from 0.14.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.14.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump golang.org/x/crypto from 0.14.0 to 0.17.0 (#1493)

Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.14.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.14.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* feat(flags): add screenshot-timeout flag

* misc update

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com>
Co-authored-by: Sandeep Singh <sandeep@projectdiscovery.io>
2024-01-16 04:08:04 +05:30
mzack 8b584f069c updating docs 2024-01-07 21:15:21 +01:00
Doğan Can Bakır af5909bcac introduce -exclude flag 2024-01-04 15:16:02 +03:00
Brendan O'Leary c8b1e1b959 Brendan update readme (#1495)
Update README to match centralized docs

Co-authored-by: Brendan O'Leary <boleary@gitlab.com>
2023-12-29 22:55:57 +05:30
seeyarh 91139dbc91 Fix chrome unsafe port err by setting explicitly-allowed-ports (#1343)
* Update headless.go

* adding headless generic option

---------

Co-authored-by: mzack <marco.rivoli.nvh@gmail.com>
2023-11-28 18:18:29 +05:30
Cody Cline 7dee9988ca Feature: optional flag to skip a host if it has a private IP address. (#1408)
* feat: Implement flag which when enabled, will skip any host with a private ip address instead of timing out.

* fix: Amend private ip check to include loopback and link-local addresses

* fix: Amend debug message to be more concise

* fix: Account for port numbers in skipPrivateHosts feature

* docs: Remove uncessary  debug statement

* readme update

---------

Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com>
2023-11-02 14:21:22 +05:30
Doğan Can Bakır 0f1b51b6c8 introduce visual recon clusters 2023-09-20 08:31:30 +00:00
Mzack9999 88fa321dc4 Restoring https://github.com/projectdiscovery/httpx/pull/1331 (#1360)
* Restoring https://github.com/projectdiscovery/httpx/pull/1331

* updating readme
2023-09-14 17:51:38 +05:30
sandeep d380f3139b readme update 2023-09-13 23:15:18 +05:30
sandeep b6793864ee readme updates 2023-09-12 16:30:03 +05:30
JoMar 11fa743dd9 Allow to show response headers in json output without using -irh option (#1326)
* Show responses headers in JSON output

* Update ident

* Update options name

* Update option & README

* Add missing 's'

* Add missing 's'

* updated headers to header for user facing variable to keep it uniform

* updating doc

---------

Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com>
Co-authored-by: Mzack9999 <mzack9999@protonmail.com>
2023-09-12 03:37:54 +05:30
Mzack9999 0f6edb50be refactor hsts implementation 2023-09-11 17:53:26 +02:00
Ramana Reddy 76adadfeb4 Add flag to preview first N characters (#1316)
* Add flag to preview first N characters

* use dynamic var for body-preview flag

* strip html tags from response

* add stripe option to remove html or xml tags

* typo

* resolve merge conflicts

* add test and update readme

* update readme

* typo

* typo no 2

* small refactor

* include body preview in jsonl output

* minor changes

---------

Co-authored-by: mzack <marco.rivoli.nvh@gmail.com>
Co-authored-by: Mzack9999 <mzack9999@protonmail.com>
2023-09-07 15:26:54 +05:30
JoMar 179678581d Exclude WAF (#1341)
* Exclude WAF

* Add missing 's'

* Revert "Add missing 's'"

This reverts commit 467ceca320.
2023-09-05 19:53:06 +05:30
Mzack9999 b3de0bc9d7 Merge pull request #1245 from dogancanbakir/error_page_classifier
Error page classifier
2023-07-19 14:50:16 +02:00
sandeep 1c15cc3595 Update README.md 2023-07-18 01:41:26 +05:30
dependabot[bot] 5ed2fab4e1 chore(deps): bump github.com/projectdiscovery/dsl from 0.0.12 to 0.0.14 (#1286)
* chore(deps): bump github.com/projectdiscovery/dsl from 0.0.12 to 0.0.14

Bumps [github.com/projectdiscovery/dsl](https://github.com/projectdiscovery/dsl) from 0.0.12 to 0.0.14.
- [Release notes](https://github.com/projectdiscovery/dsl/releases)
- [Commits](https://github.com/projectdiscovery/dsl/compare/v0.0.12...v0.0.14)

---
updated-dependencies:
- dependency-name: github.com/projectdiscovery/dsl
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* bump go version

* updating readme

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sandeep Singh <sandeep@projectdiscovery.io>
Co-authored-by: mzack <marco.rivoli.nvh@gmail.com>
2023-07-17 20:59:12 +05:30
Doğan Can Bakır e90a4346fa update example 2023-07-17 15:37:43 +03:00
sandeep 366a98493b Merge branch 'dev' into pr/1245 2023-07-17 16:43:04 +05:30
Sandeep Singh ac5348bcb9 Workflow update (#1290)
* added auto dep merge

* added release test in build workflow

* workflow update

* Added Disclaimer
2023-07-17 16:31:08 +05:30
Dogan Can Bakir c3eb8897e7 Support multiple output format (#1242)
* support multiple output format

* output plain text when -oA

* separate the conditions

* fail output-all when it's not used with output

* update doc

* remove hashes for plain output when -hash isn't used

* add integration test

* use filepath

* fix no hash std output

* remove json/csv extension for json/csv only output

* add ext when both -csv and -json is used

* fix assertion

* commit to last commit

* print filenames

* no tmpdir

* remove files

* remove prints

* lowercase options

* test update

---------

Co-authored-by: Mzack9999 <mzack9999@protonmail.com>
Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com>
2023-07-17 16:09:10 +05:30