CoolFace
Apppublic

beppause/smtp-ethical-hack

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
main.py37 linesDownload Raw Back to root
1"""2Main entry point for the RegisterHack SMTP Email Sender application.3"""4import sys5from pathlib import Path6 7# Add src directory to Python path8src_path = Path(__file__).parent / "src"9sys.path.insert(0, str(src_path))10 11from gradio_app import GradioApp12 13 14def main():15    """16    Launch the RegisterHack Gradio application.17    """18    print("๐Ÿš€ Starting RegisterHack SMTP Email Sender...")19    print("๐Ÿ“ง Application will open in your web browser shortly")20    print("โš ๏ธ  Note: This tool is for testing and educational purposes only")21    22    try:23        app = GradioApp()24        app.launch(25            server_name="0.0.0.0",26            server_port=7860,27            share=False,28            show_error=True29        )30    except Exception as e:31        print(f"โŒ Error starting application: {e}")32        sys.exit(1)33 34 35if __name__ == "__main__":36    main()37