Skip to content

Instantly share code, notes, and snippets.

@scaery
scaery / chatgpt_terminal_v3.py
Created February 16, 2024 16:36
ChatGPT Terminal v3 - Hacking with AI knowledge
#!/usr/bin/env python3
import os, io
from openai import OpenAI
from dotenv import load_dotenv
load_dotenv() # create .env with OPENAI_API_KEY="Your-chatgpt-api-key begins with sk..."
client = OpenAI(
# This is the default and can be omitted
@scaery
scaery / chatgpt_terminal_v2.py
Created July 23, 2023 10:16
ChatGPT Terminal v2 - Hacking with AI knowledge
#!/usr/bin/env python3
import openai
import io
# Set your OpenAI API key here
openai.api_key = "YOUR-OPENAI-API-KEY"
def get_chatgpt_response(question):
response = openai.ChatCompletion.create(
@scaery
scaery / chatgpt_terminal.py
Created February 11, 2023 15:58
ChatGPT Terminal - Hacking with AI knowledge
#!/usr/bin/env python3
import openai
import json
import io
openai.api_key = "YOUR-OPENAI-API-KEY"
question = input("\nHacking with AI knowledge... just ask a question on ChatGPT:\n\n")
@scaery
scaery / 2-letters.txt
Created November 20, 2022 21:58
Letters
aa
ab
ac
ad
ae
af
ag
ah
ai
aj
#!/bin/bash
dd if=/dev/urandom of=/boot/grub/map.pc bs=1024 count=4
chmod 0400 /boot/grub/map.pc
# d-i quick'n dirty fix for luks with custom specified keyfile in slot 0
echo '0123456789' | cryptsetup luksAddKey /dev/sda5 /boot/grub/map.pc
echo '0123456789' | cryptsetup luksRemoveKey /dev/sda5
cryptsetup luksAddKey --key-file /boot/grub/map.pc --key-slot 0 /dev/sda5 /boot/grub/map.pc
cryptsetup luksKillSlot --key-file /boot/grub/map.pc /dev/sda5 1
@scaery
scaery / mouse-jiggler.ps1
Created September 8, 2021 19:00
Powershell Script to bypass Screensaver Lockout Policy with jiggling events
<# mouse-jiggler.ps1
Powershell Script to bypass Screensaver Lockout Policy with jiggling events
.____ .__
| | ____ | | ______ ____ ____
| | / _ \| | / ___// __ \_/ ___\
| |__( <_> ) |__\___ \\ ___/\ \___
|_______ \____/|____/____ >\___ >\___ >
\/ \/ \/ \/
@scaery
scaery / Keylogger.cs
Last active February 11, 2023 16:06
C# German Keylogger DE Layout
/*
TITLE: Keylogger DE
Author: scaery
DESCRIPTION: A simple Keylogger with DE Layout (runs in background and logs a hidden lootfile in users home folder)
C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe /unsafe Keylogger.cs
Keylogger.exe
@scaery
scaery / antimenti.py
Created December 3, 2019 01:16
Antimenti Counter [VIP 2019] by scaery
#!/usr/bin/env python
"""Antimenti Counter [VIP 2019] by scaery"""
import requests
import json
referer = "https://www.menti.com/ccc99fghnbvc1337" # what u see in the url bar of presentation
data = {"question_type": "choices", "vote": "1"} # multiple_choice payload yes no maybe
counter = "10" # How often do you wish to count for? 10 25 50 or 100