From 929a627b75bde68bb9aa8e4659643c4ac3365dea Mon Sep 17 00:00:00 2001 From: root Date: Fri, 11 Oct 2019 15:31:17 +0000 Subject: [PATCH 1/6] Fix this breaking stuff. --- traxss/core/menu.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/traxss/core/menu.py b/traxss/core/menu.py index 6856d05..9b38a96 100644 --- a/traxss/core/menu.py +++ b/traxss/core/menu.py @@ -73,7 +73,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 +134,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: From 74914aeb5f7bc9b6f5ad19c8029f05d0d88bad98 Mon Sep 17 00:00:00 2001 From: M4cs Date: Fri, 11 Oct 2019 11:33:57 -0400 Subject: [PATCH 2/6] Fix Bugs --- traxss/core/menu.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) 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: From aabc4908fc17a68ddc0c9c5f9f80c2834e0e22e7 Mon Sep 17 00:00:00 2001 From: Chr0nicT <46724628+Chr0nicT@users.noreply.github.com> Date: Fri, 11 Oct 2019 15:34:59 +0000 Subject: [PATCH 3/6] And this formatting issue. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. From ce27b3deac643334902594ffd135e9cd766990e4 Mon Sep 17 00:00:00 2001 From: Max Bridgland <34947910+M4cs@users.noreply.github.com> Date: Fri, 11 Oct 2019 11:45:46 -0400 Subject: [PATCH 4/6] Create FUNDING.yml --- .github/FUNDING.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .github/FUNDING.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..ea713cd --- /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: maxbridgland +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: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] From acc6a4b4fd6c9b8ca40145d5a9b521035a2054c8 Mon Sep 17 00:00:00 2001 From: Max Bridgland <34947910+M4cs@users.noreply.github.com> Date: Fri, 11 Oct 2019 11:46:04 -0400 Subject: [PATCH 5/6] Update FUNDING.yml --- .github/FUNDING.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index ea713cd..af95baf 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -3,7 +3,7 @@ github: M4cs patreon: maxbridgland open_collective: # Replace with a single Open Collective username -ko_fi: maxbridgland +ko_fi: mabridgland 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 From 357b4d4ca1e1c3a5104927ac108e9bd443c42122 Mon Sep 17 00:00:00 2001 From: Max Bridgland <34947910+M4cs@users.noreply.github.com> Date: Fri, 11 Oct 2019 11:47:34 -0400 Subject: [PATCH 6/6] Update FUNDING.yml --- .github/FUNDING.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index af95baf..27cafb7 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -3,10 +3,10 @@ github: M4cs patreon: maxbridgland open_collective: # Replace with a single Open Collective username -ko_fi: mabridgland +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: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] +custom: ['https://www.buymeacoffee.com/Bridgland', 'https://paypal.com/MaxBridgland']