Git Product home page Git Product logo

Comments (7)

Pepelux avatar Pepelux commented on July 23, 2024 1

I've never used Almalinux, sorry. SIPPTS has been tested on MAC and Debian and Kali Linux versions. It seems to be a problem with paths or python. Maybe you must try with a higher version of python ... and try with a non root user!

For example, in my case:

binaries are in:
/usr/bin/
example:
/usr/bin/sipenumerate

modules are in:
/lib/python3.12/site-packages/sippts/
example:
/lib/python3.12/site-packages/sippts/sipenumerate.py

When you start /usr/bin/sipenumerate it try to load modules from /lib/python3.12/site-packages/sippts/

Try to obtain your python version (python3 --version) and find in the /lib/python3.X/site-packages/sippts/ ... or do a
$ find / -name sippts
to look for the modules

from sippts.

Pepelux avatar Pepelux commented on July 23, 2024

$ cd sippts
$ pip3 install .
; all sip scripts will be in the PATH
$ sipscan -h

from sippts.

richilp avatar richilp commented on July 23, 2024

We're missing smth, not sure what:

[root@sippts src]# git clone https://github.com/Pepelux/sippts.git
Cloning into 'sippts'...
remote: Enumerating objects: 2676, done.
remote: Counting objects: 100% (254/254), done.
remote: Compressing objects: 100% (86/86), done.
remote: Total 2676 (delta 176), reused 212 (delta 162), pack-reused 2422
Receiving objects: 100% (2676/2676), 855.78 KiB | 10.70 MiB/s, done.
Resolving deltas: 100% (1910/1910), done.
[root@sippts src]# cd sippts
[root@sippts sippts]# pip3 install .
WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install --user` instead.
Processing /usr/src/sippts
  Requirement already satisfied (use --upgrade to upgrade): UNKNOWN==0.0.0 from file:///usr/src/sippts in /usr/local/lib/python3.6/site-packages
[root@sippts sippts]# sipenumerate -h
bash: sipenumerate: command not found

What do you think?

Thanks ;)
Ricardo

from sippts.

Pepelux avatar Pepelux commented on July 23, 2024

Try to find it to check if it is not in the $PATH ...
$ find / -name sipenumerate

Other options:

  • Don't use root to install && exec
  • Try python 3.11 or 3.12

from sippts.

richilp avatar richilp commented on July 23, 2024

Thanks for your help, please find bellow the the result:

[root@sippts sippts]# find / -name sipenumerate
/usr/local/bin/sipenumerate
/usr/src/sippts/bin/sipenumerate
[root@sippts sippts]# /usr/local/bin/sipenumerate -h
Traceback (most recent call last):
  File "/usr/local/bin/sipenumerate", line 10, in <module>
    from sippts.sipenumerate import SipEnumerate
ModuleNotFoundError: No module named 'sippts'
[root@sippts sippts]# /usr/src/sippts/bin/sipenumerate -h
Traceback (most recent call last):
  File "/usr/src/sippts/bin/sipenumerate", line 10, in <module>
    from sippts.sipenumerate import SipEnumerate
ModuleNotFoundError: No module named 'sippts'

from sippts.

richilp avatar richilp commented on July 23, 2024

Gracias Pepelux,

we'll use Debian to make things easier.

Many thanks for your support ;)

from sippts.

Pepelux avatar Pepelux commented on July 23, 2024

Great!

Buena elección! ;)

from sippts.

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.