You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sudo_password=tkinter.simpledialog.askstring("Setting up", "\nCreate your SNORT administrator password: \n\n( Note: Once set, admin password cannot be changed and \npassword should be your Linux sudo password to download\npackages and perform administrator operations, incase if\nyou intend to change the password, reinstall the application.)\n", show='*')
13
+
14
+
#error handling if window is closed unexpectedly.
15
+
if(sudo_passwordisNone):
16
+
exit()
17
+
elifsudo_password:
18
+
19
+
os.system('mkdir resources/temp')
20
+
os.system('cp -r resources/alert .')
21
+
i=1
22
+
23
+
# Write the password to a text file named "password.txt"
24
+
withopen("resources/temp/admin.pass", "w") asf:
25
+
f.write(sudo_password)
26
+
27
+
tc='''
28
+
You are using the SNORT GUI developed by White Hat Cyberus!
29
+
Developed by 4 students from Rajagiri School of Engineering and Technology . This is a Open Source Software, so feel free to check out the code.
30
+
Github: https://github.com/WhiteHatCyberus
31
+
Disclaimer:
32
+
To be used for personal, educational and enterprise purposes.
33
+
34
+
What is SNORT?
35
+
SNORT is a Open Source Intrusion Detection System / Intrusion Prevention System maintained by Cisco Talos.
36
+
37
+
T&C
38
+
----------
39
+
1. Use this software at your own risk.
40
+
2. The authors of this software are not responsible for any damages caused by this software.
41
+
3. This software is provided "as is" without warranty of any kind, express or implied.
42
+
4. By using this software, you agree to these terms and conditions.
43
+
44
+
Note: This application will monitor your network in real time and access your administrative directories. For proper functioning, run the application in 'sudo' mode.
45
+
Manipulating this application for malicious purposes is not entertained.
0 commit comments