diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..27cafb7 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,12 @@ +# These are supported funding model platforms + +github: M4cs +patreon: maxbridgland +open_collective: # Replace with a single Open Collective username +ko_fi: # +tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel +community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry +liberapay: # Replace with a single Liberapay username +issuehunt: # Replace with a single IssueHunt username +otechie: # Replace with a single Otechie username +custom: ['https://www.buymeacoffee.com/Bridgland', 'https://paypal.com/MaxBridgland'] diff --git a/README.md b/README.md index 847122e..a3865b3 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Python 3.6+

-# Background +## Background ### Traxss is a Hacktoberfest Project! If you are looking for a place to make contribute, please feel free. diff --git a/traxss/core/menu.py b/traxss/core/menu.py index 6856d05..5cd0bc3 100644 --- a/traxss/core/menu.py +++ b/traxss/core/menu.py @@ -1,5 +1,6 @@ from crayons import * from traxss.core.scanner import Scanner +import sys class Menu: def __init__(self): self.banner = """\ @@ -35,7 +36,11 @@ def start(self): print(blue(self.banner)) print('\nWelcome To Traxss - A URL XSS Scanner\n') print(self.menu) - ps1 = str(blue('[') + white('traxss') + blue(']') + '> ') + if 'win32' in sys.platform or 'win64' in sys.platform: + ps1 = str('traxss> ') + else: + ps1 = str(blue('[') + white('traxss') + blue(']') + '> ') + while True: option = input(ps1) if option == '1': @@ -73,7 +78,7 @@ def start(self): store_output = False report_out = None break - elif ans == 'y' + elif ans == 'y': store_output = True print('\nPlease enter the file name below:\n') while True: @@ -134,7 +139,7 @@ def start(self): store_output = False report_out = None break - elif ans = 'y': + elif ans == 'y': store_output = True print('\nPlease Enter The File Name Below\n') while True: