en
Feedback
Learn

Learn

Open in Telegram

Best Learning Channel In Telegram You can learn everything in free Knowledge is important and don't be selfish @Learn_GHA_Bot Group Chat : https://t.me/Learn_Group_Chat

Show more
626
Subscribers
+124 hours
+177 days
+5530 days
Posts Archive
ChatGPT in Java
import java.net.HttpURLConnection;
import java.net.URL;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.DataOutputStream;
import java.io.InputStreamReader;
import java.nio.charset.StandardCharsets;
import java.util.HashMap;
import java.util.Map;
import java.util.Scanner;


public class HttpRequestMultipleHeadersExample {

    public static void main(String[] args) throws Exception {
        while (true){
            chatWithGPT();
        }
    }

    public static void chatWithGPT() throws Exception{
        String url = "https://api.openai.com/v1/chat/completions";
        URL obj = new URL(url);
        HttpURLConnection con = (HttpURLConnection) obj.openConnection();

        // set request method
        con.setRequestMethod("POST");

        // set custom headers
        con.setRequestProperty("Content-Type", "application/json");
        con.setRequestProperty("Authorization", "Bearer sk-......");


         // create a Scanner object to read input from the console
         Scanner scanner = new Scanner(System.in);

         // prompt the user to enter a string
         System.out.print("😋: ");
 
         // read the user's input as a string
         String question = scanner.nextLine();

        // set request body
        String requestBody = "{\"model\": \"gpt-3.5-turbo\", \"messages\": [{\"role\": \"user\", \"content\": \"" + question + "\"}]}";
        con.setDoOutput(true);
        DataOutputStream out = new DataOutputStream(con.getOutputStream());
        out.writeBytes(requestBody);
        out.flush();
        out.close();

        int responseCode = con.getResponseCode();
        // System.out.println("Response Code : " + responseCode);

        BufferedReader in = new BufferedReader(new InputStreamReader(con.getInputStream()));
        String inputLine;
        StringBuffer response = new StringBuffer();
        while ((inputLine = in.readLine()) != null) {
            response.append(inputLine);
        }
        in.close();

        // System.out.println("Response Body : " + response.toString());


        // parse response body as a JSON object
        String jsonString = response.toString();
        int contentIndex = jsonString.indexOf("\"content\":");
        String contentValue = jsonString.substring(contentIndex + "\"content\":".length() + 1, jsonString.indexOf("\"", contentIndex + "\"content\":".length() + 2));
        System.out.print("🤖: " + contentValue);
        System.out.println("\n");
    }
   
}
Just simply add your api key and that's done, get if from: https://platform.openai.com/account/api-keys I wrote this alternative of ChatGPT in Java, it's not really a good way, but also get the same output, u can implement and change it in your app or mod menu and when u play hack, u can chat with ChatGPT 😂

Unity Esp Auto Update Only For UnityEngine (IL2CPP) Dirty codes Line Box Health Distance RGB Credit : @itsme_ryuuki

#include <CkUpload.h>

void ChilkatSample(void)
    {
    CkUpload upload;

    // Specify the page (ASP, ASP.NET, Perl, Python, Ruby, CGI, etc)
    // that will receive and process the HTTP Upload.
    upload.put_Hostname("www.mywebserver.com");
    upload.put_Path("/receiveUpload.aspx");

    // Add one or more files to be uploaded.
    upload.AddFileReference("file1","dude.gif");
    upload.AddFileReference("file2","swordfish.xml");
    upload.AddFileReference("file3","sample.doc");

    // Do the upload.  The method returns when the upload
    // is completed.
    // This component also includes asynchronous upload capability,
    // which is demonstrated in another example.
    bool success = upload.BlockingUpload();
    if (success != true) {
        std::cout << upload.lastErrorText() << "\r\n";
    }
    else {
        std::cout << "Files uploaded!" << "\r\n";
    }
    }
File uploader in C++ Download Chilkat library : https://www.example-code.com/cpp/upload_blocking.asp

File downloader in c++ Credits @Faulty_xD Join for more : @Akatski_Leaks @Akatski_Leaks @Akatski_Leaks

Library Verifier. Verify whether your native library (lib.so) is tampered or not. If you don't know how to generate ALGORITHM of your native library then use THIS website.. { this verifier can be used in Apk's as well as in ModApks...(Java based) } Credits @Faulty_xD Share and support us..... Join for more @Akatski_Leaks @Akatski_Leaks Share with credits.

+1
Signature Verifiers . Here is powerful signature verification written in c++ and integrated in java. You can use this in your Apk's as well as in Mod Apks (java based). coz imgui is shit for me lol ~ Only for developers who actually have knowledge of development xD. Note : don't dm me asking how to use this , its simple implementation af. Share and support us : @Akatski_Leaks @Akatski_Leaks Credits : @Faulty_xD Share with credits..

For Those Who Want Signature Check In Their Source Code. Its just a simple method of signature checking. Join For More @Akatski_Leaks Share with proper credits. Credits To @Faulty_xD

🐹imGui New Menu Ui 🖥This source code only contains ui add your hacks your-self. Different ui in whole tg i guess.Ui Preview ✅Share With Credits. Join For More @Akatski_Leaks Join For More @Akatski_Leaks Share And Support Us ❤️

