Skip to content

Commit

Permalink
Added unauthorized use disclaimers
Browse files Browse the repository at this point in the history
  • Loading branch information
pierreavn committed Jan 1, 2025
1 parent 1eec5df commit 646cb49
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 2 deletions.
5 changes: 4 additions & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
MIT License

Copyright (c) 2024 Verdex
Copyright (c) 2025 Verdex

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Any malicious or unauthorized use of Verdex to analyze or exploit online services is strictly prohibited.
Violations of these terms will result in revocation of the license and potential legal action.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ minimum version of the service** (see [How It Works](https://verdex-docs.mintlif

🎯 Currently, Verdex supports detecting versions of **Keycloak** and **NextCloud** (see [Products](https://verdex-docs.mintlify.app/essentials/products) documentation).

⚠️ Any unauthorized use of Verdex to analyze or exploit online services is strictly prohibited and violates both our license agreement and applicable laws. **Verdex must be used with explicit authorization from the owner or administrator of the targets being scanned**.

## 📖 Documentation
The entire tool documentation is available at [https://verdex-docs.mintlify.app](https://verdex-docs.mintlify.app)

Expand Down
5 changes: 5 additions & 0 deletions docs/introduction.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ minimum version of the service** (see [How It Works](/how-it-works) for more inf

Currently, Verdex supports detecting versions of **Keycloak** and **NextCloud** (see [Products](/essentials/products)).

<Warning>
Any unauthorized use of Verdex to analyze or exploit online services is strictly prohibited and violates both our license agreement and applicable laws.
**Verdex must be used with explicit authorization from the owner or administrator of the targets being scanned**.
</Warning>

## Essentials

<CardGroup cols={2}>
Expand Down
1 change: 1 addition & 0 deletions verdex/core/logging.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ var banner = fmt.Sprintf(`
// Render Verdex banner
func LogBanner() {
log.Info().Msgf("%s\n", banner)
log.Warn().Msg("Verdex is for ethical scans only, unauthorized use may constitute a violation of applicable laws.")
}

// Setup logger formatting
Expand Down
3 changes: 2 additions & 1 deletion verdex/ui/detection_result.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ func RenderDetectionResults(detection *core.Detection, err error) {
if err != nil {
log.Error().Err(err).Msg("An error occured")
} else if len(detection.PossibleVersions) == 0 {
log.Error().Msgf("Cannot determine %s version, maybe next time!", detection.Product)
log.Error().Msgf("Cannot determine %s version (•_•')", detection.Product)
log.Error().Msg("If service is running on a specific path, try to specify it (eg: -target https://example.com/path)")
} else if len(detection.PossibleVersions) == 1 {
log.Info().Msgf("🌪️ %s version found: %s", detection.Product, color.GreenString(detection.PossibleVersions[0].String()))
} else {
Expand Down

0 comments on commit 646cb49

Please sign in to comment.