Giter Site home page Giter Site logo

syntax error missing () about fsociety HOT 5 OPEN

WaD45 avatar WaD45 commented on May 27, 2024
syntax error missing ()

from fsociety.

Comments (5)

Dkroyt avatar Dkroyt commented on May 27, 2024

Same error

from fsociety.

themystic1108 avatar themystic1108 commented on May 27, 2024

same error

from fsociety.

desprate1231 avatar desprate1231 commented on May 27, 2024

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
print(' [
] Server header -> ', httpresponse.headers.getheader('Server'))

    except:
        print('[*] Server header ->  Not Found')

to get past this error fsociety
File "/home/R00TED10101/.fsociety/fsociety.py", line 1633
print( ' [] Server header -> ', httpresponse.headers.getheader()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: invalid syntax. Perhaps you forgot a comma?
i am going to continue fixing the parentheses till then this is the it --UPDATE2-- you will encounter a error like this
except urllib2.HTTPError, e:
^^^^^^^^^^^^^^^^^^^^
SyntaxError: multiple exception types must be parenthesized
you can fix it like this exept (urllib2.HTTPError, e): also you will have this error
for( ss in wpstorethemeremotefileupload:)
^
SyntaxError: invalid syntax
fix it like this for ss in wpstorethemeremotefileupload: the next error you will face is another open ( code to fix print('[
] Found, ', len(wpstorethemeremotefileupload), ' wp_storethemeremotefileupload exploit.')
done

from fsociety.

AndrijaRD avatar AndrijaRD commented on May 27, 2024

I found the solution that worked gret for me.

  1. Go into fscoiety folder, by default it is installed in $HOME/.fsociety or ~/.fsociety for me it was /opt/.fsociety cuz i modified the installation script.
  2. Then install 2to3:
    pip install 2to3
  3. Fiinnaly run:
    2to3 -w fsociety.py

This will convert the python2 program to python3.
This is the source of the tool:
https://docs.python.org/3/library/2to3.html

from fsociety.

Spartan76 avatar Spartan76 commented on May 27, 2024

I found the solution that worked gret for me.

  1. Go into fscoiety folder, by default it is installed in $HOME/.fsociety or ~/.fsociety for me it was /opt/.fsociety cuz i modified the installation script.
  2. Then install 2to3:
    pip install 2to3
  3. Fiinnaly run:
    2to3 -w fsociety.py

This will convert the python2 program to python3.
This is the source of the tool:
https://docs.python.org/3/library/2to3.html

Thx man🀝🀝🀝

from fsociety.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.