Results 1 to 12 of 12

Thread: Cleaner for Kali

  1. Lightbulb Cleaner for Kali

    Little cleaner for Kali linux.
    Clean apt cache.
    Removing old config files.
    Removing old kernels.
    Emptying every trashes.

    You can save script on Desktop.
    Make it executable and clean kali linux.

    Ex:
    root@kali:~/Desktop# ./kali_cleaner.sh

    Picture:http://postimg.org/image/xreehsql1/
    Download:
    https://github.com/MasterButcher/kali-cleaner
    or you can use command in terminal:
    root@kali:~# git clone https://github.com/MasterButcher/kali-cleaner.git


    By MasterButcher
    Last edited by MasterButcher; 2013-06-12 at 19:31.

  2. #2
    Join Date
    2013-May
    Location
    indonesia
    Posts
    20
    why this remove kernel current use ?
    Uploaded with ImageShack.us

  3. Yes,remove old kernel current use....Fixed...
    Last edited by MasterButcher; 2013-06-12 at 19:33.

  4. #4
    Join Date
    2013-May
    Location
    indonesia
    Posts
    20
    nice job bro.. fixed ..

  5. #5
    Join Date
    2013-May
    Posts
    10
    Nice job! just did it and work perfect.

  6. Thanks friend

  7. #7
    Join Date
    2013-Jun
    Location
    USA
    Posts
    20
    Good work.
    Check out my Youtube Channel! Search NetSecNow
    Check out my Facebook! - Search NetSecNow
    Check out my Blog! learnetsec@blogspot

    Like and Subscribe! New videos every week!

  8. #8
    Join Date
    2013-Mar
    Location
    Indonesia
    Posts
    6
    great job... thanks for share...

  9. #9
    Join Date
    2013-Mar
    Posts
    12
    nice nice work man!!!

  10. #10
    Join Date
    2014-Mar
    Posts
    1

    Kali Clean

    hey,

    dude awesome script i wanted to send you something i was able to fix on the old kernels and i wanted to share. i am a AIX admin by day so if any of the changes are unsafe for kali ill leave that to you to determine i know this worked for me and should work across all kernels

    if you have any questions feel free to reply

    i truly hope this helps

    Dintho



    Code Changes
    "############################################# ###"
    "## ORGINAL"
    CURKERNEL=$(uname -r|sed 's/-*[a-z]//g'|sed 's/-386//g')
    LINUXPKG="linux-(image|headers|debian-modules|restricted-modules)"
    METALINUXPKG="linux-(image|headers|restricted-modules)-(generic|i386|server|common|rt|xen)"
    OLDKERNELS=$(dpkg -l|awk '{print $2}'|grep -E $LINUXPKG |grep -vE $METALINUXPKG|grep -v $CURKERNEL)


    echo "############################################# ###"
    echo "## NEW"
    CURKERNEL=$(uname -r)
    OLDKERNELS=$(dpkg -l|egrep '^ii linux-(im|he)'|awk '{print $2}'|grep -v `uname -r`)



    ################################################## ################################################## ################################################## #########################
    ################################################## ################################################## ################################################## #########################
    Ouput difference on a AMD 64 bit kernel (custom colors for debuging)

    both are using this code
    echo -e $CYAN "Curent Kernel = $CURKERNEL"$ENCOLOR
    echo -e $PURPLE "Old Kernels = $OLDKERNELS" $ENDCOLOR


    ################################################
    ## ORGINAL
    Curent Kernel = 3.12164
    Old Kernels = linux-image-3.12-kali1-amd64
    linux-image-3.7-trunk-amd64
    linux-image-amd64

    ################################################
    ## NEW
    Curent Kernel = 3.12-kali1-amd64
    Old Kernels = linux-image-3.7-trunk-amd64
    linux-image-amd64

  11. #11
    Join Date
    2013-Mar
    Posts
    16
    nice one.. thanks for this script..

  12. #12
    awesome! thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •