<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by SpinzyTech on Medium]]></title>
        <description><![CDATA[Stories by SpinzyTech on Medium]]></description>
        <link>https://medium.com/@isaiahoniade?source=rss-e3759e472c40------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*VGb4dfXHK092kFcdBSSkNA.jpeg</url>
            <title>Stories by SpinzyTech on Medium</title>
            <link>https://medium.com/@isaiahoniade?source=rss-e3759e472c40------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 12:24:35 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@isaiahoniade/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to Merge ChatGPT (Shell GPT) into Kali Linux (A tool every Hacker must possess)]]></title>
            <link>https://medium.com/@isaiahoniade/how-to-merge-chatgpt-shell-gpt-into-kali-linux-a-tool-every-hacker-must-possess-a7e27026761d?source=rss-e3759e472c40------2</link>
            <guid isPermaLink="false">https://medium.com/p/a7e27026761d</guid>
            <dc:creator><![CDATA[SpinzyTech]]></dc:creator>
            <pubDate>Sun, 26 Nov 2023 19:12:00 GMT</pubDate>
            <atom:updated>2023-11-26T19:12:00.624Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ARVt__3HAstOm4hzZ2SExA.png" /></figure><p>Let’s start with <strong>Kali Linux</strong>, known for its advanced security and penetration testing capabilities, also serves as a powerful platform for AI and machine learning applications. In this article, we explore how to harness the capabilities of ChatGPT (Shell GPT), a variant of the sophisticated GPT (Generative Pre-trained Transformer) model, within the Kali Linux environment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*n0F0m5Z3T9ZSbmPmDrXQ8Q.jpeg" /></figure><ul><li><strong>What is SHELL GPT?</strong></li></ul><p>Shell GPT can be used to convert our natural language into shell commands, i.e. ChatGPT interprets our requests and generates suitable commands from them. In addition, Shell GPT can explain error messages and program outputs to us. Since the API of OpenAI is used in the background of ChatGPT, you need an API key to use Shell GPT. I would write another article explaining how to create an OpenAI API Key.</p><p><strong>Installation Steps</strong></p><p>1. <strong>Update Your Kali Machine</strong>: Always start by updating your Kali Linux system to ensure all existing packages are up-to-date. Run `sudo apt-get update &amp;&amp; sudo apt-get upgrade` in the terminal.</p><p>2. <strong>Install Python</strong>: ChatGPT requires Python, so install it by running `sudo apt-get install python3` <strong><em>Note:</em></strong><em> If you have installed python and PIPbefore you don’t really need to install it again.</em></p><p>3. <strong>Install PIP</strong>: PIP is a package manager for Python. Install it with `sudo apt-get install python3-pip`.</p><p>4. <strong>Install JQ</strong>: We would be needing a programme called “JQ”, Install it with ‘ sudo apt install jq ’</p><p>5. <strong>Install Shell GPT: </strong>You<strong> </strong>install Shell GPT by running ‘ pip install shell-gpt ’</p><p>6. <strong>Change Directory</strong>: Changing the directory using the command ‘cd ~/.local/bin/’</p><p>7. <strong>Start Using Shell GPT</strong>: To use Shell GPT you need to run the command ‘python sgpt’</p><p>8. <strong>Input API KEY</strong>: The API KEY you generated has to be pasted here</p><figure><img alt="Here" src="https://cdn-images-1.medium.com/max/1024/1*sWqCjhzrMxAbQgpn57t4JQ.jpeg" /></figure><p>9. <strong>Start Using Shell GPT</strong>: Then you can ask Shell GPT any question you want to ask but <strong>NOTE </strong>That you have to navigate to the ~/.local/bin directory before you can start using Shell GPT, That would be stressful you know considering the fact you have to restart your Kali machine multiple times daily. That’s why we came up with a solution to start up your Shell GPT without having to navigate to the ~/.local/bin directory always all you have to do is just to type the command sgpt from anywhere and boom you are in…. <strong>We can do this by putting the directory where the python binaries and shell are located in the path environment variable using the command “</strong>export PATH=$PATH:~/.local/bin:/usr/bin/python3<strong>”</strong></p><p>With these you can call Shell GPT with just typing the command “sgpt” but still has to be within the terminal session, if you reboot your Kali Machine then you can’t call on Shell GPT that same way anymore.</p><p>Lets then learn how to Persist the change in the environment variable so when you reboot you can call Shell GPT from anywhere on your machine and you still can get a response.</p><p>To make this possible we have to open the bashrc file with Nano: Type the command ‘nano ~/.bashrc’ then at the bottom of this file you input this command <strong>“</strong>export PATH=$PATH:~/.local/bin:/usr/bin/python3<strong>”</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BT_6su2mPzi4tdND1TTO1g.jpeg" /></figure><p>then save it. Then you type this command “source ~/.bashrc” to make the changes effective in the current terminal session. You can input the command ‘sgpt --help’ for guide on how to use it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cn8G6SNMuIH-oCU7NDyBnw.jpeg" /></figure><p>Then you can call Shell GPT from anywhere on your Kali Machine even after rebooting your Kali Machine multiple times.</p><p><strong>Practical Applications</strong></p><p>Shell GPT on Kali Linux can be utilised for various purposes:</p><p>- Automated responses in cybersecurity simulations.<br>- Enhancing penetration testing reports with AI-generated content.<br>- Building chatbots for security training exercises.</p><p><strong>Conclusion</strong></p><p>Integrating ChatGPT with Kali Linux opens up new avenues for cybersecurity professionals, enthusiasts and Script Kiddies. This powerful combination brings the cutting-edge of AI technology into the hands of those at the forefront of digital security.</p><p>Note: Ensure to check the official ChatGPT and Kali Linux Video documentation for the latest updates and detailed instructions here <a href="https://youtu.be/7uRz_bb95YM?si=5CUxGOWV3t6N6GZz">https://youtu.be/7uRz_bb95YM?si=5CUxGOWV3t6N6GZz</a> .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QMJ3KV9s2p8sT35Lo53pfw.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a7e27026761d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>