EVERY HACKER needs to use THIS TOOL! Shell GPT Kali Linux Tutorial 🐚

Sdílet
Vložit
  • čas přidán 19. 05. 2024
  • In this video we will look at a program that can be used to integrate ChatGPT into Kali Linux, namely Shell GPT. 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, you need an API key to use Shell GPT. I’ve already created a video explaining how to create an OpenAI API Key. You can find the video in the video description down below. We will now take care of the setup that is necessary to use Shell GPT in Kali Linux.
    #chatgpt #shellgpt #pentesting
    00:00 | What is Shell GPT?
    00:25 | OpenAI API Key
    00:47 | Install JQ
    01:25 | Install Shell GPT
    02:17 | Start sgpt from everwhere
    03:01 | Persistence
    03:30 | How does Shell GPT work?
    04:47 | Shell GPT example usage
    Commands used in this video
    ► sudo apt install jq
    ► pip install shell-gpt
    ► cd .local/bin
    ► python sgpt
    ► python sgpt "Hello"
    ► export PATH=$PATH:~/.local/bin:/usr/bin/python3
    ► sgpt
    ► nano ~/.bashrc
    ► source ~/.bashrc
    ► sgpt --shell "Scan the target 10.0.2.17"

Komentáře • 270

  • @sudoSecurity
    @sudoSecurity  Před 6 měsíci +17

    I've created a video on how to fix the "wrong API key problem".
    czcams.com/video/bqSFxDI2DFk/video.html
    I hope it helps :)

    • @marilynlucas5128
      @marilynlucas5128 Před 6 měsíci

      What's the difference between Shell Gpt and open interpreter?

    • @sudoSecurity
      @sudoSecurity  Před 6 měsíci +2

      Shell GPT costs money. I will make a video on Open interpreter soon!@@marilynlucas5128

    • @rev.jonathanwint6038
      @rev.jonathanwint6038 Před 3 měsíci +2

      Can you just find a way to use a Local open souce LLM? Its beyond Weird to trust Bill Gates Anything on a Kali system!

    • @ROBERT-ml7ml
      @ROBERT-ml7ml Před 2 měsíci +1

      ​@@rev.jonathanwint6038"trust bill gates Anything on a kali system". This makes no sense. And if you don't trust someone on your computer, just use a password. You complete F@@L! Wow, smh...

    • @MCJ65
      @MCJ65 Před 2 měsíci

      @@rev.jonathanwint6038 This would just be wonderful. @sudosecurity

  • @nearlight8798
    @nearlight8798 Před 5 měsíci +14

    People be making neg comments and still have L lives.
    Many of them didn't even know it existed till your video. W for this man you really make learning easier.
    Thank you bro, ❤much love from Nigeria 🇳🇬

  • @tilmanbender7489
    @tilmanbender7489 Před 6 měsíci +17

    Looks like an interesting option for learning

  • @TheManInCommand
    @TheManInCommand Před 6 měsíci +13

    You're the man for bringing this to the people!

  • @SalmanAhmed-pf7kf
    @SalmanAhmed-pf7kf Před 4 měsíci +3

    That is very interesting and useful. Thanks Sir.

  • @shadamethyst1258
    @shadamethyst1258 Před 6 měsíci +112

    Mmh yes, let's let openai know that you are planning to break the law. Nothing could go wrong :)

    • @sudoSecurity
      @sudoSecurity  Před 6 měsíci +38

      Haha, you can also use this for cyber defense purposes ;)

    • @nickadams2361
      @nickadams2361 Před 6 měsíci +10

      100% cap it safely translates natural language to cli commands. Way irresponsible to run commands you when aren’t sure what they do.

    • @projectsspecial9224
      @projectsspecial9224 Před 6 měsíci +4

      Great tool but potentially very dangerous... it reminds me a Tesla car slamming into a semi-truck "thinking" it's a underpass !?! 😮

    • @sertenejoacustic
      @sertenejoacustic Před 6 měsíci

      @@projectsspecial9224what

    • @CentralBase
      @CentralBase Před 6 měsíci +15

      Here’s a little secret… don’t break the law and you will be fine

  • @lagknowswhy
    @lagknowswhy Před 6 měsíci +3

    sehr cool! weiter so :)

  • @wnabgti
    @wnabgti Před 3 měsíci +2

    I think it's worth pointing out that the latest Kali version uses Zsh now by default, not .bashrc. If you want the path to persist, edit the ~/.zshrc file NOT ~/.bashrc. Thanks for the video :)

    • @xlneoMAXlx
      @xlneoMAXlx Před 2 měsíci

      Use a real shell lol. chsh -s /bin/bash

    • @wnabgti
      @wnabgti Před 2 měsíci

      @@xlneoMAXlx Zsh for interactive shell. Bash for scripts. The autocomplete feature is very useful in my opinion. But whatever works for you man.

    • @sudoSecurity
      @sudoSecurity  Před 2 měsíci

      You're welcome and thanks for this additional information

  • @WolfIonGaming
    @WolfIonGaming Před 6 měsíci +2

    This is a great tool awesome video! Subbed and liked!

    • @sudoSecurity
      @sudoSecurity  Před 6 měsíci

      Thank you and welcome on board :) I hope you will enjoy my video series "Ethical Hacking with ChatGPT" coming up soon.

  • @alarafat.mujahid
    @alarafat.mujahid Před 5 měsíci

    Wow! very interesting thanks a lot bro

  • @ondrahg4555
    @ondrahg4555 Před 6 měsíci

    Thats awsome video, one of best kali tutorials i ever seen

  • @kensygames5967
    @kensygames5967 Před 2 měsíci +1

    have solved the problem. If you follow the instructions today. However, you still have to change the model, which is currently gpd 4 as the default model, you have to change it to 3.5 turbo then everything works as you described

    • @magicmatt316
      @magicmatt316 Před 2 měsíci

      How did you change the model?

    • @kensygames5967
      @kensygames5967 Před 2 měsíci

      In the terminal open nano /home/kali/.config/shell_gpt/.sgptrc like in the videoczcams.com/video/bqSFxDI2DFk/video.html. Your default model is = -4-
      and you have to set it to -3.5-turbo. You can also see it in this video.@@magicmatt316

    • @kensygames5967
      @kensygames5967 Před 2 měsíci

      In the terminal open nano /home/kali/.config/shell_gpt/.sgptrc like in the videoczcams.com/video/bqSFxDI2DFk/video.html. Your default model is = -4-
      and you have to set it to -3.5-turbo. You can also see it in this video.@@magicmatt316

    • @kensygames5967
      @kensygames5967 Před 2 měsíci

      In the terminal open nano /home/kali/.config/shell_gpt/.sgptrc like in the videoczcams.com/video/bqSFxDI2DFk/video.html. Your default model is = -4-
      and you have to set it to -3.5-turbo. You can also see it in this video.@@magicmatt316

    • @kensygames5967
      @kensygames5967 Před 2 měsíci

      In the terminal open nano /home/kali/.config/shell_gpt/.sgptrc like in the videoczcams.com/video/bqSFxDI2DFk/video.html. Your default model is = -4-
      and you have to set it to -3.5-turbo. You can also see it in this video.@@magicmatt316

  • @MFoster392
    @MFoster392 Před 6 měsíci +1

    Great info thanks :-)

  • @TeamUnpro
    @TeamUnpro Před 5 měsíci +2

    Ok that's amazing. Holy eff this is going to change my linux life forever lol

  • @z1l0x
    @z1l0x Před 6 měsíci +2

    another hardworker like me.

  • @dronefootagelivestream7905
    @dronefootagelivestream7905 Před 5 měsíci +2

    That particular task isn't breaking the law. Also, chatgpt seems to almost need it spelled out that you are doing something wrong (ethically or illegally) before it knows to block the action (or generated info).

  • @ivanshmilyk7614
    @ivanshmilyk7614 Před 2 měsíci

    many thanks for the video, I was struggling with my Kali VM on my UTM M2 Mac, which does not allow the UTM to use the shared clipboard (and copy paste), so I had to type everything by hand :) Quick question though: why do you think my sgpt answers with the "map" command instead of nmap for "scan the target xx.xx.xx.xx" request?

  • @someoneeternal7575
    @someoneeternal7575 Před 6 měsíci

    Nice ..Thanks..

  • @sudoSecurity
    @sudoSecurity  Před 6 měsíci +13

    If you used a wrong or an outdated API key, you can do the following to fix this:
    - Open /home/kali/.config/shell_gpt/.sgptrc (under Kali Linux)
    - Edit the line "OPENAI_API_KEY=..." and add your API Key there.
    If you're not working on Kali Linux and don't know, where Shell GPT ist installed, use the following command:
    - sudo find / name ".sgptrc"
    After that, you can proceed just like before.

    • @wrightian5291
      @wrightian5291 Před 5 měsíci

      Is the API_KEY free ?
      Or does it require you to have ChatGPT plus or something?

    • @Volroad
      @Volroad Před 5 měsíci

      free @@wrightian5291

  • @Avshack
    @Avshack Před 6 měsíci

    Bro this video made your channel grow faster💞🎉congrats

    • @sudoSecurity
      @sudoSecurity  Před 6 měsíci

      Yes, I'm very happy about it, trank you :) I hope most of the viewers will stay.

    • @Avshack
      @Avshack Před 6 měsíci

      @@sudoSecurity yup they will stay bro❤️you're awesome

  • @Anthonyg5005
    @Anthonyg5005 Před 6 měsíci

    there is also open interpreter which writes and executes python code using gpt 3.5, gpt 4, or any open source model running locally

    • @sudoSecurity
      @sudoSecurity  Před 6 měsíci +2

      That's right, a video on this tool will follow soon.

  • @user-mi9bp4jl1k
    @user-mi9bp4jl1k Před 2 měsíci

    thank you 🤗

  • @tcb133
    @tcb133 Před 6 měsíci +2

    can this be run with a local model like LM studio in server mode? afaik, i'd have to put api_base = localhost/... but i don't know where that could be

    • @sudoSecurity
      @sudoSecurity  Před 6 měsíci +2

      I don't think so. But I guess, if you have a local LLM on your PC, you can write a Python program that acts like Shell GPT. I'm going to publish Python tutorials soon, so I will take this into consideration.

  • @daniell.3893
    @daniell.3893 Před 5 měsíci

    This is so impressive, But I'm waiting on that self installing version...

  • @braddockbrawler
    @braddockbrawler Před 5 měsíci

    Your german accent hacked my brain :D

  • @VSteam81
    @VSteam81 Před 6 měsíci +11

    You know how I would do this? Instead of adding the stuff to PATH, I would add "alias sgpt='python ~/.local/bin/sgpt'" to my .bashrc because I like using nano to edit my .bashrc.

    • @sudoSecurity
      @sudoSecurity  Před 6 měsíci +2

      Also a good idea :)

    • @repairstudio4940
      @repairstudio4940 Před 6 měsíci +1

      That's a easy and quick way, but tread lightly with aliases as that's a common place to inject some executable malware, not that it's a bad idea, I've done this especially with tools I planned to use frequently in a session.

    • @sworatex1683
      @sworatex1683 Před 6 měsíci +2

      Or just make a symlink from sgpt to /usr/bin there are so many possibilities...

  • @vostfrguys
    @vostfrguys Před 6 měsíci +5

    I prefere open interpreter or the github cli copilot tool

  • @user-od7hv5yq1w
    @user-od7hv5yq1w Před 6 měsíci +4

    The API Key is like leaving loads of breadcrumbs for the authorities 👍

    • @sudoSecurity
      @sudoSecurity  Před 6 měsíci +6

      Then don't give the authorities a reason to follow the breadcrumbs 👍

    • @mordantvistas4019
      @mordantvistas4019 Před 3 měsíci

      savage, lol@@sudoSecurity

  • @moralfuxery
    @moralfuxery Před 5 měsíci

    How did you get your shell to display the "error" message like that?! I dig that. Gotta be a way with OhMyZsh yeah?

    • @sudoSecurity
      @sudoSecurity  Před 5 měsíci

      It's the basic zsh Shell with the latest version of Python installed.

  • @hakdergaming
    @hakdergaming Před 6 měsíci +4

    imagine if you could substitute this with your own local quantized llm

  • @demo1905
    @demo1905 Před 6 měsíci +1

    You got a sub from me for the great info thanks 🎉

    • @sudoSecurity
      @sudoSecurity  Před 6 měsíci +1

      Thank you and welcome on board ;)

    • @nemanja12D
      @nemanja12D Před 6 měsíci +1

      One more

    • @sudoSecurity
      @sudoSecurity  Před 6 měsíci +1

      Thank you :) I hope you will enjoy my upcoming series "Ethical Hacking with ChatGPT" ;) @@nemanja12D

  • @moshekaufman7103
    @moshekaufman7103 Před 6 měsíci

    I would like to use LM studio as the source for this , how wouold I change the server address to the LM studio address?

    • @sudoSecurity
      @sudoSecurity  Před 6 měsíci

      I guess, that it is better to use "Open Interpreter" in that case. I'm not quite sure if Shell GPT can use different LLMs.

  • @_Nothsa
    @_Nothsa Před 6 měsíci

    Is there any way to do this with llama.cpp or autogptq local models?

    • @sudoSecurity
      @sudoSecurity  Před 6 měsíci

      I'm trying to figure it out, but in the mean time you could write a Python program that translates your requests into shell commands using a prompt like
      "Translate the following requirement into a shell command: {user_input}"
      for the llama model.

    • @_Nothsa
      @_Nothsa Před 6 měsíci

      @@sudoSecurity good idea. i also looked into it and decided the best course of action was to write an api endpoint for generation, then make a proxy on my other machine that redirects all requests to openai to my api endpoint instead.
      i could have probably went to the repo and changed the endpoint manually, but oh well.

  • @execccccc
    @execccccc Před 4 měsíci +2

    Every time I type Python sgpt "hello" I get a huge box with a lot of stuff in it. Above it says Traceback (Most recent call Last) and below it says Notfounderror: Error Code 404...

  • @samuelhurtado7429
    @samuelhurtado7429 Před 3 měsíci

    Does it work with other LInux distribution, like Mint or Arch?

  • @KonstantinPages
    @KonstantinPages Před 5 měsíci

    Do you need to have a ChatGPT subscription to use the shell in Kali?

    • @sudoSecurity
      @sudoSecurity  Před 5 měsíci

      Yes, but I use it for other reasons than Shell GPT ;)

  • @Freelessons1
    @Freelessons1 Před 5 měsíci

    Can we use Ai in the terminal like …can we make Ai in the terminal then ask it to do something without us writing so much codes and use a lots of tools ? Can we develop Ai that can help you hack without long process?

    • @Deameseames
      @Deameseames Před 2 měsíci +1

      It possible but with quantum engineering it going to be easier faster and more reliable

  • @umkhrorsty
    @umkhrorsty Před 2 měsíci

    Imagine use gpt, kali and AR in street, how cool can be. (* - *)

  • @mrtrojanpk
    @mrtrojanpk Před 6 měsíci +1

    Shell gpt is going to socially engineer you😄

    • @sudoSecurity
      @sudoSecurity  Před 6 měsíci

      It's possible 😅 I will make a video on the security of ShellGPT soon.

  • @ishaat_insights
    @ishaat_insights Před 2 měsíci

    Sir , I am using Manjaro Linux (Arch Linux) . How can i use The Command for That

  • @spencerfunk6697
    @spencerfunk6697 Před 6 měsíci +1

    can u do this with docker?

  • @scorpioqueen9925
    @scorpioqueen9925 Před 5 měsíci

    it says i didnt provide an api key in an authorization hearder using bear auth. how do i do that

    • @sudoSecurity
      @sudoSecurity  Před 4 měsíci

      czcams.com/video/bqSFxDI2DFk/video.html

  • @rare8091
    @rare8091 Před 2 měsíci

    Bro when I run the command pip install shell-gpt there is an error which says couldn't build wheels for tiktoken

    • @sudoSecurity
      @sudoSecurity  Před 2 měsíci

      Please consult StackOverflow or ChatGPT ;)

  • @aniketchavan2211
    @aniketchavan2211 Před 6 měsíci

    🎉

  • @Pwnagotchi-0
    @Pwnagotchi-0 Před 3 měsíci

    Authentication error after “python sgpt”. I’d entered the wrong api key and now it’s always an error.
    Any ideas on how to fix it?

    • @sudoSecurity
      @sudoSecurity  Před 3 měsíci

      czcams.com/video/bqSFxDI2DFk/video.html&lc=Ugz2f_wID4nnlqORco94AaABAg

  • @_Wansmet
    @_Wansmet Před 5 měsíci +1

    nice video very deutscher Accent

    • @sudoSecurity
      @sudoSecurity  Před 5 měsíci +1

      Thank you :)
      It's because I am a Deutscher ;P

  • @terror403
    @terror403 Před 4 měsíci

    more exemples pls

  • @tarzaned3949
    @tarzaned3949 Před 5 měsíci

    where is the video down in the description you have talked about its only time stamps

    • @sudoSecurity
      @sudoSecurity  Před 5 měsíci

      I will publish it soon. Sorry, I'm currently planning into the future ;)

  • @user-wx2og9iu2b
    @user-wx2og9iu2b Před 6 měsíci +1

    it's work on manjaro linux ??

  • @hendrikkooistra1
    @hendrikkooistra1 Před 5 měsíci

    now we need voice commands for shell gpt XD and where set.

    • @sudoSecurity
      @sudoSecurity  Před 5 měsíci

      :D I don't think that this is too difficult to implement ;)

  • @leandrogoethals6599
    @leandrogoethals6599 Před 6 měsíci +1

    any way pass this to a localllm without converting api calls?

    • @sudoSecurity
      @sudoSecurity  Před 6 měsíci +2

      I'm working on it. But I guess writing an own Python tool is less work ;)

  • @tk9901
    @tk9901 Před 5 měsíci

    I made a mistake and entered the wrong API key. How would I go about entering a new key?

    • @sudoSecurity
      @sudoSecurity  Před 5 měsíci

      Here you go czcams.com/video/bqSFxDI2DFk/video.htmlsi=Uca74nLXtFCdmnBK

  • @orlandocarsandcoffee
    @orlandocarsandcoffee Před 5 měsíci

    Would love to see a personal AI created that can be used on the new PLAUS.

  • @4pThorpy
    @4pThorpy Před 6 měsíci +2

    Interesting? Yes, but...sending info on what I'm doing to openAI seems like the opposite of what I'd want out of my linux environment

    • @sudoSecurity
      @sudoSecurity  Před 6 měsíci

      I will do a follow up video on the security of Shell GPT and using OpenAI's API in general.

  • @honeymak
    @honeymak Před 2 měsíci

    any guardrail will be triggered?

  • @Random_Innovation
    @Random_Innovation Před 6 měsíci +4

    Open interpreter makes this thing obsolete

    • @sudoSecurity
      @sudoSecurity  Před 6 měsíci +2

      I will test this soon and make an update video

  • @Crampi2011
    @Crampi2011 Před 2 měsíci

    Its Funny that "hackers" have to be explained how to change the PATH variable. :-D

  • @user-is3uv6bq3e
    @user-is3uv6bq3e Před 5 měsíci

    kannst du vielleicht auch ein Video auf Deutsch machen?

  • @soumyajitnandy-s1-roll-417
    @soumyajitnandy-s1-roll-417 Před 6 měsíci

    When you order your AI to scan the target system, why you type this type of language I can't understand what are you typing there. Can you make it simple English language for running this tool

    • @sudoSecurity
      @sudoSecurity  Před 6 měsíci

      What language? This is Englisch.

    • @soumyajitnandy-s1-roll-417
      @soumyajitnandy-s1-roll-417 Před 6 měsíci

      @@sudoSecurity sir when you command Your AI to perform an nmap scan you type some language for scanning nmap this language I can't able to understand what you write

    • @sudoSecurity
      @sudoSecurity  Před 6 měsíci

      A, I see. Sorry for that! It's German and it says "Scan the target system 10.0.2.17"@@soumyajitnandy-s1-roll-417

    • @soumyajitnandy-s1-roll-417
      @soumyajitnandy-s1-roll-417 Před 6 měsíci

      @@sudoSecurity can you please set the language for English. Sir how to find the phone number of any person through his name or any social media accounts

    • @sudoSecurity
      @sudoSecurity  Před 6 měsíci

      For this video, I can't do that. But for future videos, I will.@@soumyajitnandy-s1-roll-417

  • @hardikpatel5761
    @hardikpatel5761 Před 2 měsíci

    where is link for video where you generate API Key

    • @sudoSecurity
      @sudoSecurity  Před 2 měsíci

      Well, simply follow the instructions on OpenAI's website.

  • @ArturoGonzalez-uz1by
    @ArturoGonzalez-uz1by Před 5 měsíci

    What type of IP did you mention?

  • @fenix20075
    @fenix20075 Před 5 měsíci

    I want to ask, why everything relative to AI require a openAI key... I am not dumb, but it is really dumb for everyone if they send everything including their command to openai.

    • @sudoSecurity
      @sudoSecurity  Před 5 měsíci

      Not everything related to AI in general requires an OpenAI API Key.
      No one says, that you should send all your commands to OpenAI, especially if you're a professional. This tool is for entry level pentesters and those who start learning Ethical Hacking!

    • @fenix20075
      @fenix20075 Před 5 měsíci +1

      ​ @sudoSecurity Of course I know this shellGPT is for the entry level of hacker, even you can say that is for very helpful for new linux users. As openAI is going to... "decay", if one day, I just use "if" and I guess you know what I mean... openAI is going to switch off their servers, all these kind of projects will follow it. We already have our local GPT server, why we cannot use our local GPT server to develop the AI project, instead of using openAI? I know that is not your fault, and I can say that is not even a fault. I am sorry about my personal emotional complain. orz

    • @sudoSecurity
      @sudoSecurity  Před 5 měsíci

      All right ;) I fully understand what you mean! It would be great, if there was a generic AI adapter, where you can simply link to another LLM, so that you only need an API key if you don't have a local GPT (or other) model. @@fenix20075

    • @fenix20075
      @fenix20075 Před 5 měsíci +2

      @@sudoSecurity I have seen some projects' config file allow to change of the access link of openAI, and allow the user to change the link to another server, so users can directly change the link to apply as local GPT server setting.

  • @jasonperry3626
    @jasonperry3626 Před 2 měsíci

    api key video not in description

    • @sudoSecurity
      @sudoSecurity  Před 2 měsíci

      Well, simply follow the instructions on OpenAI's website.

  • @KaungKhantZaw
    @KaungKhantZaw Před 4 měsíci +1

    I got the 404 client error : not found for url

    • @sudoSecurity
      @sudoSecurity  Před 4 měsíci

      The error message already tells you what to do ;)

    • @lukasxlama
      @lukasxlama Před 4 měsíci

      Exactly the same problem for me, have you already found a solution?

  • @JerimiaThatcher
    @JerimiaThatcher Před 5 měsíci

    Where is gpt available for purchase

  • @rayzenyoutube_
    @rayzenyoutube_ Před 6 měsíci +2

    I did put a wrong API key and now it doesn't work anymore what should i do?

    • @maef41
      @maef41 Před 6 měsíci

      put the right API key in

    • @HiddenKey
      @HiddenKey Před 6 měsíci +1

      yeah I pasted something in but couldnt tell if it submitted or not now its giving me an API error even though I have a fresh key

    • @sudoSecurity
      @sudoSecurity  Před 6 měsíci +2

      Simply set an environment variable $OPENAI_API_KEY with your API key. I hope it helps.

    • @sudoSecurity
      @sudoSecurity  Před 6 měsíci

      I have another solution!
      If you used a wrong or an outdated API key, you can do the following to fix this:
      - Open /home/kali/.config/shell_gpt/.sgptrc (under Kali Linux)
      - Edit the line "OPENAI_API_KEY=..." and add your API Key there.
      If you're not working on Kali Linux and don't know, where Shell GPT ist installed, use the following command:
      - sudo find / name ".sgptrc"
      After that, you can proceed just like before.

    • @sudoSecurity
      @sudoSecurity  Před 6 měsíci

      I've created an update video :) czcams.com/video/bqSFxDI2DFk/video.html

  • @lukeempty3386
    @lukeempty3386 Před 6 měsíci

    Dont see any link to a video about API keys or any video on your channel

    • @sudoSecurity
      @sudoSecurity  Před 6 měsíci

      The video will follow up soon! I'm already planning into the future ;)

  • @VaibhavShewale
    @VaibhavShewale Před 6 měsíci +1

    ineresting bu i don have API

    • @sudoSecurity
      @sudoSecurity  Před 6 měsíci

      You can use "Open interpreter" instead

  • @M4lock
    @M4lock Před 3 měsíci +1

    So you can say the term “script kiddie” is out. Now it's "Ai-kiddie"...

  • @CodeNotFound
    @CodeNotFound Před 6 měsíci +1

    first

  • @PianoShawn
    @PianoShawn Před 6 měsíci +1

    Hate to break it to u man, to anyone that doesn’t know to shell code, this gpt won’t do much good, they won’t know what they had tasked the machine to do.

    • @sudoSecurity
      @sudoSecurity  Před 6 měsíci

      That's why you can use the command [D]escribe ;) But I admit, it is mich better to learn shell commands from the ground up.

  • @WAITWHUT-wl2uj
    @WAITWHUT-wl2uj Před 6 měsíci +3

    OpenAi using this way to train their AI... COPYRIGHT FREE.. 😂

  • @jesuscano6697
    @jesuscano6697 Před 5 měsíci

    My says missing string PROMPT

  • @pjj7466
    @pjj7466 Před 4 měsíci

    Api key is free for everyone?

  • @Hmscpro
    @Hmscpro Před 6 měsíci +1

    Openai api are not cheap

    • @sudoSecurity
      @sudoSecurity  Před 6 měsíci

      I've used this tool many times and in over one month I have still 19$ from my 20$ API usage left. "Cheap" is relative ...

    • @Hmscpro
      @Hmscpro Před 6 měsíci

      @@sudoSecurity Actually i talking about api when you use in ai created chat bot in your website for public

  • @warrenvos1380
    @warrenvos1380 Před 5 měsíci

    This doesnt work? All I get is error 429

    • @sudoSecurity
      @sudoSecurity  Před 5 měsíci

      Too Many Requests!

    • @adithyar4542
      @adithyar4542 Před 5 měsíci +1

      @@sudoSecurity what should i do to solve this ? because even im facing the same issue while trying - python sgpt "hello"

  • @chikungamingvlog8063
    @chikungamingvlog8063 Před 3 měsíci

    I can't run it

  • @user-fc1ep2xy7k
    @user-fc1ep2xy7k Před 5 měsíci +5

    Here's why you SHOULD NOT use this. OpenAI basically logs everything you send to them, including prompts, IP address etc. Now you are using your own api key, making you very easily detectable. If you do something funny with this, well they will know. That's not what you want. If you want AI model - run open source model on your local env, fine-tune it, whatever, just don't use something like that, if you are acting as a red teamer

    • @sudoSecurity
      @sudoSecurity  Před 5 měsíci

      This tool is NOT for illegal purposes. It's for beginners in the pentesting world and for this reason, it is good.

    • @user-fc1ep2xy7k
      @user-fc1ep2xy7k Před 5 měsíci +2

      @@sudoSecurity sure thing! I'm not saying anyone should do anything illegal. But let's face the ugly truth - most beginners do exactly that. They come to channels like yours, to "learn to hack", and no matter how many times you tell them, "Do not try this at your neighbor" they will do it anyway. And that kind of action, like openly communicating with OpenAI with your own API Key is just a target practice for authorities. Good video, just IMO running pre-trained and fine-tuned model locally is way better - first because you can train it to do whatever you want and second you will learn a lot doing this

    • @okthisisepic6161
      @okthisisepic6161 Před 4 měsíci

      ​@sudoSecurity except people won't use it for learning they will use it a crutch and since report writing is a big part they won't even understand what they are actually doing

  • @Halalela24
    @Halalela24 Před 5 měsíci

    Where us the video to generate the open ai key i dont see it?

    • @sudoSecurity
      @sudoSecurity  Před 5 měsíci +1

      It's very simple, just visit OpenAI, create an account and follow the steps

    • @Halalela24
      @Halalela24 Před 4 měsíci

      @@sudoSecurity i keep getting a 429 error have you experience this

  • @thedarkparadox
    @thedarkparadox Před 6 měsíci +8

    As a proof of concept this is neat but in practical terms this is absolutely awful. API key is traceable along with timestamps via logs of every single thing parsed by the key, giving a timeline to establish not only modus operandi but also motive while essentially having a neon sign flashing above your head that says I'M HACKING AND I DON'T KNOW WHAT I'M DOING.
    Please keep this contained to local systems only that you yourself manage for proof of concept and/or teaching methods and don't actually try this on real targets or you're going to have a bad time.

    • @fokyewtoob8835
      @fokyewtoob8835 Před 6 měsíci +1

      Stolen API keys are a thing though just like people use stolen cars to commit crimes. Not saying to do it just saying you can easily get over the traceable part of the API key doesn’t belong to you

    • @user-dt7px5xp6z
      @user-dt7px5xp6z Před 6 měsíci

      ​@@fokyewtoob8835He gets it. Or you wait for a local model.

    • @pacificblueit8519
      @pacificblueit8519 Před 5 měsíci

      @@fokyewtoob8835 and best to mention for any lowlife that would fuck up someone elses like that deserves all the karma they will get.

  • @saiddope2241
    @saiddope2241 Před 6 měsíci

    lol things are getting serious

  • @marsovac
    @marsovac Před 6 měsíci +1

    This is so tedious to use.

    • @sudoSecurity
      @sudoSecurity  Před 6 měsíci

      Why? Depends on what you want to use it for

    • @marsovac
      @marsovac Před 6 měsíci

      ​@@sudoSecurity maybe for newbies ok to learn commands when inside a terminal, but for writing a complex script not. Copilot does a better job.

  • @technicalboy1816
    @technicalboy1816 Před 6 měsíci +2

    Real hackers don't need chatgpt 😂 only idiots do!

    • @sudoSecurity
      @sudoSecurity  Před 6 měsíci +2

      And real hackers don't call themselves "hackers" ;)

    • @technicalboy1816
      @technicalboy1816 Před 5 měsíci

      @sudoSecurity exactly! 🤣🤣🤣🤣🤣 Mr chat gpt

  • @FlashstaRR01
    @FlashstaRR01 Před 5 měsíci

    22h2

  • @EtH-xf6br
    @EtH-xf6br Před 4 měsíci

    are you really going to hack someone via openai api? damn well boy i guess that will be short career

    • @sudoSecurity
      @sudoSecurity  Před 4 měsíci

      This video and Shell GPT are for educational purposes only.

    • @EtH-xf6br
      @EtH-xf6br Před 4 měsíci

      sure :)

  • @purdysanchez
    @purdysanchez Před 6 měsíci

    Nice try, FBI.

  • @Zer0TheRapper01
    @Zer0TheRapper01 Před 5 měsíci

    Kali Linux has traces

  • @monabbar007
    @monabbar007 Před 6 měsíci

    waste!

  • @redbaron3555
    @redbaron3555 Před 6 měsíci

    Stop wasting your time on this and install open interpreter which is way more sophisticated than this.

    • @sudoSecurity
      @sudoSecurity  Před 6 měsíci +1

      I'll do another video on this as well.

    • @redbaron3555
      @redbaron3555 Před 6 měsíci

      @@sudoSecurity Awesome! i will wait and watch it!!👍🏻👏🏻

  • @Nobody-eg4bi
    @Nobody-eg4bi Před 4 měsíci

    it is useless in my country

    • @sudoSecurity
      @sudoSecurity  Před 4 měsíci

      why?

    • @Nobody-eg4bi
      @Nobody-eg4bi Před 4 měsíci

      @@sudoSecurity Because I cann't even register an account on openai. openai restricted my country but i'm using Llama in my daily uses & other open source AI

  • @in0ten0siti
    @in0ten0siti Před 6 měsíci

    Wast of time....

  • @jamieevans5979
    @jamieevans5979 Před 5 měsíci

    Wtf? You think hackers should exchange their command line input with the powers trying to oversee infosec? Oh cmon

    • @sudoSecurity
      @sudoSecurity  Před 5 měsíci

      It's for beginners in the area of pentesting. On top of that, you should not use this for illegal purposes.

  • @Roqztar1
    @Roqztar1 Před 4 měsíci

    for me there is "no such file or directory: /.local/bin" - I created a directory called bin in .local but this one's just empty then :D any help appreciated

    • @sudoSecurity
      @sudoSecurity  Před 4 měsíci +1

      The directory .local should already be on your computer.

    • @Roqztar1
      @Roqztar1 Před 4 měsíci

      @@sudoSecurityyes, but /bin isn‘t

  • @valentinolikesukeee7777
    @valentinolikesukeee7777 Před 5 měsíci

    Are you making also Videos in German?

  • @amuhammet
    @amuhammet Před 4 měsíci

    cd ~/.local/bin command returns with cant find path '/home/kali/~/.local/bin'

  • @laszlob3683
    @laszlob3683 Před 2 měsíci

    bash: cd: /root/.local/bin: No such file or directory

    • @sudoSecurity
      @sudoSecurity  Před 2 měsíci

      czcams.com/video/bqSFxDI2DFk/video.html