Skip to content

Instantly share code, notes, and snippets.

View JPShag's full-sized avatar
🤔
Focused

vcpu JPShag

🤔
Focused
View GitHub Profile
@JPShag
JPShag / gist:f08880e534bc16658fa2ccaac6a541d8
Created August 17, 2025 20:21
dogshit gemini.goole.com to api
import requests
url = 'https://gemini.google.com/_/BardChatUi/data/assistant.lamda.BardFrontendService/StreamGenerate?bl=boq_assistant-bard-web-server_20250814.06_p1&f.sid=-3000860039174278335'
# The Cookie is the most important. Copy these from your browser
headers = {
'Host': 'gemini.google.com',
'Cookie': 'PASTE_YOUR_ENTIRE_COOKIE_STRING_HERE',
'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8',
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36',
'X-Same-Domain': '1'
Home/Core TX9XD-98N7V-6WMQ6-BX7FG-H8Q99
Home/Core (Country Specific) PVMJN-6DFY6-9CCP6-7BKTT-D3WVR
Home/Core (Single Language) 7HNRX-D7KGG-3K4RQ-4WPJ4-YTDFH
Home/Core N 3KHY7-WNT83-DGQKR-F7HPR-844BM
Professional W269N-WFGWX-YVC9B-4J6C9-T83GX
Professional N MH37W-N47XK-V7XM9-C7227-GCQG9
Professional Enterprise
Professional Workstation
Enterprise NPPR9-FWDCX-D2C8J-H872K-2YT43
Enterprise N DPH2V-TTNVB-4X9Q3-TJR4H-KHJW4
@JPShag
JPShag / drvscan.cpp
Created September 8, 2022 02:52 — forked from adrianyy/drvscan.cpp
vulnerable driver scanner
#include <string>
#include <vector>
#include <fstream>
#include <iostream>
#include <filesystem>
#include <Windows.h>
#include <winternl.h>
static_assert( sizeof( void* ) == 8 );