[GH-ISSUE #218] Completely removing the sources.list file #183

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

Originally created by @pramodhrachuri on GitHub (Oct 26, 2019).
Original GitHub issue: https://github.com/LionSec/katoolin/issues/218

You are completely removing the sources.list file instead for "Remove all kali linux repositories".

github.com/LionSec/katoolin@0fcf38b5ad/katoolin.py (L63)

Originally created by @pramodhrachuri on GitHub (Oct 26, 2019). Original GitHub issue: https://github.com/LionSec/katoolin/issues/218 You are completely removing the sources.list file instead for "Remove all kali linux repositories". https://github.com/LionSec/katoolin/blob/0fcf38b5ad16968e46014e8db0609b4d2af305f0/katoolin.py#L63
Author
Owner

@anacromaniac commented on GitHub (Nov 12, 2019):

Yes, but it actually loads the file in memory before deletion:
github.com/LionSec/katoolin@0fcf38b5ad/katoolin.py (L62-L68)

then it deletes the kali repo lines and stores it in the output file (and then writes it to disk)

<!-- gh-comment-id:552991674 --> @anacromaniac commented on GitHub (Nov 12, 2019): Yes, but it actually loads the file in memory before deletion: https://github.com/LionSec/katoolin/blob/0fcf38b5ad16968e46014e8db0609b4d2af305f0/katoolin.py#L62-L68 then it deletes the kali repo lines and stores it in the output file (and then writes it to disk)
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#183
No description provided.