Coder Social home page Coder Social logo

Comments (8)

blabla1337 avatar blabla1337 commented on May 20, 2024

Hi Steve,

It seems you are still missing some packages, can you try this first:
sudo apt-get install python-dev libxml2-dev libxslt-dev

Greetz,
Glenn

from skf-flask.

RiieCco avatar RiieCco commented on May 20, 2024

Hey Steve,

Thanx for the heads up!

I am goin to spawn an Ubuntu myself to see if the installer might be
incomplete.

2015-05-18 21:40 GMT+02:00 Steve Springett [email protected]:

Running Ubuntu 14.04

Ran:
sudo apt-get install python-pip sqlite3
sudo pip install https://github.com/mitsuhiko/flask/tarball/master
sudo pip install owasp-skf

installing owasp-skf fails with error:

creating build/temp.linux-x86_64-2.7/src/lxml

x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2
-Wall -Wstrict-prototypes -fPIC
-I/tmp/pip_build_root/lxml/src/lxml/includes -I/usr/include/python2.7 -c
src/lxml/lxml.etree.c -o build/temp.linux-x86_64-2.7/src/lxml/lxml.etree.o
-w

src/lxml/lxml.etree.c:8:22: fatal error: pyconfig.h: No such file or
directory

#include "pyconfig.h"

              ^

compilation terminated.

error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

Cleaning up...
Command /usr/bin/python -c "import setuptools, tokenize;file='/tmp/pip_build_root/lxml/setup.py';exec(compile(getattr(tokenize,
'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))"
install --record /tmp/pip-SZKpc9-record/install-record.txt
--single-version-externally-managed --compile failed with error code 1 in
/tmp/pip_build_root/lxml
Storing debug log for failure in /home/user/.pip/pip.log


Reply to this email directly or view it on GitHub
#37.

from skf-flask.

stevespringett avatar stevespringett commented on May 20, 2024

Thanks for the quick replies.

Executing:
sudo apt-get install python-dev libxml2-dev libxslt-dev
got me a bit further, but later complained that:
/usr/bin/ld: cannot find -lz

Ran
sudo apt-get install lib32z1-dev
and the install was able to complete

However, /opt/owasp-skf doesn't exist, so I'm not sure where the installer put it.

from skf-flask.

RiieCco avatar RiieCco commented on May 20, 2024

Hey Steve,

The installer put's it somewhere near:

/usr/local/lib/python2.7/site-packages/skf

could differ a bit from your device but it puts it in the python folder

2015-05-18 21:58 GMT+02:00 Steve Springett [email protected]:

Thanks for the quick replies.

Executing:
sudo apt-get install python-dev libxml2-dev libxslt-dev
got me a bit further, but later complained that:
/usr/bin/ld: cannot find -lz

Ran
sudo apt-get install lib32z1-dev
and the install was able to complete

However, /opt/owasp-skf doesn't exist, so I'm not sure where the installer
put it.


Reply to this email directly or view it on GitHub
#37 (comment)
.

from skf-flask.

stevespringett avatar stevespringett commented on May 20, 2024

Found it in dist-packages.
Ran:
sudo python skf.py

I see the generated password and the following:
Running on https://127.0.0.1:5443/

Does it only bind to the loopback? It doesn't respond when connecting via it's external IP address and the machine is headless.

Running:
wget --no-check-certificate https://127.0.0.1:5443
works and I'm able to get index.html

from skf-flask.

blabla1337 avatar blabla1337 commented on May 20, 2024

Yeah from a security point of view we did not want to do this as a default setting.
You can change in the skf.py the 127.0.0.1 to 0.0.0.0

Start skf.py again and now it's external facing.

Also i would suggest to not run it as root ^^

from skf-flask.

stevespringett avatar stevespringett commented on May 20, 2024

:) Thank you.

Had to sudo chown -R user:user skf so that I did not have to run it as root. And changed the ip to 0.0.0.0 and I'm able to login.

from skf-flask.

blabla1337 avatar blabla1337 commented on May 20, 2024

Check ^^
Thanks for the feedback, we improved the Ubuntu installation part

from skf-flask.

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.