Skip to content

Instantly share code, notes, and snippets.

@Phantomn
Phantomn / function.md
Created November 27, 2025 03:32 — forked from CypherpunkSamurai/function.md
Google Antigravity Prompts

functions

"tools": [
  {
    "functionDeclarations": [
      {
        "name": "browser_subagent",
        "description": "Start a browser subagent to perform actions in the browser with the given task description. The subagent has access to tools for both interacting with web page content (clicking, typing, navigating, etc) and controlling the browser window itself (resizing, etc). Please make sure to define a clear condition to return on. After the subagent returns, you should read the DOM or capture a screenshot to see what it did. Note: All browser interactions are automatically recorded and saved as WebP videos to the artifacts directory. This is the ONLY way you can record a browser session video/animation. IMPORTANT: if the subagent returns that the open_browser_url tool failed, there is a browser issue that is out of your control. You MUST ask the user how to proceed and use the suggested_responses tool.",
CVEs:
• http://blog.ptsecurity.com/2020/03/cve-2019-18683-exploiting-linux-kernel.html
Exploiting a Linux kernel vuln. in the V4L2 subsystem (CVE-2019-18683).
• https://google.github.io/security-research/pocs/linux/cve-2021-22555/writeup.html
Turning \x00\x00 into 10000$ (CVE-2021-22555).
• https://coreruleset.org/20210630/cve-2021-35368-crs-request-body-bypass/
CRS Request Body Bypass (CVE-2021-35368).
@afmiguez
afmiguez / wsl-kvm.sh
Last active November 7, 2025 07:54
Script to enable KVM in WSL2
#Fully based on https://boxofcables.dev/accelerated-kvm-guests-on-wsl-2/
if [ -z "$1" ]
then
echo "Must supply your Windows 10 username"
exit
fi
WIN_USERNAME=$1
#package updates and installations
@stypr
stypr / iptime_wol.py
Created February 13, 2018 07:12
iptime WOL in python
#!/usr/bin/python -u
#-*- coding: utf-8 -*-
# Developer: Harold Kim([email protected])
import os
import sys
import re
import requests
class iptime:
@Jim-Holmstroem
Jim-Holmstroem / d2s_checksum.py
Last active January 31, 2024 00:54
Checksum for diablo 2 files .d2s in python (todo insert the checksum into the file)
import numpy as np
"""
code to replicate:
static int d2charsave_checksum(unsigned char const *data, unsigned int len, unsigned int offset)
{
int checksum;
unsigned int i;
unsigned int ch;