[GH-ISSUE #382] Tool not working - No such file or directory. #305

Open
opened 2026-02-26 04:31:00 +03:00 by kerem · 4 comments
Owner

Originally created by @ghost on GitHub (Dec 24, 2024).
Original GitHub issue: https://github.com/LionSec/katoolin/issues/382

┌──(root㉿xxxxxxx)-[/home/xxxxx]
└─# sudo /usr/bin/katoolin
sudo: unable to execute /usr/bin/katoolin: No such file or directory

┌──(root㉿xxxxx)-[/home/xxxxx]
└─# sudo python3 /usr/bin/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(...)?

Originally created by @ghost on GitHub (Dec 24, 2024). Original GitHub issue: https://github.com/LionSec/katoolin/issues/382 ┌──(root㉿xxxxxxx)-[/home/xxxxx] └─# sudo /usr/bin/katoolin sudo: unable to execute /usr/bin/katoolin: No such file or directory ┌──(root㉿xxxxx)-[/home/xxxxx] └─# sudo python3 /usr/bin/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(...)?
Author
Owner

@jacobholtz commented on GitHub (Dec 27, 2024):

The tool was written in Python2.7, so the python3 binary won't be able to interpret the code correctly.

<!-- gh-comment-id:2563891483 --> @jacobholtz commented on GitHub (Dec 27, 2024): The tool was written in Python2.7, so the python3 binary won't be able to interpret the code correctly.
Author
Owner

@mradev-git commented on GitHub (Jan 6, 2025):

https://github.com/0xGuigui/Katoolin3 you may try this one,

<!-- gh-comment-id:2572503664 --> @mradev-git commented on GitHub (Jan 6, 2025): https://github.com/0xGuigui/Katoolin3 you may try this one,
Author
Owner

@yanfd commented on GitHub (Mar 10, 2025):

python3 -m lib2to3 katoolin.py -w

use this lib2to3 module to convert python2 script to 3.

<!-- gh-comment-id:2710708039 --> @yanfd commented on GitHub (Mar 10, 2025): python3 -m lib2to3 katoolin.py -w use this lib2to3 module to convert python2 script to 3.
Author
Owner

@yanfd commented on GitHub (Mar 10, 2025):

but im not sure if this repo already 8 years haven't been updated, are all these tools still work or not

<!-- gh-comment-id:2710710103 --> @yanfd commented on GitHub (Mar 10, 2025): but im not sure if this repo already 8 years haven't been updated, are all these tools still work or not
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#305
No description provided.