File size: 571 Bytes
aba2d10
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import streamlit as st

st.set_page_config(page_title="🛡️ Security Tools", layout="wide")

st.title("🛡️ Security Tools Dashboard")
st.markdown("Select an application from the sidebar.")

st.sidebar.title("🔍 Applications")
st.sidebar.markdown("Choose a tool:")

# Add your apps here
apps = {
    "Malicious URL Detector": "malicious_url",
}

# Sidebar selection
selected_app = st.sidebar.selectbox("", options=list(apps.keys()))

# Dynamically import the selected app
page_module = __import__(f"pages.{apps[selected_app]}", fromlist=["app"])
page_module.app()