Skip to content

Commit

Permalink
Merge pull request #3 from M4cs/master
Browse files Browse the repository at this point in the history
Merge HEAD from origin repo
  • Loading branch information
TotallyNotChase authored Oct 11, 2019
2 parents c7a72f6 + 357b4d4 commit bf2828a
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 4 deletions.
12 changes: 12 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -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']
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<a href="http://www.python.org/download/"><img alt="Python 3.6+" src="https://img.shields.io/badge/Python-3.6+-yellow.svg"></a></br>
<a href="https://asciinema.org/a/273492" target="_blank"><img src="https://asciinema.org/a/273492.svg" /></a>
</p>
# Background
## Background

### Traxss is a Hacktoberfest Project! If you are looking for a place to make contribute, please feel free.

Expand Down
11 changes: 8 additions & 3 deletions traxss/core/menu.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from crayons import *
from traxss.core.scanner import Scanner
import sys
class Menu:
def __init__(self):
self.banner = """\
Expand Down Expand Up @@ -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':
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit bf2828a

Please sign in to comment.