Android-SSL-unpinning Simple python script which patches Android APK file to bypass SSL-pinning. How To Use? : python patch.py com.apk.file.to.patch.apk # Patched APK file: com.apk.file.to.patch.repack-aligned-debugSigned.apk will be generated Requirements : • Python3 • Java Join For More : @Akatski_Leaks @Akatski_Leaks @Akatski_Leaks Credits : @Faulty_xD (This project is not officially by me i just fixed some codes and bugs. Original authors credit is inside source.) Share With Credits

norka (raze mods).zip3.06 MB

photo content

mod menu ❤️‍🔥❤️❤️‍🔥❤️❤️‍🔥❤️❤️‍🔥❤️❤️‍🔥❤️❤️‍🔥❤️❤️‍🔥❤️ автор @razemods автор @razemods ❤️❤️‍🔥❤️❤️‍🔥❤️❤️‍🔥❤️‍🔥❤️❤️‍🔥❤️❤️❤️‍🔥❤️❤️‍🔥 сурс похожий на грейпа

надо вам такое?
надо вам такое?

Just coded a ChatGpt Script using ChatGpt Api
import openai


# Use your openai api key (https://platform.openai.com/account/api-keys)
openai.api_key = "sk-..."

MODEL = "gpt-3.5-turbo"

# see https://platform.openai.com/account/usage for the free api trial usage remaining

# Set up the basic role for ChatGPT
messages=[{"role": "system", "content": "You are a helpful assistant, and you will correctly answer all my questions."}]


# Ask ChatGPT question and get reply
def chat_with_ChatGPT():

    # Input the question
    my_question = input("😄 : ") 

    # It will append to the messages list as a user role (your question)
    messages.append({"role": "user", "content": my_question})

    # Ask ChatGPT and get reply
    response = openai.ChatCompletion.create(model=MODEL, messages= messages)

    # It will return as a key, value pair and now just get the reply
    reply_message = response['choices'][0]['message']['content']
    total_tokens = response['usage']['total_tokens']
    messages.append({"role": "assistant", "content": reply_message})

    # print("total token:", total_tokens)
    print("🤖 :", reply_message)
    print('')
    

while True:
   chat_with_ChatGPT()

Repost from N/a
Just coded a ChatGpt Script using ChatGpt Api
import openai


# Use your openai api key (https://platform.openai.com/account/api-keys)
openai.api_key = "sk-..."

MODEL = "gpt-3.5-turbo"

# see https://platform.openai.com/account/usage for the free api trial usage remaining

# Set up the basic role for ChatGPT
messages=[{"role": "system", "content": "You are a helpful assistant, and you will correctly answer all my questions."}]


# Ask ChatGPT question and get reply
def chat_with_ChatGPT():

    # Input the question
    my_question = input("😄 : ") 

    # It will append to the messages list as a user role (your question)
    messages.append({"role": "user", "content": my_question})

    # Ask ChatGPT and get reply
    response = openai.ChatCompletion.create(model=MODEL, messages= messages)

    # It will return as a key, value pair and now just get the reply
    reply_message = response['choices'][0]['message']['content']
    total_tokens = response['usage']['total_tokens']
    messages.append({"role": "assistant", "content": reply_message})

    # print("total token:", total_tokens)
    print("🤖 :", reply_message)
    print('')
    

while True:
   chat_with_ChatGPT()

+2
📝 HOW TO BUILD & ADD IMGUI SRC INTO BGMI (STILL WORKS) 📝 ✔️ FOLLOW ALL STEPS ♾ CREDITS : @LEAKERHUB ❗️ SHARE WITH CREDITS TO NOT GET FUC*ED ➡️ ᴊᴏɪɴ : @LeakerHub ➡️ ᴊᴏɪɴ : @ChaiPiloGuyz ➡️ ᴊᴏɪɴ : @XsCheats

🛡 Dark randi panel files leaked again by his father ( @J8rvis ) ➡️ Username ( for SQL ) : Owner 😉 Password ( for SQL ) : 278mfz9bcy ⭐️ UI/UX : [https://t.me/jarvisleaks/23?single] ♾ Panel Features : |-----> Online System |-----> Highest Security For Admin(Real Meaning of Admin) |-----> Unlimited Balance (Saldo) |-----> Balance Free Top-up For Admins & Resellers as Unlimited |-----> Bulk Key Generation (2 - 10k in a second) |-----> Un-Used Key Delete |-----> Used Key (Expired Key) Delete |-----> All Keys Delete |-----> Key Download |----->  Online LIB (New | Trending 🎁) |-----> Total Key Count |-----> Total Used Key Count |-----> Total Un-Used Key Count |-----> Total User Count |-----> Total Blocked User Count |-----> Total Admin Count |-----> Total Reseller Count |-----> Fastest Connection |-----> High Speed Networking 🦢 Password ( file's password ) : [Click here to get password] 💎 How to open link: https://t.me/How2_openLink/2 [ just follow the same process on my link ;) ] ✅ Credits : @JarvisLeaks & @KingnamanOp 🗿  Share with credits else you will be fucked by me ✅ Share & Support Us ~ 🌐 @JarvisLeaks 🌐 @JarvisLeaks 🌐 @JarvisLeaks 🌐 @JarvisLeaks