LionSec / katoolin

Automatically install all Kali linux tools
https://lionsec.net
GNU General Public License v2.0
4.75k stars 1.33k forks source link

sudo: unable to execute /usr/bin/katoolin: No such file or directory #301

Open alrazihi opened 3 years ago

alrazihi commented 3 years ago
sudo su
mw:/# git clone https://github.com/LionSec/katoolin.git && cp katoolin/katoolin.py /usr/bin/katoolin
Cloning into 'katoolin'...
remote: Enumerating objects: 253, done.
remote: Total 253 (delta 0), reused 0 (delta 0), pack-reused 253
Receiving objects: 100% (253/253), 98.72 KiB | 26.00 KiB/s, done.
Resolving deltas: 100% (142/142), done.
mw:/# chmod +x /usr/bin/katoolin
mw:/# sudo katoolin
sudo: unable to execute /usr/bin/katoolin: No such file or directory
mw:/# 
benjamintyler608 commented 3 years ago

Yes the error still shows up cp: cannot create regular file '/usr/bin/katoolin': Permission denied while in root ./katoolin.py
bash: ./katoolin.py: Permission denied

elman23 commented 3 years ago

What operating system are you experiencing the issue with?

alrazihi commented 3 years ago

What operating system are you experiencing the issue with? Ubuntu 20.04.3 LTS

primearc commented 3 years ago

I use the Debian Bulseye and i am getting this error. What is wrong?

bojalive commented 2 years ago

Try ln -s /usr/bin/python(yourversionnumber) /usr/bin/python

primearc commented 2 years ago

Katoolin added the adress to sources.list but cannot completed the key verify. I solved the problem, look at this: https://miloserdov.org/?p=3609

geminijummnm commented 2 years ago

you can in the folder /usr/bin then open in tem input python2.7 katoolin the error happened many machines,but i don't know why,i only know how to solve

Justinfungi commented 2 years ago

python2.7 katoolin

this works for ubuntu20.04, great thanks

Trell06 commented 2 years ago

Does anyone have an update for this? Looks like the apt-key is depreicated. Any help would be greatly appreciated.

What do you want to do ?> 1

Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)). Executing: /tmp/apt-key-gpghome.aFHFW9CYnz/gpg.1.sh --keyserver pool.sks-keyservers.net --recv-keys ED444FF07D8D0BF6 gpg: keyserver receive failed: Server indicated a failure

matefon commented 2 years ago

Install python2.7 with sudo apt install python2.7, edit the script: sudo nano /usr/bin/katoolin, change the first line from #!/usr/bin/python to #!/usr/bin/python2.7, and finally run the script as root: sudo katoolin.

pedrobart commented 2 years ago

Install python2.7 with sudo apt install python2.7, edit the script: sudo nano /usr/bin/katoolin, change the first line from #!/usr/bin/python to #!/usr/bin/python2.7, and finally run the script as root: sudo katoolin.

work here. ubuntu 22.04 thanks

moladiya1234 commented 2 years ago

Install python2.7 with sudo apt install python2.7, edit the script: sudo nano /usr/bin/katoolin, change the first line from #!/usr/bin/python to #!/usr/bin/python2.7, and finally run the script as root: sudo katoolin.

Not possible changes in mobile phone, my phone same error, but can't solve yet...

aji1904 commented 1 year ago

sudo apt install python2.7

workss

Charice20 commented 8 months ago

Help on how to solve repository not found for katoolin Im using termux

muhammadwildan07 commented 2 months ago

anyone can help me , the file is has many error