[GH-ISSUE #287] "Sorry. This script requires sudo privledges" #239

Open
opened 2026-02-26 04:30:49 +03:00 by kerem · 6 comments
Owner

Originally created by @madushanxj on GitHub (Jun 13, 2021).
Original GitHub issue: https://github.com/LionSec/katoolin/issues/287

When followed these steps. I get this message. I ran it on fedora distro.

sudo katoolin
File "/usr/bin/katoolin", line 8
print "Sorry. This script requires sudo privledges"
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Sorry. This script requires sudo privledges")?

Originally created by @madushanxj on GitHub (Jun 13, 2021). Original GitHub issue: https://github.com/LionSec/katoolin/issues/287 When followed these steps. I get this message. I ran it on fedora distro. sudo katoolin File "/usr/bin/katoolin", line 8 print "Sorry. This script requires sudo privledges" ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Sorry. This script requires sudo privledges")?
Author
Owner

@Siddharth1006 commented on GitHub (Jun 19, 2021):

it is based on python 2.7. your python version might be based on python 3.x.y. so, run katoolin after installing python2.7

<!-- gh-comment-id:864386517 --> @Siddharth1006 commented on GitHub (Jun 19, 2021): it is based on python 2.7. your python version might be based on python 3.x.y. so, run katoolin after installing python2.7
Author
Owner

@DeusExMachina69 commented on GitHub (Jun 23, 2021):

if you are getting:
syntaxerror: print "bla bla bla"
the syntax error is meant to crash the program

if you are getting:
/usr/bin/python bad interpreter: no such file or directory (or something close to that) OR --
if the script runs but crashes from an exception from "raw_input()":
you specifically need python 2.7 cause the raw_input() is only available in it. THEN
update path to interpreter...

Use command
sudo ln -fs ---specified path to interpreter--- python
this may work...
sudo ln -fs /usr/bin/python2.7 python

<!-- gh-comment-id:866571428 --> @DeusExMachina69 commented on GitHub (Jun 23, 2021): if you are getting: syntaxerror: print "bla bla bla" the syntax error is meant to crash the program if you are getting: /usr/bin/python bad interpreter: no such file or directory (or something close to that) OR -- if the script runs but crashes from an exception from "raw_input()": you specifically need python 2.7 cause the raw_input() is only available in it. THEN update path to interpreter... Use command sudo ln -fs ---specified path to interpreter--- python this may work... sudo ln -fs /usr/bin/python2.7 python
Author
Owner

@chuck1497 commented on GitHub (Jun 23, 2021):

This whole thing moving forward and it was a article about how you feel about Code that is inevitably the most amazing form of brain exercises ever to get the best teachers not coach's for a teacher is an essential thing for everybody who has a passion for a craft

<!-- gh-comment-id:866600340 --> @chuck1497 commented on GitHub (Jun 23, 2021): This whole thing moving forward and it was a article about how you feel about Code that is inevitably the most amazing form of brain exercises ever to get the best teachers not coach's for a teacher is an essential thing for everybody who has a passion for a craft
Author
Owner

@DeusExMachina69 commented on GitHub (Jun 23, 2021):

what???

<!-- gh-comment-id:866602773 --> @DeusExMachina69 commented on GitHub (Jun 23, 2021): what???
Author
Owner

@ghost commented on GitHub (Sep 11, 2021):

it is based on python 2.7. your python version might be based on python 3.x.y. so, run katoolin after installing python2.7

Replace python with python2 and if it is not working then try sudo apt install python2 and also please use sudo su to run katoolin

<!-- gh-comment-id:917350489 --> @ghost commented on GitHub (Sep 11, 2021): > it is based on python 2.7. your python version might be based on python 3.x.y. so, run katoolin after installing python2.7 Replace python with python2 and if it is not working then try <code>sudo apt install python2</code> and also please use <code>sudo su</code> to run katoolin
Author
Owner

@Topplehawk commented on GitHub (May 10, 2022):

it is based on python 2.7. your python version might be based on python 3.x.y. so, run katoolin after installing python2.7

Replace python with python2 and if it is not working then try sudo apt install python2 and also please use sudo su to run katoolin

you could also try opening trtminal and typing "sudo apt install python2.7" if that does not work then try "sudo apt-get install python2.7"

<!-- gh-comment-id:1122599611 --> @Topplehawk commented on GitHub (May 10, 2022): > > it is based on python 2.7. your python version might be based on python 3.x.y. so, run katoolin after installing python2.7 > > Replace python with python2 and if it is not working then try `sudo apt install python2` and also please use `sudo su` to run katoolin you could also try opening trtminal and typing "sudo apt install python2.7" if that does not work then try "sudo apt-get install python2.7"
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/katoolin-LionSec#239
No description provided.