Skip to content

Commit 41b989e

Browse files
fix: remove emoji characters from CLI output messages
1 parent 6d63507 commit 41b989e

26 files changed

Lines changed: 208 additions & 90 deletions

cmd/atomic.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ func printSafetyReportTable(report atomic.SafetyReport) {
563563
if len(report.Warnings) > 0 {
564564
fmt.Printf("Warnings:\n")
565565
for _, warning := range report.Warnings {
566-
fmt.Printf(" ⚠️ %s\n", warning)
566+
fmt.Printf(" %s\n", warning)
567567
}
568568
fmt.Println()
569569
}

cmd/auth.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -704,7 +704,7 @@ func printComprehensiveDiscoveryResults(result struct {
704704
}
705705

706706
if len(impl.Vulnerabilities) > 0 {
707-
fmt.Printf(" ⚠️ Vulnerabilities: %d found\n", len(impl.Vulnerabilities))
707+
fmt.Printf(" Vulnerabilities: %d found\n", len(impl.Vulnerabilities))
708708
}
709709
fmt.Println()
710710
}

cmd/config.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ var configShowCmd = &cobra.Command{
133133
// Load and display configured APIs
134134
keys := credManager.GetAPIKeys()
135135

136-
fmt.Println("\n🔧 Current Configuration")
136+
fmt.Println("\n Current Configuration")
137137
fmt.Println("═══════════════════════")
138138

139139
fmt.Println("\n📡 API Keys:")
@@ -175,7 +175,7 @@ var configClearCmd = &cobra.Command{
175175
force, _ := cmd.Flags().GetBool("force")
176176

177177
if !force {
178-
fmt.Println("⚠️ This will delete all stored API credentials.")
178+
fmt.Println(" This will delete all stored API credentials.")
179179
fmt.Print("Are you sure? [y/N]: ")
180180

181181
var response string

cmd/deploy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ var deployStatusCmd = &cobra.Command{
152152

153153
statusIcon := ""
154154
if status.Status != "running" && status.Status != "complete" {
155-
statusIcon = "⚠️"
155+
statusIcon = ""
156156
}
157157

158158
fmt.Printf("%s %s: %s\n", statusIcon, component, status.Status)

cmd/discover_favicon.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ func runFaviconAdd(cmd *cobra.Command, args []string) error {
365365
// Save to custom database if specified
366366
if customDatabase != "" {
367367
if err := database.SaveToFile(customDatabase); err != nil {
368-
fmt.Printf("⚠️ Warning: Failed to save to custom database: %v\n", err)
368+
fmt.Printf(" Warning: Failed to save to custom database: %v\n", err)
369369
} else {
370370
fmt.Printf("💾 Saved to custom database: %s\n", customDatabase)
371371
}
@@ -426,7 +426,7 @@ func runFaviconStats(cmd *cobra.Command, args []string) error {
426426
fmt.Printf("Total Scans: %d\n", stats.TotalScans)
427427

428428
// Show top technologies
429-
fmt.Printf("\n🔧 Available Technologies (sample):\n")
429+
fmt.Printf("\n Available Technologies (sample):\n")
430430
for i, tech := range technologies {
431431
if i >= 10 { // Show first 10
432432
fmt.Printf("... and %d more\n", len(technologies)-10)

cmd/hunt.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ func init() {
6868

6969
func runHuntCommand(cmd *cobra.Command, args []string) error {
7070
// Display deprecation warning
71-
color.Yellow("\n⚠️ DEPRECATION WARNING: The 'hunt' command is deprecated.\n")
71+
color.Yellow("\n DEPRECATION WARNING: The 'hunt' command is deprecated.\n")
7272
color.White(" Use 'shells %s' instead for the same functionality.\n\n", args[0])
7373

7474
target := args[0]

cmd/logic.go

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,9 @@ Examples:
125125
fmt.Printf("\n🏆 Security Score: %d/100\n", results.SecurityScore)
126126

127127
if results.SecurityScore < 70 {
128-
fmt.Printf("⚠️ CRITICAL: Significant vulnerabilities detected!\n")
128+
fmt.Printf(" CRITICAL: Significant vulnerabilities detected!\n")
129129
} else if results.SecurityScore < 85 {
130-
fmt.Printf("⚠️ WARNING: Security improvements needed\n")
130+
fmt.Printf(" WARNING: Security improvements needed\n")
131131
} else {
132132
fmt.Printf(" Good: Password reset flow appears secure\n")
133133
}
@@ -322,7 +322,7 @@ Examples:
322322
fmt.Printf(" Vulnerable endpoints: %d\n", vulnerableCount)
323323

324324
if vulnerableCount > 0 {
325-
fmt.Printf("⚠️ CRITICAL: Race condition vulnerabilities detected!\n")
325+
fmt.Printf(" CRITICAL: Race condition vulnerabilities detected!\n")
326326
} else {
327327
fmt.Printf(" No race condition vulnerabilities found\n")
328328
}
@@ -433,7 +433,7 @@ Examples:
433433
if criticalCount > 0 {
434434
fmt.Printf("🚨 CRITICAL: MFA can be completely bypassed!\n")
435435
} else if highCount > 0 {
436-
fmt.Printf("⚠️ WARNING: MFA bypass vulnerabilities detected\n")
436+
fmt.Printf(" WARNING: MFA bypass vulnerabilities detected\n")
437437
} else if len(results) > 0 {
438438
fmt.Printf("ℹ️ INFO: Minor MFA implementation issues found\n")
439439
} else {
@@ -555,7 +555,7 @@ Examples:
555555
if criticalCount > 0 {
556556
fmt.Printf("🚨 CRITICAL: Financial exploitation possible!\n")
557557
} else if highCount > 0 {
558-
fmt.Printf("⚠️ WARNING: Payment logic vulnerabilities detected\n")
558+
fmt.Printf(" WARNING: Payment logic vulnerabilities detected\n")
559559
} else if len(results) > 0 {
560560
fmt.Printf("ℹ️ INFO: Minor payment logic issues found\n")
561561
} else {
@@ -684,7 +684,7 @@ Examples:
684684
if criticalCount > 0 {
685685
fmt.Printf("🚨 CRITICAL: Account recovery can be fully bypassed!\n")
686686
} else if highCount > 0 {
687-
fmt.Printf("⚠️ WARNING: Recovery bypass vulnerabilities detected\n")
687+
fmt.Printf(" WARNING: Recovery bypass vulnerabilities detected\n")
688688
} else if len(results) > 0 {
689689
fmt.Printf("ℹ️ INFO: Minor recovery implementation issues found\n")
690690
} else {
@@ -777,9 +777,9 @@ Examples:
777777
if report.Metadata.CriticalCount > 0 {
778778
fmt.Printf("🚨 CRITICAL: Immediate action required - %d critical vulnerabilities\n", report.Metadata.CriticalCount)
779779
} else if report.Metadata.HighCount > 2 {
780-
fmt.Printf("⚠️ HIGH RISK: Significant vulnerabilities detected - %d high-risk issues\n", report.Metadata.HighCount)
780+
fmt.Printf(" HIGH RISK: Significant vulnerabilities detected - %d high-risk issues\n", report.Metadata.HighCount)
781781
} else if report.Metadata.HighCount > 0 {
782-
fmt.Printf("⚠️ WARNING: Some high-risk vulnerabilities - %d issues\n", report.Metadata.HighCount)
782+
fmt.Printf(" WARNING: Some high-risk vulnerabilities - %d issues\n", report.Metadata.HighCount)
783783
} else if report.Metadata.VulnsFound > 0 {
784784
fmt.Printf("ℹ️ INFO: Minor security issues found - %d total\n", report.Metadata.VulnsFound)
785785
} else {
@@ -1105,7 +1105,7 @@ func getSeverityEmoji(severity string) string {
11051105
case logic.SeverityCritical:
11061106
return "🚨"
11071107
case logic.SeverityHigh:
1108-
return "⚠️"
1108+
return ""
11091109
case logic.SeverityMedium:
11101110
return "⚡"
11111111
case logic.SeverityLow:

cmd/oath2_advanced.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ func runOAuth2AdvancedDiscover(cmd *cobra.Command, args []string) error {
351351
}
352352

353353
// Supported features
354-
fmt.Printf("\n🔧 Supported Features:\n")
354+
fmt.Printf("\n Supported Features:\n")
355355

356356
if responseTypes, ok := discoveryDoc["response_types_supported"].([]interface{}); ok {
357357
fmt.Printf(" Response Types: %v\n", responseTypes)
@@ -371,7 +371,7 @@ func runOAuth2AdvancedDiscover(cmd *cobra.Command, args []string) error {
371371
// Check PKCE support
372372
pkceMethods, hasPKCE := discoveryDoc["code_challenge_methods_supported"].([]interface{})
373373
if !hasPKCE || len(pkceMethods) == 0 {
374-
fmt.Printf(" ⚠️ PKCE not supported - vulnerable to authorization code interception\n")
374+
fmt.Printf(" PKCE not supported - vulnerable to authorization code interception\n")
375375
} else {
376376
fmt.Printf(" PKCE supported with methods: %v\n", pkceMethods)
377377
}
@@ -386,7 +386,7 @@ func runOAuth2AdvancedDiscover(cmd *cobra.Command, args []string) error {
386386
}
387387
}
388388
if hasImplicit {
389-
fmt.Printf(" ⚠️ Implicit flow supported - consider deprecating\n")
389+
fmt.Printf(" Implicit flow supported - consider deprecating\n")
390390
}
391391
}
392392

@@ -400,7 +400,7 @@ func runOAuth2AdvancedDiscover(cmd *cobra.Command, args []string) error {
400400
}
401401
}
402402
if hasNone {
403-
fmt.Printf(" ⚠️ 'none' auth method supported at token endpoint\n")
403+
fmt.Printf(" 'none' auth method supported at token endpoint\n")
404404
}
405405
}
406406

cmd/orchestrator_main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ func runIntelligentOrchestrator(ctx context.Context, target string, cmd *cobra.C
4040

4141
// Display warnings if any
4242
if len(validationResult.Warnings) > 0 {
43-
color.Yellow("\n⚠️ Warnings:\n")
43+
color.Yellow("\n Warnings:\n")
4444
for _, warning := range validationResult.Warnings {
4545
fmt.Printf(" • %s\n", warning)
4646
}

cmd/platform.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ This command will:
225225
for _, platformName := range platforms {
226226
client, err := getPlatformClient(platformName)
227227
if err != nil {
228-
fmt.Printf("⚠️ Skipping %s: %v\n", platformName, err)
228+
fmt.Printf(" Skipping %s: %v\n", platformName, err)
229229
continue
230230
}
231231

@@ -246,7 +246,7 @@ This command will:
246246
// Check if already submitted
247247
dbStore, ok := store.(*database.Store)
248248
if !ok {
249-
fmt.Printf(" ⚠️ Database type assertion failed, skipping duplicate check\n")
249+
fmt.Printf(" Database type assertion failed, skipping duplicate check\n")
250250
continue
251251
}
252252
alreadySubmitted, _ := checkAlreadySubmitted(dbStore, finding.ID, platformName)

0 commit comments

Comments
 (0)