-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
syntax error missing () #176
Comments
Same error |
same error |
i have been going through and manually fixing the parentheses but i got stuck i dont know kow to code and the opening parentheses at at the end of line 1633 as shown here in this print statment print ' [] Server header -> ', httpresponse.headers.getheader( as you can see i dont know how to escape that so i can close the parentheses if anyone can help would be much greatful. -EDIT- i was able to get past the block for anyone willing to do it this is how lines 1633 to 1637 need to look like
to get past this error fsociety |
I found the solution that worked gret for me.
This will convert the python2 program to python3. |
Thx man🤝🤝🤝 |
Here is the error:
└─$ fsociety
File "/home/parallels/.fsociety/fsociety.py", line 1194
print "-------------------------"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
Even if i add parentheses, it didn't work.
Here is what i added:
def grabuploadedlink(url):
try:
for dir in directories:
currentcode = urllib.urlopen(url + dir).getcode()
if currentcode == 200 or currentcode == 403:
print("-------------------------")
print(" [ + ] Found Directory: " + str(url + dir) + " [ + ])"
print("-------------------------")
upload.append(url + dir)
except:
pass
The text was updated successfully, but these errors were encountered: