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

Improve error messages #40

Open
Ansh5748 opened this issue Jan 23, 2025 · 1 comment · May be fixed by #44
Open

Improve error messages #40

Ansh5748 opened this issue Jan 23, 2025 · 1 comment · May be fixed by #44

Comments

@Ansh5748
Copy link

What happened

Technical traceback errors shown to users

What did you expect to happen

  • User-friendly error messages
  • Clear action items for fixes
  • Structured error logging

How to reproduce

  1. Run with invalid IP: python main.py --target-ip invalid
  2. See technical traceback

Error messages and logs

Current output shows raw Python tracebacks

@Ansh5748
Copy link
Author

I'll improve the error messaging system.

Implementation Details:

  1. Code Changes:

    • Create error message mapping system
    • Implement user-friendly message converter
    • Add structured logging
  2. New Files:

    • error_messages.py: Message templates
    • error_handler.py: Message processing
  3. Modified Files:

    • core.py: Replace traceback outputs
    • main.py: Add error handling
    • attack_orchestrator.py: Update error handling
  4. Testing Strategy:

    • Test all error scenarios
    • Verify message clarity
    • Check logging format

Assign me This Issue

@Ansh5748 Ansh5748 linked a pull request Jan 25, 2025 that will close this issue
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 a pull request may close this issue.

1 participant