[GH-ISSUE #363] Missing raw_input Function #291

Open
opened 2026-02-26 04:30:57 +03:00 by kerem · 1 comment
Owner

Originally created by @CHEGEBB on GitHub (Dec 26, 2023).
Original GitHub issue: https://github.com/LionSec/katoolin/issues/363

Description: The script references the raw_input function, which is not defined in Python 3.
Error Message: NameError: name 'raw_input' is not defined
Solution: Replace instances of raw_input with input in katoolin.py

Originally created by @CHEGEBB on GitHub (Dec 26, 2023). Original GitHub issue: https://github.com/LionSec/katoolin/issues/363 Description: The script references the raw_input function, which is not defined in Python 3. Error Message: NameError: name 'raw_input' is not defined Solution: Replace instances of raw_input with input in katoolin.py
Author
Owner

@ghost commented on GitHub (Jun 15, 2024):

Here's how I installed Katoolin on my Chromebook and fixed raw_input error.

  1. Clone Katoolin from GitHub:

    git clone https://github.com/LionSec/katoolin.git
    
  2. Move the script to /usr/bin/katoolin and set permissions:

    sudo cp katoolin/katoolin.py /usr/bin/katoolin
    sudo chmod +x /usr/bin/katoolin
    
  3. Update the script for Python 3:

    • Changed raw_input to input and added parentheses.
  4. Correct the shebang in /usr/bin/katoolin:

    sudo nano /usr/bin/katoolin
    
    • Change shebang to: #!/usr/bin/python3
  5. Make the script executable again:

    sudo chmod +x /usr/bin/katoolin
    sudo katoolin
    

Katoolin is now running smoothly! Remember to check Python versions and adjust permissions as needed.

<!-- gh-comment-id:2170413091 --> @ghost commented on GitHub (Jun 15, 2024): Here's how I installed Katoolin on my Chromebook and fixed raw_input error. 1. Clone Katoolin from GitHub: ```bash git clone https://github.com/LionSec/katoolin.git ``` 2. Move the script to `/usr/bin/katoolin` and set permissions: ```bash sudo cp katoolin/katoolin.py /usr/bin/katoolin sudo chmod +x /usr/bin/katoolin ``` 3. Update the script for Python 3: - Changed `raw_input` to `input` and added parentheses. 4. Correct the shebang in `/usr/bin/katoolin`: ```bash sudo nano /usr/bin/katoolin ``` - Change shebang to: `#!/usr/bin/python3` 5. Make the script executable again: ```bash sudo chmod +x /usr/bin/katoolin sudo katoolin ``` Katoolin is now running smoothly! Remember to check Python versions and adjust permissions as needed.
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#291
No description provided.