API key NOT working? FIX the Shell GPT API key error!

Sdílet
Vložit
  • čas přidán 1. 06. 2024
  • Many of you who have watched my video on how to use Shell GPT asked me the following question: I failed to authorize a key for sgpt, how can I re-enter it? In this video I show you, how to fix this issue.
    #chatgpt #shellgpt #pentesting
    Commands used in this video
    ► nano /home/kali/.config/shell_gpt/.sgptrc
    Edit the line containing 'OPENAI_API_KEY'.
    ► CTRL+S
    ► CTRL+X

Komentáře • 54

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

    Thank you this really helped me out!

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

      I'm glad to read that! You're welcome :)

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

    perfecto genio , horas buscado MUCHAS GRACIAS , super solución , THANKS

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

    Hi Florian erstmal RESPEKT für deine Arbeit, mein Problem mit dem API KEY besteht darin das meine Mobilfunk Nummer Zwei stück an der zahl wären angeblich beide mit einem bereits bestehenden Konto verknüpft und deshalb wird mir ein paid plan vorgeschlagen. Wo ist da der Fehler ? Hab einfach mal auf continue gedrückt, hoffe das ist damit erledigt, obwohl da etwas von test key stand, mal abwarten.

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

      Hast du die Nummern noch nicht verwendet? Dann müsstest du den Support von OpenAI anschreiben, denn wenn die deine Nummer bereits im Hintergrund registriert haben, kannst du da relativ wenig machen :/

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

    What version of chatgpt can shell-gpt work with?
    I have gpt3.5, but shell-gpt came up with error message .

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

      Same

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

      What error message?

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

      Edit DEFAULT_MODEL value to gpt-3.5-turbo-0125. DEFAULT_MODEL=gpt-3.5-turbo-0125

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

    I get huge error message when I type - python sgpt "hello"
    Traceback(most recent call last) shows locals containing role, role_class, etc.

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

      Http error 404 not found for url

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

    mjne puts out 429 client error everytime and it says too many request when i only made one. i set my api key as an emvironment variable . same response
    then i found this video and put a new api key in the /home/kali/.config/shell_gpt/.sgptrc file and i still get the same 429 client error
    help?!

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

      You're sending too many requests to the API, that is what 429 means.
      VPN?!

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

      I have same problem and I don’t use vpn

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

      i dont use vpn... and i never used openai api. Can u please Help me to fix it?
      @@sudoSecurity

    • @WallE7
      @WallE7 Před 9 dny

      Same problem here no vpn and still get the error 429 even if I create a new api key. Is it virtual box?

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

    How about error 404 doesn't exist or you dont have connection with gpt-4-1106-preview, what should I do?

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

    please help, i'm using parrot with debian, how to change my API because when i put the API it does not works

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

      This solution should. Try using another OS otherwise.

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

    but i dont have shell_gpt in kali lunix
    i cant find this file

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

    we neeed video explains all the process installing chat gpt api from a to z
    please

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

      It's not that hard. Simply visit OpenAIs website and and follow the steps ...

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

      can you please provide me with the link @@sudoSecurity

  • @learnacademy-Settat
    @learnacademy-Settat Před 6 měsíci

    the nano file is empty when I open it

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

      That means you did't really open an existing file, you just created a new one.

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

    What abaut 429 error?

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

    No such a file sgpt error msg 😢

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

      You try to access sgpt which does not exist on your system.

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

      @@sudoSecurity already followed all steps.

  • @LeoNux-um7tg
    @LeoNux-um7tg Před 5 měsíci

    shell-gpt doesn't work anymore

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

    It says the directory doesn't exist
    Edit: Nevermind I figured it out

  • @MDJahirulIslam-qp6hq
    @MDJahirulIslam-qp6hq Před 3 měsíci

    Thankyou 🌟💚🌟🌟💚🌟💙🌟
    🌟💚💚💚💚🌟💚🌟
    🌟💚🌟🌟💚🌟💚🌟

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

    still same problem for me :/ Sad Life. (You sound german btw)

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

      Oh, that's bad :( Have you tried opening the file as sudo? Did you double check the file? Maybe the key is invalid. What's the exact error message?
      ( I am German. This is my main channel youtube.de/@Florian.Dalwigk )

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

      double checkk but still same problem it said too many requests for url and gave me link that said invalid key tho i made muliple keys and still didnt work
      @@sudoSecurity

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

    I think half of these people are installing it on rolling kali linux from a windows VM. mine is blank as well.

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

    I got this [ Directory '/home/kali/.config/shell_gpt' does not exist

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

      Then you made a mistake while installation

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

      @@sudoSecurity im trying again.

    • @NishaNepali-ht6id
      @NishaNepali-ht6id Před 5 měsíci

      @@scorpioqueen9925 try nano .config/shell_gpt/.sgptrc

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

      @@sudoSecurity I found it. you typed it wrong. It should be nano ~/.config/shell_gpt/sgptrc