{"id":2555,"date":"2015-08-24T07:53:12","date_gmt":"2015-08-24T07:53:12","guid":{"rendered":"http:\/\/www.pir8geek.com\/?p=2555"},"modified":"2015-08-24T07:53:12","modified_gmt":"2015-08-24T07:53:12","slug":"katoolin-automatically-install-all-kali-linux-tools","status":"publish","type":"post","link":"https:\/\/www.jameseduard.com\/?p=2555","title":{"rendered":"Katoolin &#8211; Automatically install all Kali Linux tools"},"content":{"rendered":"<p><strong>Katoolin<\/strong> &#8211; A pyhton script\u00a0\u00a0by <a href=\"http:\/\/lionsec.net\/\" target=\"_blank\" rel=\"noopener noreferrer\">LionSec<\/a> to install automatically all <strong>Kali Linux<\/strong> tools.<br \/>\n<iframe title=\"katoolin : Automatically install all Kali linux tools\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/8VxCWVoZEEE?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><br \/>\n<strong>Features:<\/strong><\/p>\n<ul>\n<li>Add Kali linux repositories<\/li>\n<li>Remove kali linux repositories<\/li>\n<li>Install Kali linux tools<\/li>\n<\/ul>\n<p>&nbsp;<br \/>\n<strong>Katoolin Requirements:<\/strong><\/p>\n<ul>\n<li>Python 2.7<\/li>\n<li>An operating system (tested on Ubuntu)<\/li>\n<\/ul>\n<p>&nbsp;<br \/>\n<strong>Installation and Instruction:<\/strong><\/p>\n<pre class=\"\">sudo su\ngit clone https:\/\/github.com\/LionSec\/katoolin.git &amp;&amp; cp katoolin\/katoolin.py \/usr\/bin\/katoolin\nchmod +x \/usr\/bin\/katoolin\nsudo katoolin\n<\/pre>\n<p><!--more--><br \/>\n<strong>wifresti.py Script:<\/strong><\/p>\n<pre class=\"\">#!\/usr\/bin\/python\nos = __import__('os')\nfrom subprocess import check_output\nimport subprocess\nimport sys, traceback\nimport platform\ndef main():\n        try:\n                linux = \"1\"\n                windows = \"2\"\n                mac = \"3\"\n                print \" \"\n                print \" \"\n                print\"               \/$$  \/$$$$$$                                \/$$     \/$$\"\n                print\"              |__\/ \/$$__  $$                              | $$    |__\/\"\n                print\" \/$$  \/$$  \/$$ \/$$| $$  \\__\/\/$$$$$$   \/$$$$$$   \/$$$$$$$ \/$$$$$$   \/$$\"\n                print\"| $$ | $$ | $$| $$| $$$$   \/$$__  $$ \/$$__  $$ \/$$_____\/|_  $$_\/  | $$\"\n                print\"| $$ | $$ | $$| $$| $$_\/  | $$  \\__\/| $$$$$$$$|  $$$$$$   | $$    | $$\"\n                print\"| $$ | $$ | $$| $$| $$    | $$      | $$_____\/ \\____  $$  | $$ \/$$| $$\"\n                print\"|  $$$$$\/$$$$\/| $$| $$    | $$      |  $$$$$$$ \/$$$$$$$\/  |  $$$$\/| $$\"\n                print\" \\_____\/\\___\/ |__\/|__\/    |__\/       \\_______\/|_______\/    \\___\/  |__\/\"\n                print\" \"\n                print\"\tAuthor: LionSec | Website: www.lionsec.net | @lionsec1\tV1.0\t\t\t\"\n                print\" \"\n                print \"Please choose your operating system.\"\n                print \" \"\n                print \" 1) linux\"\n                print \" 2) Windows\"\n                print \" 3) Mac OS\"\n                print\" \"\n                entrada = raw_input(\"&gt; \")\n                while entrada == linux and platform.system() == \"Linux\":\n                        print \" \"\n                        print \"All wireless networks :\"\n                        print \" \"\n                        command = \"ls -1 \/etc\/NetworkManager\/system-connections\/\"\n                        proc = subprocess.Popen(command,stdout=subprocess.PIPE,shell=True)\n                        (out, err) = proc.communicate()\n                        outwithoutreturn = out.rstrip('\\n')\n                        print outwithoutreturn\n                        proc\n                        print \" \"\n                        print \"Insert the network name , or press (a) to see information about all networks.\"\n                        print \" \"\n                        nombre = raw_input(\"&gt; \")\n                        if nombre == \"a\":\n                                print \"\\033[1;36m############################ - Information about all networks - ############################\\033[1;m\"                        \t\n                                wifi0 = os.system(\"egrep -h -s -A 9 --color -T 'ssid=' \/etc\/NetworkManager\/system-connections\/*\")\n                                print wifi0\n                                print \"\\033[1;36m############################################################################################\\033[1;m\"                                \n                        else:\n                                print \"\\033[1;36m###################################### - \" + nombre + \" - ######################################\\033[1;m\"\n                                print \" \"\n                                wifi0 = str(os.system(\"egrep -h -s -A 0 --color -T 'security=|key-mgmt=|psk=' \/etc\/NetworkManager\/system-connections\/\" + nombre))\n                                print \" \"\n                                print \"\\033[1;36m#############################################################################################\\033[1;m\"\n                                print \" \"\n                while entrada == windows and platform.system() == \"Windows\":\n                        print check_output(\"netsh wlan show profile key=clear\", shell=True)\n                        print \"Insert the network name , or press (a) to see information about all networks.\"\n                        print \" \"\n                        nombre = raw_input(\"&gt; \")\n                        if nombre == \"a\":\n                                print \"############################ - Information about all networks - ############################\"                          \n                                print \" \"                            \n                                wifi2 = check_output(\"netsh wlan show profile name=* key=clear\", shell=True)\n                                print wifi2\n                                print \" \" \n                                print \"#############################################################################################\"\n                        else:\n                                print \"###################################### - \" + nombre + \" - ######################################\"\n                                print \" \"                            \n                                wifi2 = check_output(\"netsh wlan show profile name=\" + nombre +\" key=clear\", shell=True)\n                                print \" \"                            \n                                print wifi2\n                                print \"#############################################################################################\"\n                                print \" \"  \n                        guardar = raw_input(\"Do you want to save the result ? [y\/n] &gt; \")\n                        if guardar == \"y\":\n                                f = open(nombre+'.txt','w')\n                                f.write(wifi2 + '\\n')\n                                f.close()\n                if entrada == mac:\n                        print \"Coming soon\"\n                else:\n                        print \"Please select an option . (1) for linux , (2) for windows , and (3) for Mac OS .\"\n        except KeyboardInterrupt:\n                print \"Shutdown requested...exiting\"\n        except Exception:\n                traceback.print_exc(file=sys.stdout)\n        sys.exit(0)\nif __name__ == \"__main__\":\n            main()\n<\/pre>\n<p>&nbsp;<br \/>\n<strong>Usage:<\/strong><\/p>\n<ul>\n<li>Just select the number of a tool to install it<\/li>\n<li>Press 0 to install all tools<\/li>\n<li>back : Go back<\/li>\n<li>gohome : Go to the main menu<\/li>\n<\/ul>\n<p><a href=\"https:\/\/github.com\/LionSec\/katoolin\" target=\"_blank\" rel=\"noopener noreferrer\"><b>Download\u00a0Katoolin\u00a0at Github<\/b><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Katoolin &#8211; A pyhton script\u00a0\u00a0by LionSec to install automatically all Kali Linux tools. Features: Add Kali linux repositories Remove kali linux repositories Install Kali linux tools &nbsp; Katoolin Requirements: Python 2.7 An operating system (tested on Ubuntu) &nbsp; Installation and Instruction: sudo su git clone https:\/\/github.com\/LionSec\/katoolin.git &amp;&amp; cp katoolin\/katoolin.py \/usr\/bin\/katoolin chmod +x \/usr\/bin\/katoolin sudo katoolin<\/p>\n","protected":false},"author":1,"featured_media":2556,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[516,541],"tags":[558,352,559],"class_list":["post-2555","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-kali-linux","category-python","tag-katoolin","tag-python","tag-repositories"],"_links":{"self":[{"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=\/wp\/v2\/posts\/2555","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2555"}],"version-history":[{"count":0,"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=\/wp\/v2\/posts\/2555\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2555"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2555"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2555"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}