├── README.md ├── requstion.sh ├── sourcess ├── .gitignore ├── clean └── kali-fixer.py /README.md: -------------------------------------------------------------------------------- 1 | # kali-fixer 2 | script helps you in solving most of the problems of Kali linux 3 | -------------- 4 | 5 | - script need python3 to work , if you dont have python3 type in terminal : apt-get install python3 6 | 7 | # HELLOW FRIEND 8 | 9 | 1 - download the file :) 10 | 11 | 2 - unpack him ;) 12 | 13 | 3 - put the file in your desktop 14 | 15 | 4 - open new terminal 16 | 17 | 5 - type cd Desktop/kali-fixer-master 18 | 19 | 6 - type python3 kali-fixer.py 20 | 21 | 7 - fix your problems ^_^ 22 | 23 | fb : www.facebook.com/lamanihani 24 | -------------------------------------------------------------------------------- /requstion.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # cat /etc/issue 4 | 5 | if [ $cat="Kali GNU/Linux Rolling \n \l" ] 6 | then 7 | 8 | echo "# For source package access, uncomment the following line 9 | deb http://http.kali.org/kali kali-rolling main contrib non-free 10 | # deb-src http://http.kali.org/kali kali-rolling main contrib non-free" > /etc/apt/sources.list 11 | fi 12 | sleep 1 13 | apt-get update 14 | apt-get install network-manager-openvpn-gnome -y 15 | apt-get install network-manager-pptp -y 16 | apt-get install network-manager-pptp-gnome -y 17 | apt-get install network-manager-strongswan -y 18 | apt-get install network-manager-vpnc -y 19 | apt-get install network-manager-vpnc-gnome -y 20 | -------------------------------------------------------------------------------- /sourcess: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | 4 | echo "" 5 | echo "" 6 | 7 | echo "" 8 | /bin/echo -e 9 | 10 | 11 | 12 | echo "" 13 | echo "" 14 | echo " Replacing Repositories and Updateing APT Source list .. Please Wait .. " 15 | echo "" 16 | echo "deb http://http.kali.org/kali/ kali-rolling main contrib non-free\n\ndeb http://security.debian.org/ wheezy/updates main contrib non-free\ndeb-src http://security.debian.org/ wheezy/updates main contrib non-free\n\ndeb http://security.kali.org/kali-security kali-current/updates main contrib non-free\ndeb-src http://security.kali.org/kali-security kali-current/updates main contrib non-free\n\ndeb http://repo.kali.org/kali kali-rolling main contrib non-free\ndeb-src http://repo.kali.org/kali kali-rolling main contrib non-free\n\n# debian base repository\ndeb http://ftp.debian.org/debian wheezy main contrib non-free\ndeb-src http://ftp.debian.org/debian wheezy main contrib non-free\n\n# debian stable updates\ndeb http://ftp.debian.org/debian wheezy-updates main contrib non-free\ndeb-src http://ftp.debian.org/debian wheezy-updates main contrib non-free\n\n# debian stable backports\ndeb http://ftp.debian.org/debian wheezy-backports main contrib non-free\ndeb-src http://ftp.debian.org/debian wheezy-backports main contrib non-free">/etc/apt/sources.list 17 | sleep 3 18 | echo "" 19 | echo "" 20 | apt-get update 21 | apt-get dist-upgrade 22 | echo "" 23 | echo "" 24 | echo "" 25 | echo " #~ Sources.list File Updated Successfully [DONE %100]" 26 | echo "" 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Byte-compiled / optimized / DLL files 2 | __pycache__/ 3 | *.py[cod] 4 | *$py.class 5 | 6 | # C extensions 7 | *.so 8 | 9 | # Distribution / packaging 10 | .Python 11 | env/ 12 | build/ 13 | develop-eggs/ 14 | dist/ 15 | downloads/ 16 | eggs/ 17 | .eggs/ 18 | lib/ 19 | lib64/ 20 | parts/ 21 | sdist/ 22 | var/ 23 | wheels/ 24 | *.egg-info/ 25 | .installed.cfg 26 | *.egg 27 | 28 | # PyInstaller 29 | # Usually these files are written by a python script from a template 30 | # before PyInstaller builds the exe, so as to inject date/other infos into it. 31 | *.manifest 32 | *.spec 33 | 34 | # Installer logs 35 | pip-log.txt 36 | pip-delete-this-directory.txt 37 | 38 | # Unit test / coverage reports 39 | htmlcov/ 40 | .tox/ 41 | .coverage 42 | .coverage.* 43 | .cache 44 | nosetests.xml 45 | coverage.xml 46 | *.cover 47 | .hypothesis/ 48 | 49 | # Translations 50 | *.mo 51 | *.pot 52 | 53 | # Django stuff: 54 | *.log 55 | local_settings.py 56 | 57 | # Flask stuff: 58 | instance/ 59 | .webassets-cache 60 | 61 | # Scrapy stuff: 62 | .scrapy 63 | 64 | # Sphinx documentation 65 | docs/_build/ 66 | 67 | # PyBuilder 68 | target/ 69 | 70 | # Jupyter Notebook 71 | .ipynb_checkpoints 72 | 73 | # pyenv 74 | .python-version 75 | 76 | # celery beat schedule file 77 | celerybeat-schedule 78 | 79 | # SageMath parsed files 80 | *.sage.py 81 | 82 | # dotenv 83 | .env 84 | 85 | # virtualenv 86 | .venv 87 | venv/ 88 | ENV/ 89 | 90 | # Spyder project settings 91 | .spyderproject 92 | .spyproject 93 | 94 | # Rope project settings 95 | .ropeproject 96 | 97 | # mkdocs documentation 98 | /site 99 | 100 | # mypy 101 | .mypy_cache/ 102 | -------------------------------------------------------------------------------- /clean: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | apt-get install espeak wipe bleachbit 4 | clear 5 | ( 6 | modprobe pcspkr 7 | cd /root/sessions 8 | echo "10" ; 9 | espeak "Destruction trace files" 10 | echo "# Destruction des traces indésirables" ; sleep 1 11 | wipe -f -r -i * 12 | cd /root/bts 13 | wipe -f -r -i * 14 | cd /root/.armitage 15 | wipe -f -r -i * 16 | cd /root/.msf4 17 | wipe -f -r -i * 18 | cd /root/.sqlmap 19 | wipe -f -r -i * 20 | cd /root/.wireshark 21 | wipe -f -r -i * 22 | cd /root/.xxxterm 23 | wipe -f -r -i * 24 | cd / 25 | echo "20" ; 26 | espeak "Destruction backup files" 27 | echo "# Destruction des fichiers de sauvegarde" ; sleep 1 28 | find . -size -500k -type f -name "*~" -exec wipe -r -f {} \; > rapport-cleaner.txt 29 | find . -size -500k -type f -name "*.bak" -exec wipe -r -f {} \; >> rapport-cleaner.txt 30 | find . -size -500k -type f -name "*.old" -exec wipe -r -f {} \; >> rapport-cleaner.txt 31 | echo "40" ; 32 | espeak "destruction log files" 33 | echo "# Destruction des fichiers journaux" ; sleep 1 34 | find . -size -500k -type f -name "*.log" -exec wipe -r -f {} \; >> rapport-cleaner.txt 35 | find . -type f -name "*.log" -exec rm -f -v {} \; >> rapport-cleaner.txt 36 | find . -type f -name "*.bak" -exec rm -f -v {} \; >> rapport-cleaner.txt 37 | find . -type f -name "*~" -exec rm -f -v {} \; >> rapport-cleaner.txt 38 | find . -type f -name "*.old" -exec rm -f -v {} \; >> rapport-cleaner.txt 39 | echo "70" ; 40 | espeak "cleaning and optimisation system" 41 | echo "# Nettoyage résiduelle & optimisation du système" ; sleep 1 42 | bleachbit --preset -o -c >> rapport-cleaner.txt 43 | echo "80" ; 44 | echo "# Nettoyage terminé !" ; sleep 1 45 | echo "90" ; 46 | espeak "open cleaned rapport" 47 | echo "# Ouverture du rapport de nettoyage" ; sleep 1 48 | zenity --text-info --title="Rapport nettoyage" --filename="rapport-cleaner.txt" 49 | echo "# Destruction du rapport" ; sleep 1 50 | wipe -f rapport-cleaner.txt 51 | echo "100" ; 52 | espeak "finish !" 53 | echo "# Terminé !"; beep -f 1500 -l 120 -n -f 2000 -l 120 -n -f 2500 -l 120 -n -f 3000 -l 300 -n -f 2500 -l 120 -n -f 3000 -l 300 54 | ) | 55 | 56 | zenity --progress \ 57 | --title="Nettotage du système" \ 58 | --text="Analyse des fichiers ..." \ 59 | --percentage=0 60 | 61 | if [ "$?" = -1 ] ; then 62 | zenity --error \ 63 | --text="Nettoyage annulée." 64 | fi 65 | 66 | -------------------------------------------------------------------------------- /kali-fixer.py: -------------------------------------------------------------------------------- 1 | # 29/07/2017 - algeria-alger 2 | #youtube : www.youtube.com/c/منضمةالهكرالعربية1 3 | # by lamani hani 4 | # 5 | # fb : Ha Ni 6 | # 7 | # special tnx to : my GOD ^_^ 8 | # 9 | # 10 | # 11 | # 12 | # | | | | | | | | | | | | | | | | | | | | | | 13 | # |Changing the Description of this tool | 14 | # |Won't made you the coder ^_^ !!! | 15 | # |#Respect Coderz ^_^ | 16 | # | | | | | | | | | | | | | | | | | | | | | | 17 | # 18 | # 19 | # watch my script and learn some hack !!! you can visit my youtube channel : 20 | # 21 | # https://www.youtube.com/channel/UC9D8_X_kkNHhah6CRSbp-GQ/videos 22 | # 23 | # 24 | # 25 | # 26 | import webbrowser 27 | import smtplib 28 | import os 29 | import sys 30 | import time 31 | print(''' 32 | XX MMMMMMMMMMMMMMMMss''' '''ssMMMMMMMMMMMMMMMM XX 33 | XX MMMMMMMMMMMMyy'' ''yyMMMMMMMMMMMM XX 34 | XX MMMMMMMMyy'' ''yyMMMMMMMM XX 35 | XX MMMMMy'' ''yMMMMM XX 36 | XX MMMy' 'yMMM XX 37 | XX Mh' 'hM XX 38 | XX - - XX 39 | XX XX 40 | XX :: :: XX 41 | XX MMhh. ..hhhhhh.. ..hhhhhh.. .hhMM XX 42 | XX MMMMMh ..hhMMMMMMMMMMhh. .hhMMMMMMMMMMhh.. hMMMMM XX 43 | XX ---MMM .hMMMMdd:::dMMMMMMMhh.. ..hhMMMMMMMd:::ddMMMMh. MMM--- XX 44 | XX MMMMMM MMmm'' 'mmMMMMMMMMyy. .yyMMMMMMMMmm' ''mmMM MMMMMM XX 45 | XX ---mMM '' 'mmMMMMMMMM MMMMMMMMmm' '' MMm--- XX 46 | XX yyyym' . 'mMMMMm' 'mMMMMm' . 'myyyy XX 47 | XX mm'' .y' ..yyyyy.. '''' '''' ..yyyyy.. 'y. ''mm XX 48 | XX MN .sMMMMMMMMMss. . . .ssMMMMMMMMMs. NM XX 49 | XX N` MMMMMMMMMMMMMN M M NMMMMMMMMMMMMM `N XX 50 | XX + .sMNNNNNMMMMMN+ `N N` +NMMMMMNNNNNMs. + XX 51 | XX o+++ ++++Mo M M oM++++ +++o XX 52 | XX oo oo XX 53 | XX oM oo oo Mo XX 54 | XX oMMo M M oMMo XX 55 | XX +MMMM s s MMMM+ XX 56 | XX +MMMMM+ +++NNNN+ +NNNN+++ +MMMMM+ XX 57 | XX +MMMMMMM+ ++NNMMMMMMMMN+ +NMMMMMMMMNN++ +MMMMMMM+ XX 58 | XX MMMMMMMMMNN+++NNMMMMMMMMMMMMMMNNNNMMMMMMMMMMMMMMNN+++NNMMMMMMMMM XX 59 | XX yMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMy XX 60 | XX m yMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMy m XX 61 | XX MMm yMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMy mMM XX 62 | XX MMMm .yyMMMMMMMMMMMMMMMM MMMMMMMMMM MMMMMMMMMMMMMMMMyy. mMMM XX 63 | XX MMMMd ''''hhhhh odddo obbbo hhhh'''' dMMMM XX 64 | XX MMMMMd 'hMMMMMMMMMMddddddMMMMMMMMMMh' dMMMMM XX 65 | XX MMMMMMd 'hMMMMMMMMMMMMMMMMMMMMMMh' dMMMMMM XX 66 | XX MMMMMMM- ''ddMMMMMMMMMMMMMMdd'' -MMMMMMM XX 67 | XX MMMMMMMM '::dddddddd::' MMMMMMMM XX 68 | XX MMMMMMMM- -MMMMMMMM XX 69 | XX MMMMMMMMM MMMMMMMMM XX 70 | XX MMMMMMMMMy yMMMMMMMMM XX 71 | XX MMMMMMMMMMy. .yMMMMMMMMMM XX 72 | XX MMMMMMMMMMMMy. .yMMMMMMMMMMMM XX 73 | XX MMMMMMMMMMMMMMy. .yMMMMMMMMMMMMMM XX 74 | XX MMMMMMMMMMMMMMMMs. .sMMMMMMMMMMMMMMMM XX 75 | XX MMMMMMMMMMMMMMMMMMss. .... .ssMMMMMMMMMMMMMMMMMM XX 76 | XX MMMMMMMMMMMMMMMMMMMMNo oNNNNo oNMMMMMMMMMMMMMMMMMMMM XX 77 | ''') 78 | def slowprint(s): 79 | for c in s + '\n' : 80 | sys.stdout.write(c) 81 | sys.stdout.flush() 82 | time.sleep(10. / 100) 83 | slowprint("[!] Starting : ") 84 | time.sleep(5) 85 | os.system('clear') 86 | print(''' 87 | / | / | 88 | \033[096m$$\033[097m | /\033[91m$$\033[097m/ ______ \033[91m$$ |$$/ \033[92m$$$$$$$$/ $$/ __ __ ______ ______ 89 | \033[096m$$\033[097m | \033[91m$$\033[097m/ / \ \033[91m$$ |/ | \033[92m$$ |__ / |/ \ / | / \ / \ 90 | \033[096m$$\033[097m \033[91m$$\033[097m< \033[93m$$$$$$ \033[097m|$$ |$$ | \033[92m$$ | $$ |$$ \/$$/ /$$$$$$ |/$$$$$$ | 91 | \033[096m$$$$$ \033[097m\ / \033[93m$$ |$$ |$$ |\033[097m $$$$$/ \033[92m$$ | $$ $$< $$ $$ |$$ | $$/ 92 | \033[096m$$ \033[097m|\033[91m$$\033[097m \ /\033[93m$$$$$$$ |\033[097m$$ |$$ | \033[92m$$ | $$ | /$$$$ \ $$$$$$$$/ $$ | 93 | \033[096m$$ \033[097m| \033[91m$$\033[097m |\033[93m$$ $$ \033[097m|\033[91m$$ |\033[92m$$ | $$ | $$ |/$$/ $$ |$$ |$$ | 94 | \033[096m$$\033[097m/ \033[91m$$\033[097m/ \033[93m$$$$$$$\033[097m/\033[91m $$/\033[92m $$/ $$/ $$/ $$/ $$/ $$$$$$$/ $$/ 95 | 96 | \033[097m+-----------------------------------------+ 97 | |\033[097m #Author: \033[096mLamani Hani VEGETA-LFH\033[097m | 98 | |\033[097m#Contact: \033[096mwww.facebook.com/lamanihani\033[097m | 99 | |\033[097m#Date: \033[096m29/07/2017\033[097m | 100 | +-----------------------------------------+ 101 | ''') 102 | print ("-------------------------------------------") 103 | print ("\033[92m 1 - \033[91m fix sound problm") 104 | print ("\033[92m 2 - \033[91m fix screen resolution + copy file (VMware)") 105 | print ("\033[92m 3 - \033[91m fix MONITORE MODE (methode 1) ") 106 | print ("\033[92m 4 - \033[91m fix MONITORE MODE (methode 2)") 107 | print ("\033[92m 5 - \033[91m fix BLUETOOTH ") 108 | print ("\033[92m 6 - \033[91m fix brightness ") 109 | print ("\033[92m 7 - \033[91m fix vpn ") 110 | print ("\033[92m 8 - \033[91m fix armitage") 111 | print ("\033[92m 9 - \033[91m boost and clean Kali Linux") 112 | print ("\033[92m 10 - \033[91m scan for virus in your Linux") 113 | print ("\033[92m 11 - \033[91m update sources.list repositories + update Linux") 114 | print ("\033[92m 12 - \033[91m fix time") 115 | print ("\033[92m 13 - \033[91m fix wifi") 116 | print ("\033[92m 14 - \033[91m fix screen resolution") 117 | print ("\033[92m 15 - \033[91m fun") 118 | print ("\033[92m 16 - \033[91m send your problem") 119 | 120 | 121 | print(" ") 122 | hani = input("\033[95m[?]-\033[93m enter the number of the problem: ") 123 | 124 | 125 | 126 | 127 | 128 | if hani == ("15") : 129 | print("\033[95m[!] \033[97mStart:") 130 | print("") 131 | print("\033[95m1 \033[96m- \033[97mmatrix effect") 132 | print("\033[95m2 \033[96m- \033[97mwrite your name as LOGO") 133 | print("\033[95m3 \033[96m- \033[97mKali speaker") 134 | print("") 135 | funnyses = input("\033[93mchoose \033[97m: ") 136 | if funnyses == ('1') : 137 | print("\033[95m[*] \033[93mStart:\033[97m wait 10s") 138 | print("") 139 | os.system('apt-get install cmatrix') 140 | print("") 141 | print("\033[95m[!]\033[97mchoose the color of matrix effect:") 142 | print("") 143 | print("1 - \033[93myellow ") 144 | print("2 - blue ") 145 | print("3 - \033[92mgreen") 146 | print("4 - \033[97mwhite ") 147 | print("5 - \033[96mcyan ") 148 | print("6 - \033[95mmagenta") 149 | print("7 - black") 150 | print("8 - \033[91mred") 151 | print("") 152 | khayares = input("\033[95m[?]\033[97mwhat is the \033[91mcolor of the matrix effect\033[97m (1 > 8) :") 153 | if khayares == ('3') : 154 | os.system('cmatrix -C green') 155 | if khayares == ('8') : 156 | os.system('cmatrix -C red') 157 | if khayares == ('4') : 158 | os.system('cmatrix -C white') 159 | if khayares == ('2') : 160 | os.system('cmatrix -C blue') 161 | if khayares == ('7') : 162 | os.system('cmatrix -C black') 163 | if khayares == ('1') : 164 | os.system('cmatrix -C yellow') 165 | if khayares == ('6') : 166 | os.system('cmatrix -C magenta') 167 | if khayares == ('5') : 168 | os.system('cmatrix -C cyan') 169 | if funnyses == ('2') : 170 | print("\033[95m[*] \033[97mStart") 171 | print("") 172 | os.system('apt-get install figlet') 173 | print("") 174 | linnases = input("\033[95m[?] \033[97menter your text :") 175 | os.system('figlet '+(linnases)) 176 | print("") 177 | print ("_____________________________________________________________") 178 | print ("[!]\033[93m your LOGO has been builded |\033[95m") 179 | print ("") 180 | print ("[*] \033[93mThanks for using my script -\033[97mlamani hani-\033[95m |") 181 | print ("_____________________________________________________________") 182 | if funnyses == ('3') : 183 | print("\033[95m[*]Start :\033[97m") 184 | print("") 185 | os.system("apt-get install espeak") 186 | print("") 187 | print("\033[93mnow enter your text and press enter :\033[96m") 188 | print("") 189 | os.system("espeak") 190 | 191 | 192 | if hani == ('13') : 193 | print("\033[95m[*]\033[97m Start :") 194 | print(" ") 195 | os.system('wget http://linuxwireless.org/download/compat-wireless-2.6/compat-wireless-2010-06-26-p.tar.bz2') 196 | os.system('tar -jxvf compat-wireless-2010-06-26-p.tar.bz2') 197 | sign = input("press \033[91menter \033[97mto continue") 198 | print ("now you must do it with your hand :) ") 199 | print(''' 200 | 1 - make you sur that you put the script file in your desktop 201 | 2 - open new terminal 202 | 3 - type in terminal : cd Desktop/kali-fixer-master/compat-wireless-2010-06-26-p 203 | 4 - now type : make unload 204 | 5 - now type : make load 205 | 6 - finish . 206 | ''') 207 | frees = input("press \033[91menter \033[97mto continue") 208 | print (" You have problem watch this tutu :\033[97mh ") 209 | print (" ") 210 | print ("\033[95m_____________________________________________________________") 211 | print ("[!]\033[93m your wifi has been fixed |\033[95m") 212 | print ("") 213 | print ("[*] \033[93mThanks for using my script -\033[97mlamani hani-\033[95m |") 214 | print ("_____________________________________________________________") 215 | 216 | 217 | if hani == ('1') : 218 | print("\033[95m[*]\033[97m Start:") 219 | print(" ") 220 | os.system('pulseaudio -D ') 221 | print (" ") 222 | print ("\033[95m_____________________________________________________________") 223 | print ("[!]\033[93m The audio problem has been fixed in your device |\033[95m") 224 | print ("") 225 | print ("[*] \033[93mThanks for using my script -\033[97mlamani hani-\033[95m |") 226 | print ("_____________________________________________________________") 227 | 228 | if hani == ('2') : 229 | print("\033[95m[*]\033[97m Start:") 230 | print(" ") 231 | os.system('apt-get install open-vm-tools-desktop fuse') 232 | print ("\033[95m_____________________________________________________________") 233 | print ("[!]\033[93m The resolution + copy/past problem has been fixed in your device |\033[95m") 234 | print ("") 235 | print ("[*] \033[93mThanks for using my script -\033[97mlamani hani-\033[95m |") 236 | print ("_____________________________________________________________") 237 | if hani == ('5') : 238 | print("\033[95m[*]\033[97m Start:") 239 | print(" ") 240 | os.system('sudo lsmod | grep blue') 241 | os.system('systemctl enable bluetooth.service') 242 | os.system('systemctl start bluetooth.service') 243 | print (" ") 244 | print ("\033[95m_____________________________________________________________") 245 | print ("[!]\033[93m The bluetooth problem has been fixed in your device |\033[95m") 246 | print ("") 247 | print ("[*] \033[93mThanks for using my script -\033[97mlamani hani-\033[95m |") 248 | print ("_____________________________________________________________") 249 | 250 | if hani == ('3') : 251 | print("\033[95m[*]\033[97m Start:") 252 | print(" ") 253 | os.system('airmon-ng start wlan0') 254 | os.system('ifconfig wlan0mon down') 255 | os.system('iwconfig wlan0mon mode monitor') 256 | os.system('ifconfig wlan0mon up') 257 | lylia = input("\033[95m[?] \033[97mDo you want run \033[091mMONITORE MODE ??? \033[095m(y/n) :") 258 | if lylia == ('y') : 259 | os.system('airodump-ng wlan0mon') 260 | if lylia == ('n') : 261 | print (" ") 262 | print ("\033[95m_____________________________________________________________") 263 | print ("[!]\033[93m The monitor mode problem has been fixed in your device |\033[95m") 264 | print ("") 265 | print ("[*] \033[93mThanks for using my script -\033[97mlamani hani-\033[95m |") 266 | print ("_____________________________________________________________") 267 | 268 | 269 | 270 | 271 | 272 | if hani == ('4') : 273 | print("\033[95m[*]\033[97m Start:") 274 | print(" ") 275 | os.system('airmon-ng check kill') 276 | bara = input("\033[95m[?] \033[97mDo you want run \033[091mMONITORE MODE ??? , \033[095m(y/n) :") 277 | if bara == ('y') : 278 | os.system('airodump-ng wlan0mon') 279 | if bara == ('n') : 280 | print (" ") 281 | print ("\033[95m_____________________________________________________________") 282 | print ("[!]\033[93m The monitor mode problem has been fixed in your device |\033[95m") 283 | print ("") 284 | print ("[*] \033[93mThanks for using my script -\033[97mlamani hani-\033[95m |") 285 | print ("_____________________________________________________________") 286 | 287 | 288 | 289 | if hani == ('6') : 290 | print("\033[95m[*]\033[97m Start:") 291 | print(" ") 292 | print ("\033[096m1 - \033[097mvery high") 293 | print ("\033[096m2 - \033[097mhigh") 294 | print ("\033[096m3 - \033[097mnormal") 295 | print ("\033[096m4 - \033[097mlow") 296 | print ("\033[096m5 - \033[097mvery low") 297 | print (" ") 298 | mohamed = input("\033[95m[?] \033[97mchoose your \033[91mbrightness :") 299 | 300 | if mohamed == ('1') : 301 | os.system('xrandr --output LVDS1 --brightness 2') 302 | if mohamed == ('2') : 303 | os.system('xrandr --output LVDS1 --brightness 1.5') 304 | if mohamed == ('3') : 305 | os.system('xrandr --output LVDS1 --brightness 1') 306 | if mohamed == ('4') : 307 | os.system('xrandr --output LVDS1 --brightness 0.5') 308 | if mohamed == ('5') : 309 | os.system('xrandr --output LVDS1 --brightness 0.2') 310 | print (" ") 311 | print ("\033[95m_____________________________________________________________") 312 | print ("[!]\033[93m The brightness problem has been fixed in your device |\033[95m") 313 | print ("") 314 | print ("[*] \033[93mThanks for using my script -\033[97mlamani hani-\033[95m |") 315 | print ("_____________________________________________________________") 316 | 317 | 318 | 319 | if hani == ('7') : 320 | print(" ") 321 | print("\033[95m[*]\033[97m Start:") 322 | print(" ") 323 | os.system('./requstion.sh') 324 | print (" ") 325 | print ("\033[95m_____________________________________________________________") 326 | print ("[!]\033[93m The VPN problem has been fixed in your device |\033[95m") 327 | print ("") 328 | print ("[*] \033[93mThanks for using my script -\033[97mlamani hani-\033[95m |") 329 | print ("_____________________________________________________________") 330 | 331 | 332 | 333 | 334 | 335 | if hani == ('8') : 336 | print("\033[95m[*]\033[97m Start:") 337 | print(" ") 338 | print ("------------------- DOWNLOAD ARMITAGE ___you need \033[091minternet\033[097m acces-----------------------!") 339 | os.system('wget http://www.fastandeasyhacking.com/download/armitage150813.tgz') 340 | print ("Extracting downloaded archine into /usr/share/armitage") 341 | os.system('tar xf armitage150813.tgz -C /usr/share/armitage/ --strip-components 1 ') 342 | 343 | print ("Starting PostgreSQL service...") 344 | os.system('service postgresql start') 345 | 346 | print ("Initial msfDB schema creation....") 347 | os.system('msfdb init') 348 | 349 | 350 | start_it = input("\033[95m[?] \033[097mWould you like to start \033[91mArmitage now? \033[95m(Y/N):") 351 | start_it = start_it.upper() 352 | 353 | if start_it == ('Y') : 354 | print ("\033[95m[!]starting armitage...") 355 | os.system('armitage') 356 | 357 | if start_it == ('N') : 358 | print("Done the problem of the armitage was fixed") 359 | 360 | 361 | 362 | 363 | if hani == ("9") : 364 | print("\033[95m[*]\033[97m Start:") 365 | print(" ") 366 | print("\033[096m1- \033[097mclean your Kali linux") 367 | print("\033[096m2- \033[097mconfigure running startup ") 368 | print(" ") 369 | racim = input("\033[95m[?] \033[97mwhat you want to do :") 370 | if racim == ("1") : 371 | print(" ") 372 | print("\033[95m[*]\033[97m Start Cleaning:") 373 | print(" ") 374 | os.system('./clean') 375 | 376 | print (" ") 377 | print ("\033[95m_____________________________________________________________") 378 | print ("[!]\033[93m your linux has been cleaning |\033[95m") 379 | print ("") 380 | print ("[*] \033[93mThanks for using my script -\033[97mlamani hani-\033[95m |") 381 | print ("_____________________________________________________________") 382 | 383 | if racim == ("2") : 384 | print(" ") 385 | print("\033[95m[*]\033[97m Start :") 386 | os.system('apt-get install bum') 387 | os.system('bum') 388 | print("\033[95m[!] \033[97mtool was run go configure your running item bro") 389 | print (" ") 390 | print ("\033[95m_____________________________________________________________") 391 | print ("[!]\033[93m your linux startup has been modified |\033[95m") 392 | print ("") 393 | print ("[*] \033[93mThanks for using my script -\033[97mlamani hani-\033[95m |") 394 | print ("_____________________________________________________________") 395 | 396 | 397 | 398 | 399 | 400 | if hani == ("10") : 401 | print("\033[95m[*]\033[97m Start:") 402 | print(" ") 403 | os.system('apt-get install rkhunter') 404 | print(" ") 405 | print("\033[95m[*]\033[97m Start Scanning:") 406 | os.system('rkhunter -c') 407 | print("") 408 | print (" ") 409 | print ("\033[95m_____________________________________________________________") 410 | print ("[!]\033[93m your linux has been scanned |\033[95m") 411 | print ("") 412 | print ("[*] \033[93mThanks for using my script -\033[97mlamani hani-\033[95m |") 413 | print ("_____________________________________________________________") 414 | 415 | 416 | 417 | 418 | if hani == ("11") : 419 | print("\033[95m[*]\033[97m Start:") 420 | print(" ") 421 | os.system('./sourcess') 422 | print(" ") 423 | allah = input("\033[95m[!] \033[97msource file has been updated do you want \033[91mupdate your Linux \033[97mnow ??? \033[95m(y/n) :") 424 | if allah == ("y") : 425 | print("\033[95m[*]\033[97m Start update:") 426 | print(" ") 427 | os.system('apt-get update && apt-get upgrade && apt-get dist-upgrade') 428 | print(" ") 429 | print (" ") 430 | print ("\033[95m_____________________________________________________________") 431 | print ("[!]\033[93m sources.list + linux has beed updated has been updated |\033[95m") 432 | print ("") 433 | print ("[*] \033[93mThanks for using my script -\033[97mlamani hani-\033[95m |") 434 | print ("_____________________________________________________________") 435 | if allah == ("n") : 436 | print (" ") 437 | print ("\033[95m_____________________________________________________________") 438 | print ("[!]\033[93m sources.list has been updated |\033[95m") 439 | print ("") 440 | print ("[*] \033[93mThanks for using my script -\033[97mlamani hani-\033[95m |") 441 | print ("_____________________________________________________________") 442 | 443 | 444 | 445 | if hani == ("14") : 446 | print("[!] Start") 447 | print(" ") 448 | print("\033[95m[?]\033[93mscreen resolution available :\033[97m ") 449 | os.system('xrandr ') 450 | print(" ") 451 | bobol = input("\033[95m[!]\033[97menter your screen resolution (ex: \033[91m1024x768\033[97m ):") 452 | os.system('xrandr -s '+(bobol)) 453 | print (" ") 454 | print ("\033[95m_____________________________________________________________") 455 | print ("[!]\033[93m the resolution has been updated |\033[95m") 456 | print ("") 457 | print ("[*] \033[93mThanks for using my script -\033[97mlamani hani-\033[95m |") 458 | print ("_____________________________________________________________") 459 | 460 | 461 | 462 | if hani == ("12") : 463 | print("\033[95m[*]\033[97m Start:") 464 | darline1 = input("\033[95m[?]\033[97m[?]do you want change TIME ZONE ?? \033[95m(Y/N)\033[97m :") 465 | if darline1 == ('Y') : 466 | bladi = input("\033[95m[?]\033[97menter your country:") 467 | print(" ") 468 | print("all TIMEZONE OF " + (bladi) +" :") 469 | os.system('timedatectl list-timezones | grep -i '+(bladi)) 470 | print(" ") 471 | oolom = input("[!] Ops! if timezone of country dont exict you can see all the TIMEZONE available ? [Y/N] :") 472 | if oolom == ('Y') : 473 | os.system('timedatectl list-timezones') 474 | 475 | zakobara = input("type your country \033[91mTIMEZONE ( ex:Africa/Algiers )\033[97m: ") 476 | os.system('timedatectl set-timezone '+(zakobara)) 477 | print(" ") 478 | os.system('sudo') 479 | os.system('sudo nt') 480 | os.system('sudo ntpd -qg') 481 | print (" ") 482 | print ("\033[95m_____________________________________________________________") 483 | print ("[!]\033[93m the time has been updated |\033[95m") 484 | print ("") 485 | print ("[*] \033[93mThanks for using my script -\033[97mlamani hani-\033[95m |") 486 | print ("_____________________________________________________________") 487 | 488 | 489 | 490 | 491 | if darline1 == ('N') : 492 | print("OK! lets just fix your time ;) ") 493 | print(" ") 494 | os.system('sudo') 495 | os.system('sudo nt') 496 | os.system('sudo ntpd -qg') 497 | print (" ") 498 | print ("\033[95m_____________________________________________________________") 499 | print ("[!]\033[93m the time has been updated |\033[95m") 500 | print ("") 501 | print ("[*] \033[93mThanks for using my script -\033[97mlamani hani-\033[95m |") 502 | print ("_____________________________________________________________") 503 | 504 | 505 | 506 | 507 | 508 | 509 | if hani == ("16") : 510 | print("\033[95m[*]\033[97m Start :") 511 | print(" ") 512 | print("\033[95m1 - \033[97mOpen all links that let you \033[91mconnect \033[97mwith me:") 513 | print("\033[95m2 - \033[97m send me \033[91memail \033[97m(work only with \033[91mgmail):") 514 | print(" ") 515 | vegeto = input("\033[95m[?] \033[97m choose :") 516 | if vegeto == ("1") : 517 | print("\033[95m[!] all links that let you \033[91monnect \033[97mwith me will open") 518 | darhood = input("press enter to start") 519 | url=("https://www.facebook.com/lamanihani :") 520 | webbrowser.open(url); 521 | 522 | if vegeto == ("2") : 523 | print("\033[95m[*]\033[97m Send your Problem:") 524 | content = input("\033[95m[?]\033[96menter your problem:") 525 | print("\033[95m[!]\033[96m LOGIN :") 526 | email = input("\033[95m[?]\033[96menter your gmail:") 527 | pas = input("\033[95m[?]\033[96menter your password to login:") 528 | mail = smtplib.SMTP('smtp.gmail.com',587) 529 | mail.ehlo() 530 | mail.starttls() 531 | mail.login((email),(pas)) 532 | mail.sendmail('fromemail','receiver',content) 533 | mail.close() 534 | print("\033[93m[!]\033[97mif there is any problem with sending your problem , you can \033[91mcontact \033[97mwith me ") 535 | print("\033[91mFB : \033[97mwww.facebook.com/lamanihani") 536 | print(" \033[97mmy gmail : \033[91mlamanihani1@gmail.com") 537 | 538 | 539 | 540 | 541 | 542 | 543 | 544 | 545 | --------------------------------------------------------------------------------