Skip to content
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

Unable to install glastopf, dependency fails #138

Closed
iliaselmatani opened this issue Dec 10, 2013 · 4 comments
Closed

Unable to install glastopf, dependency fails #138

iliaselmatani opened this issue Dec 10, 2013 · 4 comments
Milestone

Comments

@iliaselmatani
Copy link
Contributor

Followed the documentation which describes how to install glastopf on debian based system. When running the command: ' python setup.py install '. Getting the following error message back:

Reading http://pypi.python.org/simple/pylibinjection/
Best match: pylibinjection 0.2.1
Downloading https://pypi.python.org/packages/source/p/pylibinjection/pylibinjection-0.2.1.tar.gz#md5=e090a76c4566976f0867faec6b1d3d50
Processing pylibinjection-0.2.1.tar.gz
Writing /tmp/easy_install-nONZwK/pylibinjection-0.2.1/setup.cfg
Running pylibinjection-0.2.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-nONZwK/pylibinjection-0.2.1/egg-dist-tmp-rqSy9J
warning: src/pylibinjection.pxd:103:44: Function signature does not match previous declaration
src/pylibinjection.c: In function ‘__pyx_pf_14pylibinjection_detect_sqli’:
src/pylibinjection.c:530:3: error: unknown type name ‘sfilter’
src/pylibinjection.c:551:19: error: ‘sfilter’ undeclared (first use in this function)
src/pylibinjection.c:551:19: note: each undeclared identifier is reported only once for each function it appears in
src/pylibinjection.c:551:28: error: expected expression before ‘)’ token
src/pylibinjection.c:583:3: warning: implicit declaration of function ‘libinjection_sqli_init’ [-Wimplicit-function-declaration]
src/pylibinjection.c:592:3: warning: implicit declaration of function ‘libinjection_is_sqli’ [-Wimplicit-function-declaration]
src/pylibinjection.c:604:3: warning: implicit declaration of function ‘libinjection_sqli_check_fingerprint’ [-Wimplicit-function-declaration]
src/pylibinjection.c:616:41: error: request for member ‘reason’ in something not a structure or union
src/pylibinjection.c:627:45: error: request for member ‘fingerprint’ in something not a structure or union
error: Setup script exited with error: command 'gcc' failed with exit status 1
@katkad
Copy link
Member

katkad commented Dec 12, 2013

hello, try to install pylibinjection manually according to https://github.com/glastopf/pylibinjection

but use https://github.com/katkad/pylibinjection/commits/cdef_extern instead of original pylibinjection (or just appply changes from the last commit)

the pull request for this is not merged yet

@glaslos
Copy link
Member

glaslos commented Dec 12, 2013

I merged the pull request: mushorg/pylibinjection#6

@glaslos
Copy link
Member

glaslos commented Dec 12, 2013

I'll upload a new package to pypi tomorrow.

@johnnykv
Copy link
Member

@katkad this issue was fixed with mushorg/pylibinjection/pull/8. Please try the following to install the newest version of pylibinjection:

$ pip install cython
$ git clone --recursive https://github.com/glastopf/pylibinjection.git
$ cd pylibinjection
$ python setup.py install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants